@kudoai/chatgpt.js 2.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (233) hide show
  1. package/LICENSE +21 -0
  2. package/chatgpt.js +2060 -0
  3. package/dist/chatgpt-2.6.3.min.js +1 -0
  4. package/docs/.nojekyll +0 -0
  5. package/docs/CNAME +1 -0
  6. package/docs/README.md +324 -0
  7. package/docs/SECURITY.md +25 -0
  8. package/docs/USERGUIDE.md +1814 -0
  9. package/docs/_coverpage.md +16 -0
  10. package/docs/_utils/LICENSE.md +21 -0
  11. package/docs/_utils/minify.js +50 -0
  12. package/docs/assets/docsify/cursors/futuristic/pointer.cur +0 -0
  13. package/docs/assets/docsify/favicons/favicon16.png +0 -0
  14. package/docs/assets/docsify/favicons/favicon320.png +0 -0
  15. package/docs/assets/docsify/favicons/favicon48.png +0 -0
  16. package/docs/assets/docsify/favicons/favicon64.png +0 -0
  17. package/docs/assets/docsify/fonts/eurostile-extended-black/EurostileExtendedBlack.otf +0 -0
  18. package/docs/assets/docsify/fonts/eurostile-extended-black/EurostileExtendedBlack.ttf +0 -0
  19. package/docs/assets/docsify/fonts/eurostile-extended-black/EurostileExtendedBlack.woff +0 -0
  20. package/docs/assets/docsify/fonts/eurostile-extended-black/EurostileExtendedBlack.woff2 +0 -0
  21. package/docs/assets/docsify/fonts/ibm-plex-mono/OFL.txt +93 -0
  22. package/docs/assets/docsify/fonts/ibm-plex-mono/otf/IBMPlexMono-Bold.otf +0 -0
  23. package/docs/assets/docsify/fonts/ibm-plex-mono/otf/IBMPlexMono-BoldItalic.otf +0 -0
  24. package/docs/assets/docsify/fonts/ibm-plex-mono/otf/IBMPlexMono-ExtraLight.otf +0 -0
  25. package/docs/assets/docsify/fonts/ibm-plex-mono/otf/IBMPlexMono-ExtraLightItalic.otf +0 -0
  26. package/docs/assets/docsify/fonts/ibm-plex-mono/otf/IBMPlexMono-Italic.otf +0 -0
  27. package/docs/assets/docsify/fonts/ibm-plex-mono/otf/IBMPlexMono-Light.otf +0 -0
  28. package/docs/assets/docsify/fonts/ibm-plex-mono/otf/IBMPlexMono-LightItalic.otf +0 -0
  29. package/docs/assets/docsify/fonts/ibm-plex-mono/otf/IBMPlexMono-Medium.otf +0 -0
  30. package/docs/assets/docsify/fonts/ibm-plex-mono/otf/IBMPlexMono-MediumItalic.otf +0 -0
  31. package/docs/assets/docsify/fonts/ibm-plex-mono/otf/IBMPlexMono-Regular.otf +0 -0
  32. package/docs/assets/docsify/fonts/ibm-plex-mono/otf/IBMPlexMono-SemiBold.otf +0 -0
  33. package/docs/assets/docsify/fonts/ibm-plex-mono/otf/IBMPlexMono-SemiBoldItalic.otf +0 -0
  34. package/docs/assets/docsify/fonts/ibm-plex-mono/otf/IBMPlexMono-Thin.otf +0 -0
  35. package/docs/assets/docsify/fonts/ibm-plex-mono/otf/IBMPlexMono-ThinItalic.otf +0 -0
  36. package/docs/assets/docsify/fonts/ibm-plex-mono/ttf/IBMPlexMono-Bold.ttf +0 -0
  37. package/docs/assets/docsify/fonts/ibm-plex-mono/ttf/IBMPlexMono-BoldItalic.ttf +0 -0
  38. package/docs/assets/docsify/fonts/ibm-plex-mono/ttf/IBMPlexMono-ExtraLight.ttf +0 -0
  39. package/docs/assets/docsify/fonts/ibm-plex-mono/ttf/IBMPlexMono-ExtraLightItalic.ttf +0 -0
  40. package/docs/assets/docsify/fonts/ibm-plex-mono/ttf/IBMPlexMono-Italic.ttf +0 -0
  41. package/docs/assets/docsify/fonts/ibm-plex-mono/ttf/IBMPlexMono-Light.ttf +0 -0
  42. package/docs/assets/docsify/fonts/ibm-plex-mono/ttf/IBMPlexMono-LightItalic.ttf +0 -0
  43. package/docs/assets/docsify/fonts/ibm-plex-mono/ttf/IBMPlexMono-Medium.ttf +0 -0
  44. package/docs/assets/docsify/fonts/ibm-plex-mono/ttf/IBMPlexMono-MediumItalic.ttf +0 -0
  45. package/docs/assets/docsify/fonts/ibm-plex-mono/ttf/IBMPlexMono-Regular.ttf +0 -0
  46. package/docs/assets/docsify/fonts/ibm-plex-mono/ttf/IBMPlexMono-SemiBold.ttf +0 -0
  47. package/docs/assets/docsify/fonts/ibm-plex-mono/ttf/IBMPlexMono-SemiBoldItalic.ttf +0 -0
  48. package/docs/assets/docsify/fonts/ibm-plex-mono/ttf/IBMPlexMono-Thin.ttf +0 -0
  49. package/docs/assets/docsify/fonts/ibm-plex-mono/ttf/IBMPlexMono-ThinItalic.ttf +0 -0
  50. package/docs/assets/docsify/fonts/ibm-plex-mono/woff/IBMPlexMono-Bold.woff +0 -0
  51. package/docs/assets/docsify/fonts/ibm-plex-mono/woff/IBMPlexMono-BoldItalic.woff +0 -0
  52. package/docs/assets/docsify/fonts/ibm-plex-mono/woff/IBMPlexMono-ExtraLight.woff +0 -0
  53. package/docs/assets/docsify/fonts/ibm-plex-mono/woff/IBMPlexMono-ExtraLightItalic.woff +0 -0
  54. package/docs/assets/docsify/fonts/ibm-plex-mono/woff/IBMPlexMono-Italic.woff +0 -0
  55. package/docs/assets/docsify/fonts/ibm-plex-mono/woff/IBMPlexMono-Light.woff +0 -0
  56. package/docs/assets/docsify/fonts/ibm-plex-mono/woff/IBMPlexMono-LightItalic.woff +0 -0
  57. package/docs/assets/docsify/fonts/ibm-plex-mono/woff/IBMPlexMono-Medium.woff +0 -0
  58. package/docs/assets/docsify/fonts/ibm-plex-mono/woff/IBMPlexMono-MediumItalic.woff +0 -0
  59. package/docs/assets/docsify/fonts/ibm-plex-mono/woff/IBMPlexMono-Regular.woff +0 -0
  60. package/docs/assets/docsify/fonts/ibm-plex-mono/woff/IBMPlexMono-SemiBold.woff +0 -0
  61. package/docs/assets/docsify/fonts/ibm-plex-mono/woff/IBMPlexMono-SemiBoldItalic.woff +0 -0
  62. package/docs/assets/docsify/fonts/ibm-plex-mono/woff/IBMPlexMono-Thin.woff +0 -0
  63. package/docs/assets/docsify/fonts/ibm-plex-mono/woff/IBMPlexMono-ThinItalic.woff +0 -0
  64. package/docs/assets/docsify/fonts/ibm-plex-mono/woff2/IBMPlexMono-Bold.woff2 +0 -0
  65. package/docs/assets/docsify/fonts/ibm-plex-mono/woff2/IBMPlexMono-BoldItalic.woff2 +0 -0
  66. package/docs/assets/docsify/fonts/ibm-plex-mono/woff2/IBMPlexMono-ExtraLight.woff2 +0 -0
  67. package/docs/assets/docsify/fonts/ibm-plex-mono/woff2/IBMPlexMono-ExtraLightItalic.woff2 +0 -0
  68. package/docs/assets/docsify/fonts/ibm-plex-mono/woff2/IBMPlexMono-Italic.woff2 +0 -0
  69. package/docs/assets/docsify/fonts/ibm-plex-mono/woff2/IBMPlexMono-Light.woff2 +0 -0
  70. package/docs/assets/docsify/fonts/ibm-plex-mono/woff2/IBMPlexMono-LightItatlic.woff2 +0 -0
  71. package/docs/assets/docsify/fonts/ibm-plex-mono/woff2/IBMPlexMono-Medium.woff2 +0 -0
  72. package/docs/assets/docsify/fonts/ibm-plex-mono/woff2/IBMPlexMono-MediumItalic.woff2 +0 -0
  73. package/docs/assets/docsify/fonts/ibm-plex-mono/woff2/IBMPlexMono-Regular.woff2 +0 -0
  74. package/docs/assets/docsify/fonts/ibm-plex-mono/woff2/IBMPlexMono-SemiBold.woff2 +0 -0
  75. package/docs/assets/docsify/fonts/ibm-plex-mono/woff2/IBMPlexMono-SemiBoldItalic.woff2 +0 -0
  76. package/docs/assets/docsify/fonts/ibm-plex-mono/woff2/IBMPlexMono-Thin.woff2 +0 -0
  77. package/docs/assets/docsify/fonts/ibm-plex-mono/woff2/IBMPlexMono-ThinItalic.woff2 +0 -0
  78. package/docs/assets/docsify/fonts/major-mono-display/MajorMonoDisplay-Regular.otf +0 -0
  79. package/docs/assets/docsify/fonts/major-mono-display/MajorMonoDisplay-Regular.ttf +0 -0
  80. package/docs/assets/docsify/fonts/major-mono-display/MajorMonoDisplay-Regular.woff +0 -0
  81. package/docs/assets/docsify/fonts/major-mono-display/MajorMonoDisplay-Regular.woff2 +0 -0
  82. package/docs/assets/docsify/fonts/major-mono-display/OFL.txt +93 -0
  83. package/docs/assets/docsify/fonts/polysans-neutral/PolySansNeutral.eot +0 -0
  84. package/docs/assets/docsify/fonts/polysans-neutral/PolySansNeutral.ttf +0 -0
  85. package/docs/assets/docsify/fonts/polysans-neutral/PolySansNeutral.woff +0 -0
  86. package/docs/assets/docsify/fonts/polysans-neutral/PolySansNeutral.woff2 +0 -0
  87. package/docs/assets/docsify/html/footer.html +23 -0
  88. package/docs/assets/docsify/js/min/back-to-top-button.min.js +1 -0
  89. package/docs/assets/docsify/js/min/copy-code-button.min.js +1 -0
  90. package/docs/assets/docsify/js/min/onload-hacks.min.js +3 -0
  91. package/docs/assets/docsify/js/min/starry-background.min.js +1 -0
  92. package/docs/assets/docsify/js/src/back-to-top-button.js +64 -0
  93. package/docs/assets/docsify/js/src/copy-code-button.js +91 -0
  94. package/docs/assets/docsify/js/src/onload-hacks.js +613 -0
  95. package/docs/assets/docsify/js/src/starry-background.js +111 -0
  96. package/docs/assets/docsify/styles/css/style.min.css +1 -0
  97. package/docs/assets/docsify/styles/css/style.min.css.map +1 -0
  98. package/docs/assets/docsify/styles/scss/style.scss +510 -0
  99. package/docs/assets/separators/aqua.png +0 -0
  100. package/docs/de/LICENSE.md +29 -0
  101. package/docs/de/README.md +324 -0
  102. package/docs/de/SECURITY.md +25 -0
  103. package/docs/de/_coverpage.md +12 -0
  104. package/docs/es/LICENSE.md +29 -0
  105. package/docs/es/README.md +324 -0
  106. package/docs/es/SECURITY.md +25 -0
  107. package/docs/es/_coverpage.md +12 -0
  108. package/docs/fr/LICENSE.md +29 -0
  109. package/docs/fr/README.md +324 -0
  110. package/docs/fr/SECURITY.md +25 -0
  111. package/docs/fr/_coverpage.md +12 -0
  112. package/docs/hi/LICENSE.md +29 -0
  113. package/docs/hi/README.md +325 -0
  114. package/docs/hi/SECURITY.md +25 -0
  115. package/docs/hi/_coverpage.md +12 -0
  116. package/docs/index.html +91 -0
  117. package/docs/it/LICENSE.md +27 -0
  118. package/docs/it/README.md +324 -0
  119. package/docs/it/SECURITY.md +25 -0
  120. package/docs/it/_coverpage.md +12 -0
  121. package/docs/ja/LICENSE.md +29 -0
  122. package/docs/ja/README.md +324 -0
  123. package/docs/ja/SECURITY.md +25 -0
  124. package/docs/ja/_coverpage.md +12 -0
  125. package/docs/ko/LICENSE.md +32 -0
  126. package/docs/ko/README.md +329 -0
  127. package/docs/ko/SECURITY.md +25 -0
  128. package/docs/ko/_coverpage.md +12 -0
  129. package/docs/ne/LICENSE.md +35 -0
  130. package/docs/ne/README.md +325 -0
  131. package/docs/ne/SECURITY.md +25 -0
  132. package/docs/ne/_coverpage.md +12 -0
  133. package/docs/nl/LICENSE.md +29 -0
  134. package/docs/nl/README.md +324 -0
  135. package/docs/nl/SECURITY.md +25 -0
  136. package/docs/nl/_coverpage.md +12 -0
  137. package/docs/pt/LICENSE.md +29 -0
  138. package/docs/pt/README.md +324 -0
  139. package/docs/pt/SECURITY.md +25 -0
  140. package/docs/pt/_coverpage.md +12 -0
  141. package/docs/vi/LICENSE.md +29 -0
  142. package/docs/vi/README.md +324 -0
  143. package/docs/vi/SECURITY.md +25 -0
  144. package/docs/vi/_coverpage.md +12 -0
  145. package/docs/zh-cn/LICENSE.md +29 -0
  146. package/docs/zh-cn/README.md +324 -0
  147. package/docs/zh-cn/SECURITY.md +25 -0
  148. package/docs/zh-cn/_coverpage.md +12 -0
  149. package/docs/zh-tw/LICENSE.md +29 -0
  150. package/docs/zh-tw/README.md +323 -0
  151. package/docs/zh-tw/SECURITY.md +25 -0
  152. package/docs/zh-tw/_coverpage.md +12 -0
  153. package/package.json +54 -0
  154. package/starters/chrome/LICENSE +21 -0
  155. package/starters/chrome/docs/README.md +77 -0
  156. package/starters/chrome/docs/de/LICENSE.md +13 -0
  157. package/starters/chrome/docs/de/README.md +77 -0
  158. package/starters/chrome/docs/es/LICENSE.md +13 -0
  159. package/starters/chrome/docs/es/README.md +77 -0
  160. package/starters/chrome/docs/fr/LICENSE.md +13 -0
  161. package/starters/chrome/docs/fr/README.md +77 -0
  162. package/starters/chrome/docs/hi/LICENSE.md +13 -0
  163. package/starters/chrome/docs/hi/README.md +78 -0
  164. package/starters/chrome/docs/it/LICENSE.md +11 -0
  165. package/starters/chrome/docs/it/README.md +77 -0
  166. package/starters/chrome/docs/ja/LICENSE.md +13 -0
  167. package/starters/chrome/docs/ja/README.md +78 -0
  168. package/starters/chrome/docs/ko/LICENSE.md +16 -0
  169. package/starters/chrome/docs/ko/README.md +77 -0
  170. package/starters/chrome/docs/nl/LICENSE.md +13 -0
  171. package/starters/chrome/docs/nl/README.md +77 -0
  172. package/starters/chrome/docs/pt/LICENSE.md +13 -0
  173. package/starters/chrome/docs/pt/README.md +77 -0
  174. package/starters/chrome/docs/vi/LICENSE.md +13 -0
  175. package/starters/chrome/docs/vi/README.md +77 -0
  176. package/starters/chrome/docs/zh-cn/LICENSE.md +13 -0
  177. package/starters/chrome/docs/zh-cn/README.md +78 -0
  178. package/starters/chrome/docs/zh-tw/LICENSE.md +13 -0
  179. package/starters/chrome/docs/zh-tw/README.md +77 -0
  180. package/starters/chrome/extension/background.js +14 -0
  181. package/starters/chrome/extension/content.js +62 -0
  182. package/starters/chrome/extension/icons/icon128.png +0 -0
  183. package/starters/chrome/extension/icons/icon16.png +0 -0
  184. package/starters/chrome/extension/icons/icon32.png +0 -0
  185. package/starters/chrome/extension/icons/icon64.png +0 -0
  186. package/starters/chrome/extension/lib/chatgpt.js +2061 -0
  187. package/starters/chrome/extension/lib/settings-utils.js +24 -0
  188. package/starters/chrome/extension/manifest.json +24 -0
  189. package/starters/chrome/extension/popup/index.html +62 -0
  190. package/starters/chrome/extension/popup/popup.js +92 -0
  191. package/starters/chrome/extension/popup/style.css +55 -0
  192. package/starters/chrome/media/images/screenshots/chatgpt-extension-in-list.png +0 -0
  193. package/starters/chrome/media/images/screenshots/developer-mode-toggle.png +0 -0
  194. package/starters/chrome/media/images/screenshots/developer-mode-toggle.psd +0 -0
  195. package/starters/chrome/media/images/screenshots/extension-loaded.png +0 -0
  196. package/starters/chrome/media/images/screenshots/load-unpacked-button.png +0 -0
  197. package/starters/chrome/media/images/screenshots/reload-extension-button.png +0 -0
  198. package/starters/chrome/media/images/screenshots/reload-page-button.png +0 -0
  199. package/starters/chrome/media/images/screenshots/select-extension-folder.png +0 -0
  200. package/starters/docs/LICENSE.md +25 -0
  201. package/starters/docs/README.md +29 -0
  202. package/starters/docs/de/LICENSE.md +13 -0
  203. package/starters/docs/de/README.md +29 -0
  204. package/starters/docs/es/LICENSE.md +13 -0
  205. package/starters/docs/es/README.md +29 -0
  206. package/starters/docs/fr/LICENSE.md +13 -0
  207. package/starters/docs/fr/README.md +29 -0
  208. package/starters/docs/hi/LICENSE.md +13 -0
  209. package/starters/docs/hi/README.md +29 -0
  210. package/starters/docs/it/LICENSE.md +11 -0
  211. package/starters/docs/it/README.md +29 -0
  212. package/starters/docs/ja/LICENSE.md +13 -0
  213. package/starters/docs/ja/README.md +30 -0
  214. package/starters/docs/ko/LICENSE.md +16 -0
  215. package/starters/docs/ko/README.md +29 -0
  216. package/starters/docs/nl/LICENSE.md +13 -0
  217. package/starters/docs/nl/README.md +29 -0
  218. package/starters/docs/pt/LICENSE.md +13 -0
  219. package/starters/docs/pt/README.md +29 -0
  220. package/starters/docs/vi/LICENSE.md +13 -0
  221. package/starters/docs/vi/README.md +29 -0
  222. package/starters/docs/zh-cn/LICENSE.md +13 -0
  223. package/starters/docs/zh-cn/README.md +30 -0
  224. package/starters/docs/zh-tw/LICENSE.md +13 -0
  225. package/starters/docs/zh-tw/README.md +29 -0
  226. package/starters/greasemonkey/LICENSE +21 -0
  227. package/starters/greasemonkey/chatgpt.js-greasemonkey-starter.user.js +52 -0
  228. package/starters/greasemonkey/docs/README.md +7 -0
  229. package/starters/greasemonkey/media/images/icons/robot/icon48.png +0 -0
  230. package/starters/greasemonkey/media/images/icons/robot/icon64.png +0 -0
  231. package/starters/greasemonkey/media/images/screenshots/chatgpt-userscript-on.png +0 -0
  232. package/starters/media/images/icons/tampermonkey-icon28.png +0 -0
  233. package/starters/media/images/icons/violentmonkey-icon100.png +0 -0
@@ -0,0 +1,16 @@
1
+ <!-- _coverpage.md -->
2
+
3
+ <img class="logo" src="https://raw.githubusercontent.com/kudoai/chatgpt.js/main/media/images/chatgpt.js-logo-dark-mode-padded-7000x777.png">
4
+
5
+ <blockquote>
6
+ <p>
7
+ <span id="tagline-pre-adj">🤖 A </span><span id="tagline-adj">Award-winning|User friendly|Powerful|Feature-rich|Lightweight|Popular|Easy-to-use|Open source</span><span id="tagline-post-adj"> client-side JavaScript library for ChatGPT_</span>
8
+ </p>
9
+ </blockquote>
10
+
11
+ [GitHub](https://github.com/kudoai/chatgpt.js)
12
+ [Get Started](#âš¡-importing-the-library)
13
+
14
+ <!-- background color -->
15
+
16
+ ![color](transparent)
@@ -0,0 +1,21 @@
1
+ # MIT License
2
+
3
+ Copyright (c) 2023–2024 [Adam Lui](https://github.com/adamlui)
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,50 @@
1
+ /* ========================================================
2
+ Script: minify.js
3
+ Version: 2023.8.11
4
+ Description: Minify all JavaScript in a directory
5
+ Author: Adam Lui
6
+ URL: https://github.com/adamlui/js-utils
7
+ =========================================================== */
8
+
9
+ // Import libs
10
+ const fs = require('fs'),
11
+ path = require('path'),
12
+ uglifyJS = require('uglify-js');
13
+
14
+ // Init config
15
+ const inputDir = path.join(__dirname, '../assets/docsify/js/src'),
16
+ outputDir = path.join(__dirname, '../assets/docsify/js/min');
17
+
18
+ try { // to minify `inputDir` contents
19
+ if (!fs.existsSync(outputDir)) fs.mkdirSync(outputDir, { recursive: true });
20
+ minifyDirectory(inputDir, outputDir);
21
+ } catch (err) { console.error('Error occurred during minification:', err.message); }
22
+
23
+ // Define FUNCTIONS
24
+
25
+ // Check if a file is already minified
26
+ function isMinifiedFile(filename) { return filename.includes('.min.js'); }
27
+
28
+ // Minify a single file
29
+ function minifyFile(inputFilePath, outputFilePath) {
30
+ console.log(`Minifying: ${inputFilePath}`);
31
+ const code = fs.readFileSync(inputFilePath, 'utf8');
32
+ const minifiedCode = uglifyJS.minify(code).code;
33
+ fs.writeFileSync(outputFilePath, minifiedCode, 'utf8');
34
+ }
35
+
36
+ // Minify all files in a dir recursively
37
+ function minifyDirectory(inputDir, outputDir) {
38
+ fs.readdirSync(inputDir).forEach(file => {
39
+ const inputFilePath = path.join(inputDir, file);
40
+ const stats = fs.statSync(inputFilePath);
41
+ if (stats.isDirectory()) { // create corresponding output dir & continue minification
42
+ const newOutputDir = outputDir; // keep track of output dir at this level
43
+ fs.mkdirSync(newOutputDir, { recursive: true });
44
+ minifyDirectory(inputFilePath, newOutputDir);
45
+ } else if (stats.isFile() && file.endsWith('.js') && !isMinifiedFile(file)) { // proceed w/ minification
46
+ const minFileName = path.basename(file, '.js') + '.min.js',
47
+ minOutputFilePath = path.join(outputDir, minFileName);
48
+ minifyFile(inputFilePath, minOutputFilePath);
49
+ }
50
+ });}
@@ -0,0 +1,93 @@
1
+ Copyright © 2017 IBM Corp. with Reserved Font Name "Plex"
2
+
3
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
+ This license is copied below, and is also available with a FAQ at:
5
+ http://scripts.sil.org/OFL
6
+
7
+
8
+ -----------------------------------------------------------
9
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10
+ -----------------------------------------------------------
11
+
12
+ PREAMBLE
13
+ The goals of the Open Font License (OFL) are to stimulate worldwide
14
+ development of collaborative font projects, to support the font creation
15
+ efforts of academic and linguistic communities, and to provide a free and
16
+ open framework in which fonts may be shared and improved in partnership
17
+ with others.
18
+
19
+ The OFL allows the licensed fonts to be used, studied, modified and
20
+ redistributed freely as long as they are not sold by themselves. The
21
+ fonts, including any derivative works, can be bundled, embedded,
22
+ redistributed and/or sold with any software provided that any reserved
23
+ names are not used by derivative works. The fonts and derivatives,
24
+ however, cannot be released under any other type of license. The
25
+ requirement for fonts to remain under this license does not apply
26
+ to any document created using the fonts or their derivatives.
27
+
28
+ DEFINITIONS
29
+ "Font Software" refers to the set of files released by the Copyright
30
+ Holder(s) under this license and clearly marked as such. This may
31
+ include source files, build scripts and documentation.
32
+
33
+ "Reserved Font Name" refers to any names specified as such after the
34
+ copyright statement(s).
35
+
36
+ "Original Version" refers to the collection of Font Software components as
37
+ distributed by the Copyright Holder(s).
38
+
39
+ "Modified Version" refers to any derivative made by adding to, deleting,
40
+ or substituting -- in part or in whole -- any of the components of the
41
+ Original Version, by changing formats or by porting the Font Software to a
42
+ new environment.
43
+
44
+ "Author" refers to any designer, engineer, programmer, technical
45
+ writer or other person who contributed to the Font Software.
46
+
47
+ PERMISSION & CONDITIONS
48
+ Permission is hereby granted, free of charge, to any person obtaining
49
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
50
+ redistribute, and sell modified and unmodified copies of the Font
51
+ Software, subject to the following conditions:
52
+
53
+ 1) Neither the Font Software nor any of its individual components,
54
+ in Original or Modified Versions, may be sold by itself.
55
+
56
+ 2) Original or Modified Versions of the Font Software may be bundled,
57
+ redistributed and/or sold with any software, provided that each copy
58
+ contains the above copyright notice and this license. These can be
59
+ included either as stand-alone text files, human-readable headers or
60
+ in the appropriate machine-readable metadata fields within text or
61
+ binary files as long as those fields can be easily viewed by the user.
62
+
63
+ 3) No Modified Version of the Font Software may use the Reserved Font
64
+ Name(s) unless explicit written permission is granted by the corresponding
65
+ Copyright Holder. This restriction only applies to the primary font name as
66
+ presented to the users.
67
+
68
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
69
+ Software shall not be used to promote, endorse or advertise any
70
+ Modified Version, except to acknowledge the contribution(s) of the
71
+ Copyright Holder(s) and the Author(s) or with their explicit written
72
+ permission.
73
+
74
+ 5) The Font Software, modified or unmodified, in part or in whole,
75
+ must be distributed entirely under this license, and must not be
76
+ distributed under any other license. The requirement for fonts to
77
+ remain under this license does not apply to any document created
78
+ using the Font Software.
79
+
80
+ TERMINATION
81
+ This license becomes null and void if any of the above conditions are
82
+ not met.
83
+
84
+ DISCLAIMER
85
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
86
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
87
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
88
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
89
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
90
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
91
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
92
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
93
+ OTHER DEALINGS IN THE FONT SOFTWARE.
@@ -0,0 +1,93 @@
1
+ Copyright 2018 The Major Mono Project Authors (https://github.com/googlefonts/majormono)
2
+
3
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
+ This license is copied below, and is also available with a FAQ at:
5
+ http://scripts.sil.org/OFL
6
+
7
+
8
+ -----------------------------------------------------------
9
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10
+ -----------------------------------------------------------
11
+
12
+ PREAMBLE
13
+ The goals of the Open Font License (OFL) are to stimulate worldwide
14
+ development of collaborative font projects, to support the font creation
15
+ efforts of academic and linguistic communities, and to provide a free and
16
+ open framework in which fonts may be shared and improved in partnership
17
+ with others.
18
+
19
+ The OFL allows the licensed fonts to be used, studied, modified and
20
+ redistributed freely as long as they are not sold by themselves. The
21
+ fonts, including any derivative works, can be bundled, embedded,
22
+ redistributed and/or sold with any software provided that any reserved
23
+ names are not used by derivative works. The fonts and derivatives,
24
+ however, cannot be released under any other type of license. The
25
+ requirement for fonts to remain under this license does not apply
26
+ to any document created using the fonts or their derivatives.
27
+
28
+ DEFINITIONS
29
+ "Font Software" refers to the set of files released by the Copyright
30
+ Holder(s) under this license and clearly marked as such. This may
31
+ include source files, build scripts and documentation.
32
+
33
+ "Reserved Font Name" refers to any names specified as such after the
34
+ copyright statement(s).
35
+
36
+ "Original Version" refers to the collection of Font Software components as
37
+ distributed by the Copyright Holder(s).
38
+
39
+ "Modified Version" refers to any derivative made by adding to, deleting,
40
+ or substituting -- in part or in whole -- any of the components of the
41
+ Original Version, by changing formats or by porting the Font Software to a
42
+ new environment.
43
+
44
+ "Author" refers to any designer, engineer, programmer, technical
45
+ writer or other person who contributed to the Font Software.
46
+
47
+ PERMISSION & CONDITIONS
48
+ Permission is hereby granted, free of charge, to any person obtaining
49
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
50
+ redistribute, and sell modified and unmodified copies of the Font
51
+ Software, subject to the following conditions:
52
+
53
+ 1) Neither the Font Software nor any of its individual components,
54
+ in Original or Modified Versions, may be sold by itself.
55
+
56
+ 2) Original or Modified Versions of the Font Software may be bundled,
57
+ redistributed and/or sold with any software, provided that each copy
58
+ contains the above copyright notice and this license. These can be
59
+ included either as stand-alone text files, human-readable headers or
60
+ in the appropriate machine-readable metadata fields within text or
61
+ binary files as long as those fields can be easily viewed by the user.
62
+
63
+ 3) No Modified Version of the Font Software may use the Reserved Font
64
+ Name(s) unless explicit written permission is granted by the corresponding
65
+ Copyright Holder. This restriction only applies to the primary font name as
66
+ presented to the users.
67
+
68
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
69
+ Software shall not be used to promote, endorse or advertise any
70
+ Modified Version, except to acknowledge the contribution(s) of the
71
+ Copyright Holder(s) and the Author(s) or with their explicit written
72
+ permission.
73
+
74
+ 5) The Font Software, modified or unmodified, in part or in whole,
75
+ must be distributed entirely under this license, and must not be
76
+ distributed under any other license. The requirement for fonts to
77
+ remain under this license does not apply to any document created
78
+ using the Font Software.
79
+
80
+ TERMINATION
81
+ This license becomes null and void if any of the above conditions are
82
+ not met.
83
+
84
+ DISCLAIMER
85
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
86
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
87
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
88
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
89
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
90
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
91
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
92
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
93
+ OTHER DEALINGS IN THE FONT SOFTWARE.
@@ -0,0 +1,23 @@
1
+ <div id="footer">
2
+ <div id="mc_embed_signup">
3
+ <form action="https://kudoai.us10.list-manage.com/subscribe/post?u=c81cb6ce947f08bd95a7797b2&amp;id=06644e9f68&amp;f_id=00ca2ce5f0" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" rel="noopener">
4
+ <div id="mc_embed_signup_scroll">
5
+ <h2>🔮 Get the latest updates!</h2>
6
+ <!-- <p>Stay up-to-date w/ infrequent emails:</p> -->
7
+ <div class="mc-field-group">
8
+ <input type="email" name="EMAIL" class="required email" id="mce-EMAIL" required="" placeholder="Your Email">
9
+ <input type="submit" name="subscribe" id="mc-embedded-subscribe" class="button" value="Submit">
10
+ <span id="mce-EMAIL-HELPERTEXT" class="helper_text"></span>
11
+ </div>
12
+ <div hidden=""><input type="hidden" name="tags" value="13470273"></div>
13
+ <div id="mce-responses" class="clear foot">
14
+ <div class="response" id="mce-error-response" style="display: none;"></div>
15
+ <div class="response" id="mce-success-response" style="display: none;"></div>
16
+ </div>
17
+ <div style="position: absolute; left: -5000px;" aria-hidden="true"> /* stop bots */
18
+ <input type="text" name="b_c81cb6ce947f08bd95a7797b2_06644e9f68" tabindex="-1" value="">
19
+ </div>
20
+ </form>
21
+ </div>
22
+ </div>
23
+ <script type="text/javascript" src="//s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js"></script><script type="text/javascript">(function($) {window.fnames = new Array(); window.ftypes = new Array();fnames[0]=EMAIL;ftypes[0]=merge;,fnames[1]=FNAME;ftypes[1]=merge;,fnames[2]=LNAME;ftypes[2]=merge;,fnames[3]=ADDRESS;ftypes[3]=merge;,fnames[4]=PHONE;ftypes[4]=merge;,fnames[5]=BIRTHDAY;ftypes[5]=merge;false}(jQuery));var $mcj = jQuery.noConflict(true);</script></div>
@@ -0,0 +1 @@
1
+ const button=document.createElement("button"),svgElement=(button.classList.add("back-to-top"),document.createElementNS("http://www.w3.org/2000/svg","svg")),pathElement=(svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),svgElement.setAttribute("height","2em"),svgElement.setAttribute("viewBox","0 0 448 512"),document.createElementNS("http://www.w3.org/2000/svg","path"));function fadeIn(e,n){if(!e.classList.contains("done")){e.classList.add("done"),e.style.opacity=0;let t=+new Date;const o=()=>{e.style.opacity=+e.style.opacity+(new Date-t)/n,t=+new Date,+e.style.opacity<1?window.requestAnimationFrame&&requestAnimationFrame(o)||setTimeout(o,16):e.style.display="block"};o()}}function fadeOut(e,n){if(e.classList.contains("done")){e.classList.remove("done"),e.style.opacity=1;let t=+new Date;const o=()=>{e.style.opacity=+e.style.opacity-(new Date-t)/n,t=+new Date,0<+e.style.opacity?window.requestAnimationFrame&&requestAnimationFrame(o)||setTimeout(o,16):e.style.display="none"};o()}}function scrollToTop(){var t=document.documentElement.scrollTop||document.body.scrollTop;0<t&&(window.requestAnimationFrame(scrollToTop),window.scrollTo(0,t-t/8))}pathElement.setAttribute("d","M246.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L224 109.3 361.4 246.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160zm160 352l-160-160c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L224 301.3 361.4 438.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3z"),svgElement.append(pathElement),button.append(svgElement),document.body.append(button),button.addEventListener("click",scrollToTop),window.addEventListener("scroll",()=>{(0<(window.scrollY||document.documentElement.scrollTop)?fadeIn:fadeOut)(button,500)});
@@ -0,0 +1 @@
1
+ !function(){function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var e,o,t,n;e=".docsify-copy-code-button,.docsify-copy-code-button span{cursor:pointer}.docsify-copy-code-button{position:absolute;z-index:1;top:0;right:0;overflow:visible;padding:.65em .8em;border:0;border-radius:0;outline:0;font-size:1em;background:grey;background:var(--theme-color,grey);color:#fff;opacity:1}.docsify-copy-code-button span{border-radius:3px;background:inherit;pointer-events:none}.docsify-copy-code-button .error,.docsify-copy-code-button .success{position:absolute;z-index:1000;top:24px;left:12px;padding:.5em .65em;font-size:.825em;opacity:0;transform:translateX(-88%)translateY(-50%)}.docsify-copy-code-button.error .error,.docsify-copy-code-button.success .success{left:12px;top:24px;opacity:1;,pre:hover .docsify-copy-code-button{opacity:1}",o=(o=void 0===o?{}:o).insertAt,"undefined"!=typeof document&&(t=document.head||document.getElementsByTagName("head")[0],(n=document.createElement("style")).type="text/css","top"===o&&t.firstChild?t.insertBefore(n,t.firstChild):t.append(n),n.styleSheet?n.styleSheet.cssText=e:n.append(document.createTextNode(e))),document.querySelector('link[href*="docsify-copy-code"]')&&console.warn("[Deprecation] Link to external docsify-copy-code stylesheet is no longer necessary."),window.DocsifyCopyCodePlugin={init:function(){return function(e,o){e.ready(function(){console.warn("[Deprecation] Manually initializing docsify-copy-code using window.DocsifyCopyCodePlugin.init() is no longer necessary.")})}}},window.$docsify=window.$docsify||{},window.$docsify.plugins=[function(e,s){e.doneEach(function(){var e=Array.apply(null,document.querySelectorAll("pre[data-lang]")),c={buttonText:"<> Copy code",errorText:"Error",successText:"Code copied!"},o=(s.config.copyCode&&Object.keys(c).forEach(function(t){var n=s.config.copyCode[t];"string"==typeof n?c[t]=n:"object"===r(n)&&Object.keys(n).some(function(e){var o=-1<location.href.indexOf(e);return c[t]=o?n[e]:c[t],o})}),['<button class="docsify-copy-code-button">','<span class="label">'.concat(c.buttonText,"</span>"),'<span class="error">'.concat(c.errorText,"</span>"),'<span class="success">'.concat(c.successText,"</span>"),"</button>"].join(""));e.forEach(function(e){e.insertAdjacentHTML("beforeend",o)})}),e.mounted(function(){document.querySelector(".content").addEventListener("click",function(e){if(e.target.classList.contains("docsify-copy-code-button")){var o="BUTTON"===e.target.tagName?e.target:e.target.parentNode,t=document.createRange(),n=o.parentNode.querySelector("code"),c=window.getSelection();t.selectNode(n),c.removeAllRanges(),c.addRange(t);try{document.execCommand("copy")&&(o.classList.add("success"),o.querySelector(".label").style.display="none",setTimeout(function(){o.classList.remove("success"),o.querySelector(".label").style.display="inline"},2e3))}catch(e){console.error("docsify-copy-code: ".concat(e)),o.classList.add("error"),setTimeout(function(){o.classList.remove("error")},2e3)}"function"==typeof(c=window.getSelection()).removeRange?c.removeRange(t):"function"==typeof c.removeAllRanges&&c.removeAllRanges()}})})}].concat(window.$docsify.plugins||[])}();
@@ -0,0 +1,3 @@
1
+ const taglineWords=[],features=[">> Feature-rich",">> Object-oriented",">> Easy-to-use",">> Lightweight (yet optimally performant)"],visibilityMap=[],sectionColors=["#64ffff","#f9ee16","lime","orange","#b981f9","#f581f9","#81f9c3"],iniStarZvelocity=window.starVelocity.z,warpDuration=1600,hiWarpDuration=1400,starResetDelay=15,mdLoaded=new Promise(o=>{new MutationObserver((e,t)=>{document.querySelector("#shields")&&(t.disconnect(),o())}).observe(document.body,{childList:!0,subtree:!0})}),iObserver=new IntersectionObserver(e=>{e.forEach(e=>{var t=e.target.id||e.target.className;if(visibilityMap[t]=e.isIntersecting,"cover-main"===e.target.className)if(e.isIntersecting){document.querySelector("#kudoai a").style.color="white",window.starColor="white",(document.querySelector("#scrollbar-style")||{}).innerText=":root { scrollbar-color: rgb(210,210,210) #1a1a1a }body::-webkit-scrollbar-thumb { background-color: white }";const o=document.querySelector(".kudo");o.classList.add("hover"),setTimeout(()=>{o.classList.remove("hover")},955),Array.from(document.querySelectorAll('span[id^="tagline"]')).forEach(e=>{e.textContent=""}),scrambleText([taglineWords[0]],document.querySelector("#tagline-pre-adj")),scrambleText(taglineWords[1],document.querySelector("#tagline-adj"),750),scrambleText([taglineWords[2]],document.querySelector("#tagline-post-adj")),randomizeCase(document.querySelector("#tagline-pre-adj")),randomizeCase(document.querySelector("#tagline-post-adj")),window.starVelocity.z<=iniStarZvelocity&&(window.starVelocity.z+=.024,setTimeout(()=>{window.starVelocity.z-=.02},1155),setTimeout(()=>{window.starVelocity.z=iniStarZvelocity},1355))}else clearTimeout(scrambleText.timeoutID);else"feature-list"===e.target.id&&(e.isIntersecting?typeText(features,e.target,20):(e.target.innerHTML="",clearTimeout(typeText.timeoutID)))})}),onLoadObserver=new MutationObserver(()=>{if(document.querySelector(".cover-main blockquote p")){if(smoothScroll(document,155,9),/#\/(\w{2}(-\w{2})?\/)?$/.test(location.hash)){isMobileDevice()||(document.body.className="ready close");var e=Array.from(document.querySelectorAll('span[id^="tagline"]'));e.map(e=>{taglineWords.push(/pre|post/.exec(e.id)?e.textContent:e.textContent.split("|"))}),e.forEach(e=>{e.textContent=""}),iObserver.observe(document.querySelector(".cover-main"));const t=document.querySelector(".cover"),o=document.createElement("div");function c(){o.style.display=window.scrollY>.85*t.offsetHeight?"":"none"}o.classList.add("top-gradient"),document.body.append(o),c(),mdLoaded.then(()=>{navigator.userAgent.includes("Chrome")&&window.scrollBy(0,200),setTimeout(()=>window.scrollBy(0,-200),600),document.querySelector(".search").style.display="none",document.querySelector(".sidebar-nav").style.paddingTop="102px";var e=document.querySelector("#feature-list")||document.createElement("div"),t=(e.parentElement||(e.setAttribute("id","feature-list"),(t=document.querySelector("#intro")).parentElement.insertBefore(e,t.nextElementSibling.nextElementSibling)),iObserver.observe(e),document.querySelector("article")),e=document.createElement("div"),t=(e.id="copyright-footer",e.innerHTML='<span style="font-size: 115%">Copyright © 2023–'+(new Date).getFullYear()+' <a href="https://kudoai.com" target="_blank" rel="noopener">KudoAI</a>.</span><br>Designed by <a href="https://adamlui.com" target="_blank" rel="noopener">Adam Lui</a> / Powered by <a href="https://docsify.js.org" target="_blank" rel="noopener">Docsify</a> / Hosted by <a href="https://github.com" target="_blank" rel="noopener">GitHub</a>',t.append(e),document.querySelector('a[href*="/assets/10906554/f53c740f-d5e0-49b6-ae02-3b3140b0f8a4"]')),e=document.createElement("iframe"),t=(e.setAttribute("width","855"),e.setAttribute("height","455"),e.setAttribute("src","https://www.youtube.com/embed/yG8DtsEo0PM?rel=0"),e.setAttribute("allow","accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"),e.setAttribute("allowfullscreen",""),e.style.minWidth="fit-content",e.style.width="855px",e.style.marginBottom="30px",t.parentNode.replaceChild(e,t),e.parentNode.style.textAlign="center",document.querySelectorAll("blockquote").forEach(e=>{var t=e.parentNode,o=e.innerHTML;t.replaceChild(document.createRange().createContextualFragment(o),e)}),[]),e=[],o=[],t=(t.push(...document.querySelectorAll(".cover-main img, .cover-main a,h2, h3, p, pre, main li,div#partners-collage, #copyright-footer")),t.forEach(e=>{e.classList.add("content-fadeup")}),t.push(document.querySelector("#language-menu")),t[t.length-1].classList.add("menu-fadeup"),e.push(...document.querySelectorAll(`#showcase ~ h3:nth-of-type(odd):not(#contributors ~ *),
2
+ #showcase ~ h3 + p:nth-of-type(odd):not(#contributors ~ *`)),e.forEach(e=>{e.classList.add("content-faderight")}),o.push(...document.querySelectorAll(`#showcase ~ h3:nth-of-type(even):not(#contributors ~ *),
3
+ #showcase ~ h3 + p:nth-of-type(even):not(#contributors ~ *`)),o.forEach(e=>{e.classList.add("content-fadeleft")}),[...t,...e,...o]);const r=[...document.querySelectorAll(".sidebar-nav li")],n=new IntersectionObserver(e=>{e.forEach(e=>{var t;e.isIntersecting?(e.target.classList.add("visible"),e.target.tagName.startsWith("H")&&(t=e.target.querySelector("a").textContent,t=(document.querySelector(`a[title="${t}"]`)||{}).parentElement)&&(r.forEach(e=>e.classList.remove("nav-active")),t.classList.add("nav-active"))):e.target.classList.remove("visible")})},{root:null,threshold:.02});t.forEach(e=>{n.observe(e)});e=document.querySelector('a[href$="stargazers"]'),o=e.getAttribute("href");e.setAttribute("href",o.replace("/stargazers",""));const a=[],i=[],l=(a.push(...document.querySelectorAll("h2")),a.push(document.querySelector("h3#-greasemonkey")),a.push(document.querySelector("h3#-chrome")),a.push(document.querySelector('img[src*="chatgpt-infinity"]')),a.forEach(e=>{var t=e.getBoundingClientRect().top,e=e.id.includes("⚡")?1.5:"IMG"===e.tagName?.8:8.8;i.push(t-window.innerHeight/e)}),i.sort((e,t)=>e-t),window.addEventListener("scroll",()=>{if(!visibilityMap["cover-main"]&&!visibilityMap["feature-list"]){let e=0;for(;window.scrollY>i[e]&&e<i.length;)e++;var t=sectionColors[e-2];if(t!==window.starColor){window.starColor=t,setTimeout(()=>{window.starVelocity.z<=iniStarZvelocity&&(window.starColor="white")},warpDuration+starResetDelay),window.starVelocity.z+=.0045,setTimeout(()=>{window.starVelocity.z=Math.max(iniStarZvelocity,window.starVelocity.z-.0025)},hiWarpDuration),setTimeout(()=>{window.starVelocity.z=Math.max(iniStarZvelocity,window.starVelocity.z-.002)},warpDuration);const o=document.querySelector("#kudoai a"),r=document.querySelector(".kudo"),n=(o.style.color=t,r.classList.add("hover"),setTimeout(()=>{window.starVelocity.z<=iniStarZvelocity&&(o.style.color="white",r.classList.remove("hover"))},warpDuration+5),document.querySelector("#scrollbar-style")||document.createElement("style"));n.parentElement||(n.setAttribute("id","scrollbar-style"),document.head.append(n)),n.innerText=`:root { scrollbar-color: ${t} #1a1a1a }`+`body::-webkit-scrollbar-thumb { background-color: ${t} }`,setTimeout(()=>{window.starVelocity.z<=iniStarZvelocity&&(n.innerText=":root { scrollbar-color: rgb(210,210,210) #1a1a1a }body::-webkit-scrollbar-thumb { background-color: white }")},warpDuration+5)}}}),setTimeout(()=>{var e=document.querySelector(".active").innerText;document.getElementById("dropdown-button").innerText=e},250),document.querySelectorAll("picture").forEach(e=>{var t=e.querySelector("source").getAttribute("srcset"),o=document.createElement("img");o.setAttribute("src",t),e.parentNode.replaceChild(o,e)}),document.getElementById("partners-collage")),s=document.createElement("div");fetch("assets/docsify/html/footer.html").then(e=>e.text()).then(e=>{s.innerHTML=e,l.insertAdjacentElement("afterend",s)});t=document.querySelector('p a[href="#"]');t.previousSibling.remove(),t.remove(),setTimeout(()=>{const o=[];document.querySelectorAll('#main, h2:not([id="about"])').forEach(e=>{var t=e.getBoundingClientRect().top-window.innerHeight/1.2,e="H2"===e.tagName?e.parentElement:e;o.push({element:e,y:t})}),window.addEventListener("scroll",()=>{c(),o.forEach(n=>{if(window.scrollY>=n.y&&window.scrollY<n.y+window.innerHeight){var o=[];if("main"===n.element.id)o.push(document.querySelector(".cover-main"));else{let t=n.element.previousElementSibling;for(let e=0;e<7&&t;e++)o.push(t),t=t.previousElementSibling}o.forEach(e=>{var t=n.y-window.scrollY,o=1-Math.abs(t)/(window.innerHeight-5),r=-.55*t,t=-285<t?1:1-Math.abs(285+t)/5/window.innerHeight;try{e.classList.remove("content-fadeup")}catch(e){}e.style.opacity=o,e.style.transform=`translateY(${r}px) scale(${t})`})}})})},100)})}else document.querySelector(".app-nav").style.display="none";/LICENSE|SECURITY/.test(location.hash)&&(isMobileDevice()||(document.body.className="ready close"),mdLoaded.then(()=>{for(const e of document.querySelectorAll("h5 a"))e.href=e.href.replace(/(.*\/\/.*?\/)((\w{2}(-\w{2})?\/)?.*)\.md/,"$1#/$2")})),onLoadObserver.disconnect()}});function isMobileDevice(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}function validateIntArg(e,t,o){if(void 0===e)return o;if(Number.isInteger(e)||/^\d+$/.test(e))return parseInt(e,10);throw new Error(t+" must be an integer.")}function smoothScroll(t,o,r){t===document&&(t=document.scrollingElement||document.documentElement||document.body.parentNode||document.body);let n=!1,a=t.scrollTop;const i=t===document.body&&document.documentElement?document.documentElement:t;function e(e){e.preventDefault();e=(e=e).detail?e.wheelDelta?e.wheelDelta/e.detail/40*(0<e.detail?1:-1):-e.detail/3:e.wheelDelta/120;a+=-e*o,a=Math.max(0,Math.min(a,t.scrollHeight-i.clientHeight)),n||l()}function l(){n=!0;var e=(a-t.scrollTop)/r;t.scrollTop+=e,.5<Math.abs(e)?s(l):n=!1}t.addEventListener("mousewheel",e,{passive:!1}),t.addEventListener("DOMMouseScroll",e,{passive:!1});const s=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){window.setTimeout(e,20)}}function scrambleText(e,t,o,r=0){if("string"==typeof e&&(e=[e]),!t?.nodeName)throw new Error("Destination (2nd arg) must be a DOM element");if(o){if(!Number.isInteger(o)&&!/^\d+$/.test(o))throw new Error("Delay betweeen words (3nd arg) must be an integer (ms)");o=parseInt(o,10)}new Scramble(t).setText(e[r]).then(()=>{o&&visibilityMap["cover-main"]&&(scrambleText.timeoutID=setTimeout(()=>{scrambleText(e,t,o,(r+1)%e.length)},o))})}function randomizeCase(e,t,o,r,n,a){if(!e?.nodeName)throw new Error("Target node (1st arg) must be a DOM element");t=validateIntArg(t,"Initial delay",5),o=validateIntArg(o,"Final delay",1e3),r=validateIntArg(r,"Increment A",10),n=validateIntArg(n,"Increment B",111),a=validateIntArg(a,"Inflection point",265),e.textContent=e.textContent.split("").map(e=>Math.random()<.5?e.toUpperCase():e.toLowerCase()).join(""),randomizeCase.iniDelay=randomizeCase.iniDelay||t,randomizeCase.iniDelay+=randomizeCase.iniDelay<a?r:n,randomizeCase.iniDelay>o&&(randomizeCase.iniDelay=o),setTimeout(()=>{randomizeCase(e,t,o,r,n,a)},randomizeCase.iniDelay)}function typeText(e,t,o,r,n,a){if("string"==typeof e&&(e=[e]),!t?.nodeName)throw new Error("Destination must be a DOM element");o=validateIntArg(o,"Typing delay",30),r=validateIntArg(r,"Initial text array index",0),n=validateIntArg(n,"Initial text string position",3),a=validateIntArg(a,"Lines to scroll at",5);let i=" ",l=Math.max(0,r-a);for(;l<r;)i+=e[l++]+"<br /><br />";t.innerHTML=i+e[r].substring(0,n)+"_",n++==e[r].length?(n=0,++r!=e.length&&(typeText.timeoutID=setTimeout(()=>{typeText(e,t,o,r,n)},88))):typeText.timeoutID=setTimeout(()=>{typeText(e,t,o,r,n)},o+220*Math.random()-110)}class Scramble{constructor(e){this.el=e,this.chars="!<>-_\\/[]{}—=+*^?#________",this.update=this.update.bind(this)}setText(t){var o=this.el.innerText,r=Math.max(o.length,t.length),e=new Promise(e=>this.resolve=e);this.queue=[];for(let e=0;e<r;e++){var n=o[e]||"",a=t[e]||"",i=Math.floor(45*Math.random()),l=i+Math.floor(45*Math.random());this.queue.push({from:n,to:a,start:i,end:l})}return cancelAnimationFrame(this.frameRequest),this.frame=0,this.update(),e}update(){let i="",l=0;for(let a=0,e=this.queue.length;a<e;a++){let{from:e,to:t,start:o,end:r,char:n}=this.queue[a];this.frame>=r?(l++,i+=t):this.frame>=o?((!n||Math.random()<.28)&&(n=this.randomChar(),this.queue[a].char=n),i+=`<span class="dud">${n}</span>`):i+=e}this.el.innerHTML=i,l===this.queue.length?this.resolve():(this.frameRequest=requestAnimationFrame(this.update),this.frame++)}randomChar(){return this.chars[Math.floor(Math.random()*this.chars.length)]}}const languageMenu=document.getElementById("language-menu"),languageSelector=document.getElementById("language-selector");languageMenu.style.display="none";let hideTimeout,fromUnhashedURL=(languageSelector.addEventListener("mouseenter",()=>{clearTimeout(hideTimeout),languageMenu.style.display="block"}),languageSelector.addEventListener("mouseleave",()=>{hideTimeout=setTimeout(()=>{languageMenu.style.display="none"},55)}),languageMenu.addEventListener("mouseenter",()=>{clearTimeout(hideTimeout),languageMenu.style.display="block"}),languageMenu.addEventListener("mouseleave",()=>{clearTimeout(hideTimeout),hideTimeout=setTimeout(()=>{languageMenu.style.display="none"},55)}),document.querySelectorAll("#language-selector a").forEach(e=>{e.addEventListener("mouseenter",()=>{e.removeAttribute("title")})}),document.querySelectorAll(".dropdown-link").forEach(e=>{e.addEventListener("click",()=>{languageMenu.style.display="none"})}),onLoadObserver.observe(document.body,{childList:!0,subtree:!0}),window.location.href.includes("#"));window.addEventListener("hashchange",()=>{fromUnhashedURL?fromUnhashedURL&&onLoadObserver.observe(document.body,{childList:!0,subtree:!0}):fromUnhashedURL=!0});
@@ -0,0 +1 @@
1
+ window.starColor="white",window.starVelocity={x:0,y:0,tx:0,ty:0,z:5e-4};const starSize=6,starMinScale=2.5e-10,overflowThreshold=50,starCount=(window.innerWidth+window.innerHeight)/(-1<navigator.userAgent.indexOf("Firefox")?18:11),canvas=document.querySelector("canvas"),context=canvas.getContext("2d");let scale=.5,stars=[],width,height,pointerX,pointerY,touchInput=!1;for(let t=0;t<starCount;t++)stars.push({x:0,y:0,z:starMinScale+Math.random()*(1-starMinScale)});function updateCanvasSize(){width=window.innerWidth*scale,height=window.innerHeight*scale,canvas.width=width,canvas.height=height,stars.forEach(t=>{t.x=Math.random()*width,t.y=Math.random()*height})}function animateStars(){context.clearRect(0,0,width,height),window.starVelocity.tx*=.86,window.starVelocity.ty*=.86,window.starVelocity.x+=.8*(window.starVelocity.tx-window.starVelocity.x),window.starVelocity.y+=.8*(window.starVelocity.ty-window.starVelocity.y),stars.forEach(t=>{if(t.x+=window.starVelocity.x*t.z,t.y+=window.starVelocity.y*t.z,t.x+=(t.x-width/2)*window.starVelocity.z*t.z,t.y+=(t.y-height/2)*window.starVelocity.z*t.z,t.z+=window.starVelocity.z,t.x<-overflowThreshold||t.x>width+overflowThreshold||t.y<-overflowThreshold||t.y>height+overflowThreshold){let o="z",e=Math.abs(window.starVelocity.x),n=Math.abs(window.starVelocity.y);if(1<e||1<n){let t;t=n<e?Math.random()<e/(e+n)?"h":"v":Math.random()<n/(e+n)?"v":"h",o="h"===t?0<window.starVelocity.x?"l":"r":0<window.starVelocity.y?"t":"b"}t.z=starMinScale+Math.random()*(1-starMinScale),"z"===o?(t.z=.1,t.x=Math.random()*width,t.y=Math.random()*height):"l"===o?(t.x=-overflowThreshold,t.y=height*Math.random()):"r"===o?(t.x=width+overflowThreshold,t.y=height*Math.random()):"t"===o?(t.x=width*Math.random(),t.y=-overflowThreshold):"b"===o&&(t.x=width*Math.random(),t.y=height+overflowThreshold)}}),stars.forEach(t=>{context.beginPath(),context.lineCap="round",context.lineWidth=starSize*t.z*scale,context.globalAlpha=.5+.5*Math.random(),context.strokeStyle=window.starColor,context.beginPath(),context.moveTo(t.x,t.y);let o=2*window.starVelocity.x,e=2*window.starVelocity.y;Math.abs(o)<.1&&(o=.5),Math.abs(e)<.1&&(e=.5),context.lineTo(t.x+o,t.y+e),context.stroke()}),requestAnimationFrame(animateStars)}function movePointer(t,o){var e,n;"number"==typeof pointerX&&"number"==typeof pointerY&&(e=t-pointerX,n=o-pointerY,window.starVelocity.tx=window.starVelocity.tx+e/8*scale*(touchInput?1:-1),window.starVelocity.ty=window.starVelocity.ty+n/8*scale*(touchInput?1:-1)),pointerX=t,pointerY=o}updateCanvasSize(),animateStars(),window.onresize=updateCanvasSize,document.onmousemove=t=>{touchInput=!1,movePointer(t.clientX,t.clientY)},document.ontouchmove=t=>{touchInput=!0,movePointer(t.touches[0].clientX,t.touches[0].clientY),t.preventDefault()},document.ontouchend=()=>{pointerX=null,pointerY=null},document.onmouseleave=()=>{pointerX=null,pointerY=null};