egatari 0.6.4 → 0.6.5-rc.1
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.
- package/NOTICE +36 -0
- package/README.ja.md +16 -4
- package/README.md +16 -4
- package/bin/egatari.mjs +86 -3
- package/components.lock.json +246 -123
- package/components2.lock.json +824 -1
- package/kit/article-steps.mjs +27 -0
- package/kit/build.mjs +50 -1
- package/kit/check-messages.mjs +15 -7
- package/kit/check.mjs +40 -7
- package/kit/cli-hint.mjs +27 -0
- package/kit/core/article-cite.mjs +188 -0
- package/kit/core/article-links.mjs +174 -0
- package/kit/core/article-messages.mjs +115 -0
- package/kit/core/article-page.mjs +183 -0
- package/kit/core/article-render.mjs +410 -0
- package/kit/core/article-text.mjs +501 -0
- package/kit/core/article.mjs +266 -0
- package/kit/core/build-core.mjs +49 -9
- package/kit/core/citeproc-credit.mjs +3 -0
- package/kit/core/colab-core.mjs +1 -1
- package/kit/core/components-lock.mjs +18 -0
- package/kit/core/llm-fix.mjs +2 -1
- package/kit/core/llm-pack-assemble.mjs +5 -3
- package/kit/core/llm-pack-data.mjs +63 -80
- package/kit/core/new-deck.mjs +1 -1
- package/kit/core/part-labels.mjs +17 -5
- package/kit/core/parts2.mjs +11 -1
- package/kit/core/player.mjs +1 -1
- package/kit/core/portable.mjs +132 -16
- package/kit/core/quote-ja.mjs +5 -0
- package/kit/core/themes-lock.mjs +16 -0
- package/kit/core/tier-a.mjs +47 -3
- package/kit/deck.js +195 -45
- package/kit/instruction-version.json +3 -0
- package/kit/layouts.css +11 -10
- package/kit/panes.js +1288 -0
- package/kit/player.json +1 -1
- package/kit/player.lock.json +2 -2
- package/kit/tools.js +81 -20
- package/kit/track.js +308 -0
- package/package.json +20 -3
- package/render/only.mjs +21 -0
- package/render/render.mjs +11 -8
- package/tools/ids.mjs +74 -9
- package/tools/portable.mjs +2 -0
- package/tools/sheet.mjs +5 -3
- package/vendor/components/CATALOG.md +4 -4
- package/vendor/components/sha256/00e4bdbb7b9964c92809177fe7bb574e7184ed603dbc5008a485d82603d9a7bf/CHANGELOG.md +37 -0
- package/vendor/components/sha256/00e4bdbb7b9964c92809177fe7bb574e7184ed603dbc5008a485d82603d9a7bf/README.md +58 -0
- package/vendor/components/sha256/00e4bdbb7b9964c92809177fe7bb574e7184ed603dbc5008a485d82603d9a7bf/demo.html +121 -0
- package/vendor/components/sha256/00e4bdbb7b9964c92809177fe7bb574e7184ed603dbc5008a485d82603d9a7bf/index.js +894 -0
- package/vendor/components/sha256/011b72fe1a9c24b980192931847484b12ae736e989d453c63c4d5b099962bfe0/CHANGELOG.md +44 -0
- package/vendor/components/sha256/011b72fe1a9c24b980192931847484b12ae736e989d453c63c4d5b099962bfe0/README.md +32 -0
- package/vendor/components/sha256/011b72fe1a9c24b980192931847484b12ae736e989d453c63c4d5b099962bfe0/demo.html +57 -0
- package/vendor/components/sha256/011b72fe1a9c24b980192931847484b12ae736e989d453c63c4d5b099962bfe0/fixtures/ABCJS-ADAPTER.md +101 -0
- package/vendor/components/sha256/011b72fe1a9c24b980192931847484b12ae736e989d453c63c4d5b099962bfe0/fixtures/LICENSE-abcjs.txt +21 -0
- package/vendor/components/sha256/011b72fe1a9c24b980192931847484b12ae736e989d453c63c4d5b099962bfe0/fixtures/chords.json +89 -0
- package/vendor/components/sha256/011b72fe1a9c24b980192931847484b12ae736e989d453c63c4d5b099962bfe0/fixtures/doremi.json +261 -0
- package/vendor/components/sha256/011b72fe1a9c24b980192931847484b12ae736e989d453c63c4d5b099962bfe0/fixtures/extras.json +192 -0
- package/vendor/components/sha256/011b72fe1a9c24b980192931847484b12ae736e989d453c63c4d5b099962bfe0/fixtures/kaeru.json +521 -0
- package/vendor/components/sha256/011b72fe1a9c24b980192931847484b12ae736e989d453c63c4d5b099962bfe0/fixtures/rhythm.json +248 -0
- package/vendor/components/sha256/011b72fe1a9c24b980192931847484b12ae736e989d453c63c4d5b099962bfe0/fixtures/ties.json +360 -0
- package/vendor/components/sha256/011b72fe1a9c24b980192931847484b12ae736e989d453c63c4d5b099962bfe0/index.js +474 -0
- package/vendor/components/sha256/027a8fea4060337ccc0a926c1488066f1ae7a6c102a15032eae974304e12cb3b/CHANGELOG.md +28 -0
- package/vendor/components/sha256/027a8fea4060337ccc0a926c1488066f1ae7a6c102a15032eae974304e12cb3b/README.md +21 -0
- package/vendor/components/sha256/027a8fea4060337ccc0a926c1488066f1ae7a6c102a15032eae974304e12cb3b/demo.html +32 -0
- package/vendor/components/sha256/027a8fea4060337ccc0a926c1488066f1ae7a6c102a15032eae974304e12cb3b/index.js +139 -0
- package/vendor/components/sha256/03550bb20d425aa926258bab18b03bbc0cee292072e01bb6c78c429b3ae92c34/README.md +42 -0
- package/vendor/components/sha256/03550bb20d425aa926258bab18b03bbc0cee292072e01bb6c78c429b3ae92c34/index.js +250 -0
- package/vendor/components/sha256/07013c263cc595382dbcfd4931ca8b016f9dfb673440adf28911c95bd465cf9d/README.md +22 -0
- package/vendor/components/sha256/07013c263cc595382dbcfd4931ca8b016f9dfb673440adf28911c95bd465cf9d/index.js +41 -0
- package/vendor/components/sha256/0703ec58997237fceda0008c28dfa3e3370c21cdcb6d0cc99c29a83e4b9d0f11/CHANGELOG.md +25 -0
- package/vendor/components/sha256/0703ec58997237fceda0008c28dfa3e3370c21cdcb6d0cc99c29a83e4b9d0f11/README.md +35 -0
- package/vendor/components/sha256/0703ec58997237fceda0008c28dfa3e3370c21cdcb6d0cc99c29a83e4b9d0f11/demo.html +40 -0
- package/vendor/components/sha256/0703ec58997237fceda0008c28dfa3e3370c21cdcb6d0cc99c29a83e4b9d0f11/index.js +731 -0
- package/vendor/components/sha256/0b85af3a688ca012d7d1df082dab1f405048589dce78d411d4cffc1fb3a81998/CHANGELOG.md +19 -0
- package/vendor/components/sha256/0b85af3a688ca012d7d1df082dab1f405048589dce78d411d4cffc1fb3a81998/README.md +21 -0
- package/vendor/components/sha256/0b85af3a688ca012d7d1df082dab1f405048589dce78d411d4cffc1fb3a81998/demo.html +33 -0
- package/vendor/components/sha256/0b85af3a688ca012d7d1df082dab1f405048589dce78d411d4cffc1fb3a81998/index.js +106 -0
- package/vendor/components/sha256/0cf00baed0da1bc3ce5460eb1eff0a8dd5f7789168e83aaef751135cd3f8af89/CHANGELOG.md +21 -0
- package/vendor/components/sha256/0cf00baed0da1bc3ce5460eb1eff0a8dd5f7789168e83aaef751135cd3f8af89/README.md +34 -0
- package/vendor/components/sha256/0cf00baed0da1bc3ce5460eb1eff0a8dd5f7789168e83aaef751135cd3f8af89/demo.html +77 -0
- package/vendor/components/sha256/0cf00baed0da1bc3ce5460eb1eff0a8dd5f7789168e83aaef751135cd3f8af89/index.js +200 -0
- package/vendor/components/sha256/0eca723150eb30db0b3d3fdbd35b973d5344ac0d0e2ea8ab89d143a0870ab4fd/CHANGELOG.md +31 -0
- package/vendor/components/sha256/0eca723150eb30db0b3d3fdbd35b973d5344ac0d0e2ea8ab89d143a0870ab4fd/README.md +43 -0
- package/vendor/components/sha256/0eca723150eb30db0b3d3fdbd35b973d5344ac0d0e2ea8ab89d143a0870ab4fd/demo.html +47 -0
- package/vendor/components/sha256/0eca723150eb30db0b3d3fdbd35b973d5344ac0d0e2ea8ab89d143a0870ab4fd/index.js +484 -0
- package/vendor/components/sha256/0f47d93b78df1c0661a91d5fc46d6f7f5d1c45349065aab6bd3e659e07e317dd/CHANGELOG.md +23 -0
- package/vendor/components/sha256/0f47d93b78df1c0661a91d5fc46d6f7f5d1c45349065aab6bd3e659e07e317dd/README.md +44 -0
- package/vendor/components/sha256/0f47d93b78df1c0661a91d5fc46d6f7f5d1c45349065aab6bd3e659e07e317dd/demo.html +43 -0
- package/vendor/components/sha256/0f47d93b78df1c0661a91d5fc46d6f7f5d1c45349065aab6bd3e659e07e317dd/index.js +266 -0
- package/vendor/components/sha256/12704ccb92a1f864a18cce824a2400e8e3141e8dba7db34805cb1d8522aae08e/CHANGELOG.md +34 -0
- package/vendor/components/sha256/12704ccb92a1f864a18cce824a2400e8e3141e8dba7db34805cb1d8522aae08e/README.md +44 -0
- package/vendor/components/sha256/12704ccb92a1f864a18cce824a2400e8e3141e8dba7db34805cb1d8522aae08e/demo.html +56 -0
- package/vendor/components/sha256/12704ccb92a1f864a18cce824a2400e8e3141e8dba7db34805cb1d8522aae08e/index.js +429 -0
- package/vendor/components/sha256/149e8ddefbc384aafa8b961d48f8f56ad68ff75cc2429bd8c1ad6d8da661f5f6/CHANGELOG.md +25 -0
- package/vendor/components/sha256/149e8ddefbc384aafa8b961d48f8f56ad68ff75cc2429bd8c1ad6d8da661f5f6/README.md +42 -0
- package/vendor/components/sha256/149e8ddefbc384aafa8b961d48f8f56ad68ff75cc2429bd8c1ad6d8da661f5f6/demo.html +115 -0
- package/vendor/components/sha256/149e8ddefbc384aafa8b961d48f8f56ad68ff75cc2429bd8c1ad6d8da661f5f6/index.js +384 -0
- package/vendor/components/sha256/1ccdd24c9e0e7ca2661450c52eb6dcf9dbc2fb48d05fed2d01e2b9cfd5df1365/CHANGELOG.md +19 -0
- package/vendor/components/sha256/1ccdd24c9e0e7ca2661450c52eb6dcf9dbc2fb48d05fed2d01e2b9cfd5df1365/README.md +38 -0
- package/vendor/components/sha256/1ccdd24c9e0e7ca2661450c52eb6dcf9dbc2fb48d05fed2d01e2b9cfd5df1365/demo.html +72 -0
- package/vendor/components/sha256/1ccdd24c9e0e7ca2661450c52eb6dcf9dbc2fb48d05fed2d01e2b9cfd5df1365/index.js +248 -0
- package/vendor/components/sha256/240bd2ff9a1707c557f0a1af7f278a3f7661a8e680d3b932e367d4b337a3ad13/CHANGELOG.md +19 -0
- package/vendor/components/sha256/240bd2ff9a1707c557f0a1af7f278a3f7661a8e680d3b932e367d4b337a3ad13/README.md +36 -0
- package/vendor/components/sha256/240bd2ff9a1707c557f0a1af7f278a3f7661a8e680d3b932e367d4b337a3ad13/demo.html +70 -0
- package/vendor/components/sha256/240bd2ff9a1707c557f0a1af7f278a3f7661a8e680d3b932e367d4b337a3ad13/index.js +167 -0
- package/vendor/components/sha256/2a6b20b93f1169ef2435cdf3bfca57d24c9111fe9aaf8e61f0d049cf8a70e9df/CHANGELOG.md +34 -0
- package/vendor/components/sha256/2a6b20b93f1169ef2435cdf3bfca57d24c9111fe9aaf8e61f0d049cf8a70e9df/README.md +32 -0
- package/vendor/components/sha256/2a6b20b93f1169ef2435cdf3bfca57d24c9111fe9aaf8e61f0d049cf8a70e9df/demo.html +51 -0
- package/vendor/components/sha256/2a6b20b93f1169ef2435cdf3bfca57d24c9111fe9aaf8e61f0d049cf8a70e9df/index.js +302 -0
- package/vendor/components/sha256/2c9490ac960a5bb04ebc0c8fa0622392775f85ef8b8ebe93065991ce40afc097/CHANGELOG.md +41 -0
- package/vendor/components/sha256/2c9490ac960a5bb04ebc0c8fa0622392775f85ef8b8ebe93065991ce40afc097/README.md +35 -0
- package/vendor/components/sha256/2c9490ac960a5bb04ebc0c8fa0622392775f85ef8b8ebe93065991ce40afc097/demo.html +66 -0
- package/vendor/components/sha256/2c9490ac960a5bb04ebc0c8fa0622392775f85ef8b8ebe93065991ce40afc097/index.js +352 -0
- package/vendor/components/sha256/328a440e91684524068076e96cba5771cdceaa274d4b90033656259f05467135/CHANGELOG.md +35 -0
- package/vendor/components/sha256/328a440e91684524068076e96cba5771cdceaa274d4b90033656259f05467135/README.md +35 -0
- package/vendor/components/sha256/328a440e91684524068076e96cba5771cdceaa274d4b90033656259f05467135/demo.html +40 -0
- package/vendor/components/sha256/328a440e91684524068076e96cba5771cdceaa274d4b90033656259f05467135/index.js +747 -0
- package/vendor/components/sha256/3395706f819e0e70b4047da33486a4b59e65118faf8f918677061e397dae408c/CHANGELOG.md +35 -0
- package/vendor/components/sha256/3395706f819e0e70b4047da33486a4b59e65118faf8f918677061e397dae408c/README.md +43 -0
- package/vendor/components/sha256/3395706f819e0e70b4047da33486a4b59e65118faf8f918677061e397dae408c/demo.html +89 -0
- package/vendor/components/sha256/3395706f819e0e70b4047da33486a4b59e65118faf8f918677061e397dae408c/index.js +323 -0
- package/vendor/components/sha256/34b1375b0897f881b8d43e5dbaa928485cfab240e87c53a5868e714879a20f79/CHANGELOG.md +24 -0
- package/vendor/components/sha256/34b1375b0897f881b8d43e5dbaa928485cfab240e87c53a5868e714879a20f79/README.md +40 -0
- package/vendor/components/sha256/34b1375b0897f881b8d43e5dbaa928485cfab240e87c53a5868e714879a20f79/demo.html +70 -0
- package/vendor/components/sha256/34b1375b0897f881b8d43e5dbaa928485cfab240e87c53a5868e714879a20f79/index.js +561 -0
- package/vendor/components/sha256/37ea0051e8a1f2d7c2fa2d38e57730e5a3b1afabe9037a74fcad6e6f05356c09/CHANGELOG.md +27 -0
- package/vendor/components/sha256/37ea0051e8a1f2d7c2fa2d38e57730e5a3b1afabe9037a74fcad6e6f05356c09/README.md +50 -0
- package/vendor/components/sha256/37ea0051e8a1f2d7c2fa2d38e57730e5a3b1afabe9037a74fcad6e6f05356c09/demo.html +44 -0
- package/vendor/components/sha256/37ea0051e8a1f2d7c2fa2d38e57730e5a3b1afabe9037a74fcad6e6f05356c09/index.js +464 -0
- package/vendor/components/sha256/39c84138e7e4c6040eeb3d82d1c7fc801f513b2c26ac431ac8cc121a01f81698/CHANGELOG.md +23 -0
- package/vendor/components/sha256/39c84138e7e4c6040eeb3d82d1c7fc801f513b2c26ac431ac8cc121a01f81698/README.md +44 -0
- package/vendor/components/sha256/39c84138e7e4c6040eeb3d82d1c7fc801f513b2c26ac431ac8cc121a01f81698/demo.html +56 -0
- package/vendor/components/sha256/39c84138e7e4c6040eeb3d82d1c7fc801f513b2c26ac431ac8cc121a01f81698/index.js +402 -0
- package/vendor/components/sha256/3c36a26fd78dffdfa114bd7c9ca5cae494117bbcdda14bee5c2a01351e5f2eb2/CHANGELOG.md +27 -0
- package/vendor/components/sha256/3c36a26fd78dffdfa114bd7c9ca5cae494117bbcdda14bee5c2a01351e5f2eb2/README.md +49 -0
- package/vendor/components/sha256/3c36a26fd78dffdfa114bd7c9ca5cae494117bbcdda14bee5c2a01351e5f2eb2/demo.html +44 -0
- package/vendor/components/sha256/3c36a26fd78dffdfa114bd7c9ca5cae494117bbcdda14bee5c2a01351e5f2eb2/index.js +354 -0
- package/vendor/components/sha256/3c60c8e63279b8ee86957a5874c80f86a44f9ed92c1f615eace4a9dea1789da5/CHANGELOG.md +20 -0
- package/vendor/components/sha256/3c60c8e63279b8ee86957a5874c80f86a44f9ed92c1f615eace4a9dea1789da5/README.md +50 -0
- package/vendor/components/sha256/3c60c8e63279b8ee86957a5874c80f86a44f9ed92c1f615eace4a9dea1789da5/demo.html +61 -0
- package/vendor/components/sha256/3c60c8e63279b8ee86957a5874c80f86a44f9ed92c1f615eace4a9dea1789da5/index.js +141 -0
- package/vendor/components/sha256/3dba49cbbf7853212a6e5c393de030430d02b8b1a2ba4c8b722db2bb8afad12f/CHANGELOG.md +42 -0
- package/vendor/components/sha256/3dba49cbbf7853212a6e5c393de030430d02b8b1a2ba4c8b722db2bb8afad12f/README.md +32 -0
- package/vendor/components/sha256/3dba49cbbf7853212a6e5c393de030430d02b8b1a2ba4c8b722db2bb8afad12f/demo.html +54 -0
- package/vendor/components/sha256/3dba49cbbf7853212a6e5c393de030430d02b8b1a2ba4c8b722db2bb8afad12f/index.js +315 -0
- package/vendor/components/sha256/40452368224bdcd8c4910222285e6af9e120df17dbd1c3177c0abe9cb69075d1/CHANGELOG.md +30 -0
- package/vendor/components/sha256/40452368224bdcd8c4910222285e6af9e120df17dbd1c3177c0abe9cb69075d1/README.md +38 -0
- package/vendor/components/sha256/40452368224bdcd8c4910222285e6af9e120df17dbd1c3177c0abe9cb69075d1/demo.html +72 -0
- package/vendor/components/sha256/40452368224bdcd8c4910222285e6af9e120df17dbd1c3177c0abe9cb69075d1/index.js +267 -0
- package/vendor/components/sha256/4a5971c1f83efc1f57c444ce7d3fbf242b2bcca65c5c6e4b0b0d75eeb2751150/CHANGELOG.md +16 -0
- package/vendor/components/sha256/4a5971c1f83efc1f57c444ce7d3fbf242b2bcca65c5c6e4b0b0d75eeb2751150/README.md +27 -0
- package/vendor/components/sha256/4a5971c1f83efc1f57c444ce7d3fbf242b2bcca65c5c6e4b0b0d75eeb2751150/demo.html +42 -0
- package/vendor/components/sha256/4a5971c1f83efc1f57c444ce7d3fbf242b2bcca65c5c6e4b0b0d75eeb2751150/index.js +121 -0
- package/vendor/components/sha256/4e0e5eb48fc20ffc554786a7db66c4f5cee0c42eb0554bdc8c98323cdb168eb4/CHANGELOG.md +33 -0
- package/vendor/components/sha256/4e0e5eb48fc20ffc554786a7db66c4f5cee0c42eb0554bdc8c98323cdb168eb4/README.md +41 -0
- package/vendor/components/sha256/4e0e5eb48fc20ffc554786a7db66c4f5cee0c42eb0554bdc8c98323cdb168eb4/demo.html +70 -0
- package/vendor/components/sha256/4e0e5eb48fc20ffc554786a7db66c4f5cee0c42eb0554bdc8c98323cdb168eb4/index.js +592 -0
- package/vendor/components/sha256/50db2d3b84ee33b36c09a9a216ef6b337d2e5da2154e8aa62e790b0e63401796/CHANGELOG.md +23 -0
- package/vendor/components/sha256/50db2d3b84ee33b36c09a9a216ef6b337d2e5da2154e8aa62e790b0e63401796/README.md +43 -0
- package/vendor/components/sha256/50db2d3b84ee33b36c09a9a216ef6b337d2e5da2154e8aa62e790b0e63401796/demo.html +47 -0
- package/vendor/components/sha256/50db2d3b84ee33b36c09a9a216ef6b337d2e5da2154e8aa62e790b0e63401796/index.js +483 -0
- package/vendor/components/sha256/546ec63feccdc65569b7167e58b2e36a85be52f2538743dd2ecc3fc29ed6b883/CHANGELOG.md +19 -0
- package/vendor/components/sha256/546ec63feccdc65569b7167e58b2e36a85be52f2538743dd2ecc3fc29ed6b883/README.md +34 -0
- package/vendor/components/sha256/546ec63feccdc65569b7167e58b2e36a85be52f2538743dd2ecc3fc29ed6b883/demo.html +60 -0
- package/vendor/components/sha256/546ec63feccdc65569b7167e58b2e36a85be52f2538743dd2ecc3fc29ed6b883/index.js +209 -0
- package/vendor/components/sha256/556e7d45a761c4fa749cde186fb53f6c526ba6ede0b8f0f0bba5ac9e25e0d6f4/CHANGELOG.md +30 -0
- package/vendor/components/sha256/556e7d45a761c4fa749cde186fb53f6c526ba6ede0b8f0f0bba5ac9e25e0d6f4/README.md +79 -0
- package/vendor/components/sha256/556e7d45a761c4fa749cde186fb53f6c526ba6ede0b8f0f0bba5ac9e25e0d6f4/demo.html +50 -0
- package/vendor/components/sha256/556e7d45a761c4fa749cde186fb53f6c526ba6ede0b8f0f0bba5ac9e25e0d6f4/index.js +351 -0
- package/vendor/components/sha256/577008a069e7eb08057705a0800d975e82c8dfe0d0ba5fbf4f8974af7b298a7f/README.md +53 -0
- package/vendor/components/sha256/577008a069e7eb08057705a0800d975e82c8dfe0d0ba5fbf4f8974af7b298a7f/index.js +310 -0
- package/vendor/components/sha256/5a9959f8626f2c5280d0954c476baeadf03fecebda2443c3e83b8203ad554167/CHANGELOG.md +20 -0
- package/vendor/components/sha256/5a9959f8626f2c5280d0954c476baeadf03fecebda2443c3e83b8203ad554167/README.md +75 -0
- package/vendor/components/sha256/5a9959f8626f2c5280d0954c476baeadf03fecebda2443c3e83b8203ad554167/demo.html +50 -0
- package/vendor/components/sha256/5a9959f8626f2c5280d0954c476baeadf03fecebda2443c3e83b8203ad554167/index.js +342 -0
- package/vendor/components/sha256/5b44b272b917246219d2709f1b001964f87a3e07786cc9950087bbb8add3c721/CHANGELOG.md +24 -0
- package/vendor/components/sha256/5b44b272b917246219d2709f1b001964f87a3e07786cc9950087bbb8add3c721/README.md +26 -0
- package/vendor/components/sha256/5b44b272b917246219d2709f1b001964f87a3e07786cc9950087bbb8add3c721/demo.html +48 -0
- package/vendor/components/sha256/5b44b272b917246219d2709f1b001964f87a3e07786cc9950087bbb8add3c721/index.js +97 -0
- package/vendor/components/sha256/5c8ae7714fd8243c9b37539a5f0f8488d3ba20316ba81179e97b6160116d13c2/CHANGELOG.md +22 -0
- package/vendor/components/sha256/5c8ae7714fd8243c9b37539a5f0f8488d3ba20316ba81179e97b6160116d13c2/README.md +64 -0
- package/vendor/components/sha256/5c8ae7714fd8243c9b37539a5f0f8488d3ba20316ba81179e97b6160116d13c2/demo.html +97 -0
- package/vendor/components/sha256/5c8ae7714fd8243c9b37539a5f0f8488d3ba20316ba81179e97b6160116d13c2/index.js +875 -0
- package/vendor/components/sha256/68c9e866e3cd3e2f8179ede44a005c7f31cef0ed07fd5770ec33f0cc3aa80a41/CHANGELOG.md +21 -0
- package/vendor/components/sha256/68c9e866e3cd3e2f8179ede44a005c7f31cef0ed07fd5770ec33f0cc3aa80a41/README.md +50 -0
- package/vendor/components/sha256/68c9e866e3cd3e2f8179ede44a005c7f31cef0ed07fd5770ec33f0cc3aa80a41/demo.html +63 -0
- package/vendor/components/sha256/68c9e866e3cd3e2f8179ede44a005c7f31cef0ed07fd5770ec33f0cc3aa80a41/index.js +219 -0
- package/vendor/components/sha256/693e2aa59e822d38c48eca7271cc020f8e0a6f6189f2409895318ed2a3f0b809/CHANGELOG.md +28 -0
- package/vendor/components/sha256/693e2aa59e822d38c48eca7271cc020f8e0a6f6189f2409895318ed2a3f0b809/README.md +35 -0
- package/vendor/components/sha256/693e2aa59e822d38c48eca7271cc020f8e0a6f6189f2409895318ed2a3f0b809/demo.html +73 -0
- package/vendor/components/sha256/693e2aa59e822d38c48eca7271cc020f8e0a6f6189f2409895318ed2a3f0b809/index.js +228 -0
- package/vendor/components/sha256/6b24ab9b90b4f2275af9f61073fe9d65b8b9d16573d639ae07352f29b8b067a1/CHANGELOG.md +34 -0
- package/vendor/components/sha256/6b24ab9b90b4f2275af9f61073fe9d65b8b9d16573d639ae07352f29b8b067a1/README.md +65 -0
- package/vendor/components/sha256/6b24ab9b90b4f2275af9f61073fe9d65b8b9d16573d639ae07352f29b8b067a1/demo.html +97 -0
- package/vendor/components/sha256/6b24ab9b90b4f2275af9f61073fe9d65b8b9d16573d639ae07352f29b8b067a1/index.js +920 -0
- package/vendor/components/sha256/6c25dc07f75697e7388564ad689303c370d49142aab9e6672baec15a0313a2fa/CHANGELOG.md +31 -0
- package/vendor/components/sha256/6c25dc07f75697e7388564ad689303c370d49142aab9e6672baec15a0313a2fa/README.md +39 -0
- package/vendor/components/sha256/6c25dc07f75697e7388564ad689303c370d49142aab9e6672baec15a0313a2fa/demo.html +66 -0
- package/vendor/components/sha256/6c25dc07f75697e7388564ad689303c370d49142aab9e6672baec15a0313a2fa/index.js +304 -0
- package/vendor/components/sha256/75a20673474b3104da24a7cb0d0483394bed380ff1c108a9a529bcdd1de0f1fb/CHANGELOG.md +31 -0
- package/vendor/components/sha256/75a20673474b3104da24a7cb0d0483394bed380ff1c108a9a529bcdd1de0f1fb/README.md +40 -0
- package/vendor/components/sha256/75a20673474b3104da24a7cb0d0483394bed380ff1c108a9a529bcdd1de0f1fb/demo.html +92 -0
- package/vendor/components/sha256/75a20673474b3104da24a7cb0d0483394bed380ff1c108a9a529bcdd1de0f1fb/index.js +424 -0
- package/vendor/components/sha256/8534966fead40ce56110b49bd8cabcd3fb703665e7c164abdfcc9aa29f3ce018/CHANGELOG.md +26 -0
- package/vendor/components/sha256/8534966fead40ce56110b49bd8cabcd3fb703665e7c164abdfcc9aa29f3ce018/README.md +57 -0
- package/vendor/components/sha256/8534966fead40ce56110b49bd8cabcd3fb703665e7c164abdfcc9aa29f3ce018/demo.html +121 -0
- package/vendor/components/sha256/8534966fead40ce56110b49bd8cabcd3fb703665e7c164abdfcc9aa29f3ce018/index.js +875 -0
- package/vendor/components/sha256/85f2da6dbed2b9beedaf3ffdea237f3f7940f9b1d4c0d056caa67e937d2dad8d/CHANGELOG.md +20 -0
- package/vendor/components/sha256/85f2da6dbed2b9beedaf3ffdea237f3f7940f9b1d4c0d056caa67e937d2dad8d/README.md +46 -0
- package/vendor/components/sha256/85f2da6dbed2b9beedaf3ffdea237f3f7940f9b1d4c0d056caa67e937d2dad8d/demo.html +112 -0
- package/vendor/components/sha256/85f2da6dbed2b9beedaf3ffdea237f3f7940f9b1d4c0d056caa67e937d2dad8d/index.js +443 -0
- package/vendor/components/sha256/87ca8b6a8995a8fe11206e2def2d6df54075092d15f2f900b25767dbe9bf998e/CHANGELOG.md +22 -0
- package/vendor/components/sha256/87ca8b6a8995a8fe11206e2def2d6df54075092d15f2f900b25767dbe9bf998e/README.md +35 -0
- package/vendor/components/sha256/87ca8b6a8995a8fe11206e2def2d6df54075092d15f2f900b25767dbe9bf998e/demo.html +69 -0
- package/vendor/components/sha256/87ca8b6a8995a8fe11206e2def2d6df54075092d15f2f900b25767dbe9bf998e/index.js +217 -0
- package/vendor/components/sha256/8af8e00fd248f55ce84fe9989e531ae60bf0eb5d0f059f3a28aa3d9c92a8e1d8/CHANGELOG.md +46 -0
- package/vendor/components/sha256/8af8e00fd248f55ce84fe9989e531ae60bf0eb5d0f059f3a28aa3d9c92a8e1d8/LICENSE-strokesvg.txt +115 -0
- package/vendor/components/sha256/8af8e00fd248f55ce84fe9989e531ae60bf0eb5d0f059f3a28aa3d9c92a8e1d8/OFL.txt +93 -0
- package/vendor/components/sha256/8af8e00fd248f55ce84fe9989e531ae60bf0eb5d0f059f3a28aa3d9c92a8e1d8/README.md +30 -0
- package/vendor/components/sha256/8af8e00fd248f55ce84fe9989e531ae60bf0eb5d0f059f3a28aa3d9c92a8e1d8/demo.html +40 -0
- package/vendor/components/sha256/8af8e00fd248f55ce84fe9989e531ae60bf0eb5d0f059f3a28aa3d9c92a8e1d8/index.js +749 -0
- package/vendor/components/sha256/8af8e00fd248f55ce84fe9989e531ae60bf0eb5d0f059f3a28aa3d9c92a8e1d8/strokes-CHANGES.md +20 -0
- package/vendor/components/sha256/9043427ed434c76fba5b11ddd863c40d99b6157e194cfc729895cbaa4940496c/CHANGELOG.md +40 -0
- package/vendor/components/sha256/9043427ed434c76fba5b11ddd863c40d99b6157e194cfc729895cbaa4940496c/README.md +36 -0
- package/vendor/components/sha256/9043427ed434c76fba5b11ddd863c40d99b6157e194cfc729895cbaa4940496c/demo.html +52 -0
- package/vendor/components/sha256/9043427ed434c76fba5b11ddd863c40d99b6157e194cfc729895cbaa4940496c/index.js +268 -0
- package/vendor/components/sha256/9bec862c19d5442f80a2a548a5c24911219469332a6b7fc63689a56f1f3209f4/CHANGELOG.md +31 -0
- package/vendor/components/sha256/9bec862c19d5442f80a2a548a5c24911219469332a6b7fc63689a56f1f3209f4/README.md +46 -0
- package/vendor/components/sha256/9bec862c19d5442f80a2a548a5c24911219469332a6b7fc63689a56f1f3209f4/demo.html +112 -0
- package/vendor/components/sha256/9bec862c19d5442f80a2a548a5c24911219469332a6b7fc63689a56f1f3209f4/index.js +481 -0
- package/vendor/components/sha256/9cf9789f26ceaae205d48bb083e823e768413e3b2227f87de09e3cde2105a68b/CHANGELOG.md +36 -0
- package/vendor/components/sha256/9cf9789f26ceaae205d48bb083e823e768413e3b2227f87de09e3cde2105a68b/README.md +73 -0
- package/vendor/components/sha256/9cf9789f26ceaae205d48bb083e823e768413e3b2227f87de09e3cde2105a68b/demo.html +76 -0
- package/vendor/components/sha256/9cf9789f26ceaae205d48bb083e823e768413e3b2227f87de09e3cde2105a68b/index.js +805 -0
- package/vendor/components/sha256/a034214e470de8f6fa3032f65c8534c87862859525105bdfe94e347ad6a33587/CHANGELOG.md +24 -0
- package/vendor/components/sha256/a034214e470de8f6fa3032f65c8534c87862859525105bdfe94e347ad6a33587/README.md +35 -0
- package/vendor/components/sha256/a034214e470de8f6fa3032f65c8534c87862859525105bdfe94e347ad6a33587/demo.html +53 -0
- package/vendor/components/sha256/a034214e470de8f6fa3032f65c8534c87862859525105bdfe94e347ad6a33587/index.js +481 -0
- package/vendor/components/sha256/a5ba78e0e95bf216bcd02295d1aa76ab8c3688b07931a3bfd9401448c4a34106/CHANGELOG.md +41 -0
- package/vendor/components/sha256/a5ba78e0e95bf216bcd02295d1aa76ab8c3688b07931a3bfd9401448c4a34106/LICENSE-strokesvg.txt +115 -0
- package/vendor/components/sha256/a5ba78e0e95bf216bcd02295d1aa76ab8c3688b07931a3bfd9401448c4a34106/OFL.txt +93 -0
- package/vendor/components/sha256/a5ba78e0e95bf216bcd02295d1aa76ab8c3688b07931a3bfd9401448c4a34106/README.md +33 -0
- package/vendor/components/sha256/a5ba78e0e95bf216bcd02295d1aa76ab8c3688b07931a3bfd9401448c4a34106/demo.html +40 -0
- package/vendor/components/sha256/a5ba78e0e95bf216bcd02295d1aa76ab8c3688b07931a3bfd9401448c4a34106/index.js +749 -0
- package/vendor/components/sha256/a5ba78e0e95bf216bcd02295d1aa76ab8c3688b07931a3bfd9401448c4a34106/strokes-CHANGES.md +20 -0
- package/vendor/components/sha256/a6486154cbfe25c500a64cbb2128be45c2e2365e848c34d4c5c10e9a93f6e73c/CHANGELOG.md +35 -0
- package/vendor/components/sha256/a6486154cbfe25c500a64cbb2128be45c2e2365e848c34d4c5c10e9a93f6e73c/README.md +35 -0
- package/vendor/components/sha256/a6486154cbfe25c500a64cbb2128be45c2e2365e848c34d4c5c10e9a93f6e73c/demo.html +53 -0
- package/vendor/components/sha256/a6486154cbfe25c500a64cbb2128be45c2e2365e848c34d4c5c10e9a93f6e73c/index.js +521 -0
- package/vendor/components/sha256/a6ad6867e21b4ffab426919d62f4293cbb447c7307f8f92e4a8c8d7c285fca6a/CHANGELOG.md +32 -0
- package/vendor/components/sha256/a6ad6867e21b4ffab426919d62f4293cbb447c7307f8f92e4a8c8d7c285fca6a/README.md +39 -0
- package/vendor/components/sha256/a6ad6867e21b4ffab426919d62f4293cbb447c7307f8f92e4a8c8d7c285fca6a/demo.html +70 -0
- package/vendor/components/sha256/a6ad6867e21b4ffab426919d62f4293cbb447c7307f8f92e4a8c8d7c285fca6a/index.js +166 -0
- package/vendor/components/sha256/abbe3a79cdd442191cb76ac572a7fa62af694850c115c4abba30356bae5f475f/CHANGELOG.md +56 -0
- package/vendor/components/sha256/abbe3a79cdd442191cb76ac572a7fa62af694850c115c4abba30356bae5f475f/README.md +35 -0
- package/vendor/components/sha256/abbe3a79cdd442191cb76ac572a7fa62af694850c115c4abba30356bae5f475f/demo.html +57 -0
- package/vendor/components/sha256/abbe3a79cdd442191cb76ac572a7fa62af694850c115c4abba30356bae5f475f/fixtures/ABCJS-ADAPTER.md +101 -0
- package/vendor/components/sha256/abbe3a79cdd442191cb76ac572a7fa62af694850c115c4abba30356bae5f475f/fixtures/LICENSE-abcjs.txt +21 -0
- package/vendor/components/sha256/abbe3a79cdd442191cb76ac572a7fa62af694850c115c4abba30356bae5f475f/fixtures/chords.json +89 -0
- package/vendor/components/sha256/abbe3a79cdd442191cb76ac572a7fa62af694850c115c4abba30356bae5f475f/fixtures/doremi.json +261 -0
- package/vendor/components/sha256/abbe3a79cdd442191cb76ac572a7fa62af694850c115c4abba30356bae5f475f/fixtures/extras.json +192 -0
- package/vendor/components/sha256/abbe3a79cdd442191cb76ac572a7fa62af694850c115c4abba30356bae5f475f/fixtures/kaeru.json +521 -0
- package/vendor/components/sha256/abbe3a79cdd442191cb76ac572a7fa62af694850c115c4abba30356bae5f475f/fixtures/rhythm.json +248 -0
- package/vendor/components/sha256/abbe3a79cdd442191cb76ac572a7fa62af694850c115c4abba30356bae5f475f/fixtures/ties.json +360 -0
- package/vendor/components/sha256/abbe3a79cdd442191cb76ac572a7fa62af694850c115c4abba30356bae5f475f/index.js +508 -0
- package/vendor/components/sha256/ae4f864445dff17a19df30c528cb44741558217080f8e6563e0c364025a4d0a6/CHANGELOG.md +31 -0
- package/vendor/components/sha256/ae4f864445dff17a19df30c528cb44741558217080f8e6563e0c364025a4d0a6/README.md +34 -0
- package/vendor/components/sha256/ae4f864445dff17a19df30c528cb44741558217080f8e6563e0c364025a4d0a6/demo.html +77 -0
- package/vendor/components/sha256/ae4f864445dff17a19df30c528cb44741558217080f8e6563e0c364025a4d0a6/index.js +222 -0
- package/vendor/components/sha256/b9ee9d0f48ab61977d3aa618e6155ccc3453dbf452235f438fa15db6f554f961/CHANGELOG.md +30 -0
- package/vendor/components/sha256/b9ee9d0f48ab61977d3aa618e6155ccc3453dbf452235f438fa15db6f554f961/README.md +50 -0
- package/vendor/components/sha256/b9ee9d0f48ab61977d3aa618e6155ccc3453dbf452235f438fa15db6f554f961/demo.html +61 -0
- package/vendor/components/sha256/b9ee9d0f48ab61977d3aa618e6155ccc3453dbf452235f438fa15db6f554f961/index.js +171 -0
- package/vendor/components/sha256/bd590a6619f80d659299e4e558f770e75244360450939d504a4eaf7989b0eb97/README.md +21 -0
- package/vendor/components/sha256/bd590a6619f80d659299e4e558f770e75244360450939d504a4eaf7989b0eb97/index.js +93 -0
- package/vendor/components/sha256/bd79435195d9657ad2cb690b49da192bbd20bf1fe25088ba63988dbacafa6f3d/CHANGELOG.md +18 -0
- package/vendor/components/sha256/bd79435195d9657ad2cb690b49da192bbd20bf1fe25088ba63988dbacafa6f3d/README.md +21 -0
- package/vendor/components/sha256/bd79435195d9657ad2cb690b49da192bbd20bf1fe25088ba63988dbacafa6f3d/demo.html +32 -0
- package/vendor/components/sha256/bd79435195d9657ad2cb690b49da192bbd20bf1fe25088ba63988dbacafa6f3d/index.js +53 -0
- package/vendor/components/sha256/be709cea3ba3d0a69138d4c55796f59f6322d97ad0bb8c3a75c3e9fcae5a0419/CHANGELOG.md +20 -0
- package/vendor/components/sha256/be709cea3ba3d0a69138d4c55796f59f6322d97ad0bb8c3a75c3e9fcae5a0419/README.md +40 -0
- package/vendor/components/sha256/be709cea3ba3d0a69138d4c55796f59f6322d97ad0bb8c3a75c3e9fcae5a0419/demo.html +92 -0
- package/vendor/components/sha256/be709cea3ba3d0a69138d4c55796f59f6322d97ad0bb8c3a75c3e9fcae5a0419/index.js +399 -0
- package/vendor/components/sha256/c252d5ceed6735b7ca8095ac8ef035dfc79f8492b2624d7d2eb94d2a27fafe2b/CHANGELOG.md +28 -0
- package/vendor/components/sha256/c252d5ceed6735b7ca8095ac8ef035dfc79f8492b2624d7d2eb94d2a27fafe2b/README.md +36 -0
- package/vendor/components/sha256/c252d5ceed6735b7ca8095ac8ef035dfc79f8492b2624d7d2eb94d2a27fafe2b/demo.html +70 -0
- package/vendor/components/sha256/c252d5ceed6735b7ca8095ac8ef035dfc79f8492b2624d7d2eb94d2a27fafe2b/index.js +179 -0
- package/vendor/components/sha256/c882093b0dc9215cf79d8f42afc5db46dce07c8b677f85148a3efa7355d7221b/CHANGELOG.md +25 -0
- package/vendor/components/sha256/c882093b0dc9215cf79d8f42afc5db46dce07c8b677f85148a3efa7355d7221b/README.md +32 -0
- package/vendor/components/sha256/c882093b0dc9215cf79d8f42afc5db46dce07c8b677f85148a3efa7355d7221b/demo.html +54 -0
- package/vendor/components/sha256/c882093b0dc9215cf79d8f42afc5db46dce07c8b677f85148a3efa7355d7221b/index.js +251 -0
- package/vendor/components/sha256/cd714d22f82d64c80db8fdef33ca03aa618803e8114662ee2692fc7c6ac7168c/CHANGELOG.md +34 -0
- package/vendor/components/sha256/cd714d22f82d64c80db8fdef33ca03aa618803e8114662ee2692fc7c6ac7168c/README.md +35 -0
- package/vendor/components/sha256/cd714d22f82d64c80db8fdef33ca03aa618803e8114662ee2692fc7c6ac7168c/demo.html +69 -0
- package/vendor/components/sha256/cd714d22f82d64c80db8fdef33ca03aa618803e8114662ee2692fc7c6ac7168c/index.js +244 -0
- package/vendor/components/sha256/d0fbcd5e36c0f38c2d8352acee060e783b58cd2ab1ff0f9e7a60da4b2a6e3232/CHANGELOG.md +19 -0
- package/vendor/components/sha256/d0fbcd5e36c0f38c2d8352acee060e783b58cd2ab1ff0f9e7a60da4b2a6e3232/README.md +44 -0
- package/vendor/components/sha256/d0fbcd5e36c0f38c2d8352acee060e783b58cd2ab1ff0f9e7a60da4b2a6e3232/demo.html +44 -0
- package/vendor/components/sha256/d0fbcd5e36c0f38c2d8352acee060e783b58cd2ab1ff0f9e7a60da4b2a6e3232/index.js +334 -0
- package/vendor/components/sha256/d159f55bb5a72bc67c4ffa856bf9e1735d3c37f5cad9673accffc1e1953182e0/CHANGELOG.md +37 -0
- package/vendor/components/sha256/d159f55bb5a72bc67c4ffa856bf9e1735d3c37f5cad9673accffc1e1953182e0/README.md +43 -0
- package/vendor/components/sha256/d159f55bb5a72bc67c4ffa856bf9e1735d3c37f5cad9673accffc1e1953182e0/demo.html +75 -0
- package/vendor/components/sha256/d159f55bb5a72bc67c4ffa856bf9e1735d3c37f5cad9673accffc1e1953182e0/index.js +348 -0
- package/vendor/components/sha256/d29e8fbfd371edf4dea02996c8b43028af511a5f1c212e3b5d89fff68a54e55e/CHANGELOG.md +20 -0
- package/vendor/components/sha256/d29e8fbfd371edf4dea02996c8b43028af511a5f1c212e3b5d89fff68a54e55e/README.md +39 -0
- package/vendor/components/sha256/d29e8fbfd371edf4dea02996c8b43028af511a5f1c212e3b5d89fff68a54e55e/demo.html +70 -0
- package/vendor/components/sha256/d29e8fbfd371edf4dea02996c8b43028af511a5f1c212e3b5d89fff68a54e55e/index.js +134 -0
- package/vendor/components/sha256/d4159ba1206d094364b7735750e5e2532aeabbc299e0d6858e3a0edb84495e11/README.md +22 -0
- package/vendor/components/sha256/d4159ba1206d094364b7735750e5e2532aeabbc299e0d6858e3a0edb84495e11/index.js +59 -0
- package/vendor/components/sha256/d92842c606795528d1246ddb050ac275e1b72659629185750a6e9ac7fdb763a3/README.md +20 -0
- package/vendor/components/sha256/d92842c606795528d1246ddb050ac275e1b72659629185750a6e9ac7fdb763a3/index.js +162 -0
- package/vendor/components/sha256/de611e2477042b14eb9c04bb98ad0bbe6d7b44ca829213dd1a7a2b94d8f946ae/CHANGELOG.md +33 -0
- package/vendor/components/sha256/de611e2477042b14eb9c04bb98ad0bbe6d7b44ca829213dd1a7a2b94d8f946ae/README.md +46 -0
- package/vendor/components/sha256/de611e2477042b14eb9c04bb98ad0bbe6d7b44ca829213dd1a7a2b94d8f946ae/demo.html +43 -0
- package/vendor/components/sha256/de611e2477042b14eb9c04bb98ad0bbe6d7b44ca829213dd1a7a2b94d8f946ae/index.js +278 -0
- package/vendor/components/sha256/de90044c2961a30c88570e41d0c41bfc5037fe691f6f81e12d8e9d3545cd6ec4/CHANGELOG.md +15 -0
- package/vendor/components/sha256/de90044c2961a30c88570e41d0c41bfc5037fe691f6f81e12d8e9d3545cd6ec4/README.md +25 -0
- package/vendor/components/sha256/de90044c2961a30c88570e41d0c41bfc5037fe691f6f81e12d8e9d3545cd6ec4/demo.html +48 -0
- package/vendor/components/sha256/de90044c2961a30c88570e41d0c41bfc5037fe691f6f81e12d8e9d3545cd6ec4/index.js +88 -0
- package/vendor/components/sha256/de9607f86221006e7bad43f1f661c751d9a6f8f9c62da5c7e0d7f1249b9afcd6/README.md +25 -0
- package/vendor/components/sha256/de9607f86221006e7bad43f1f661c751d9a6f8f9c62da5c7e0d7f1249b9afcd6/index.js +122 -0
- package/vendor/components/sha256/e6b022135d0a0bd85a508404f46005986b14d0d175af7ca54b4d024b1e490318/CHANGELOG.md +20 -0
- package/vendor/components/sha256/e6b022135d0a0bd85a508404f46005986b14d0d175af7ca54b4d024b1e490318/README.md +23 -0
- package/vendor/components/sha256/e6b022135d0a0bd85a508404f46005986b14d0d175af7ca54b4d024b1e490318/demo.html +236 -0
- package/vendor/components/sha256/e6b022135d0a0bd85a508404f46005986b14d0d175af7ca54b4d024b1e490318/index.js +572 -0
- package/vendor/components/sha256/e6bbe784ee452d52d534b8fb3a0924e65c49bbb5926139ef5eabd9193500b357/CHANGELOG.md +29 -0
- package/vendor/components/sha256/e6bbe784ee452d52d534b8fb3a0924e65c49bbb5926139ef5eabd9193500b357/README.md +23 -0
- package/vendor/components/sha256/e6bbe784ee452d52d534b8fb3a0924e65c49bbb5926139ef5eabd9193500b357/demo.html +33 -0
- package/vendor/components/sha256/e6bbe784ee452d52d534b8fb3a0924e65c49bbb5926139ef5eabd9193500b357/index.js +121 -0
- package/vendor/components/sha256/eb5efa15920d9883af15d105cc0f7a9b2c781d792faae34a43d44738138b219f/CHANGELOG.md +29 -0
- package/vendor/components/sha256/eb5efa15920d9883af15d105cc0f7a9b2c781d792faae34a43d44738138b219f/README.md +32 -0
- package/vendor/components/sha256/eb5efa15920d9883af15d105cc0f7a9b2c781d792faae34a43d44738138b219f/demo.html +56 -0
- package/vendor/components/sha256/eb5efa15920d9883af15d105cc0f7a9b2c781d792faae34a43d44738138b219f/index.js +232 -0
- package/vendor/components/sha256/ebded96e5827ecf359b73ac0d50a807227d9a06294bd5dabc84263e32c0eeebe/CHANGELOG.md +25 -0
- package/vendor/components/sha256/ebded96e5827ecf359b73ac0d50a807227d9a06294bd5dabc84263e32c0eeebe/README.md +71 -0
- package/vendor/components/sha256/ebded96e5827ecf359b73ac0d50a807227d9a06294bd5dabc84263e32c0eeebe/demo.html +76 -0
- package/vendor/components/sha256/ebded96e5827ecf359b73ac0d50a807227d9a06294bd5dabc84263e32c0eeebe/index.js +777 -0
- package/vendor/components/sha256/ed44804fc14b2755a82960d94cb0322858732ad789fd9a46704ee88955bd65e6/CHANGELOG.md +33 -0
- package/vendor/components/sha256/ed44804fc14b2755a82960d94cb0322858732ad789fd9a46704ee88955bd65e6/README.md +28 -0
- package/vendor/components/sha256/ed44804fc14b2755a82960d94cb0322858732ad789fd9a46704ee88955bd65e6/demo.html +236 -0
- package/vendor/components/sha256/ed44804fc14b2755a82960d94cb0322858732ad789fd9a46704ee88955bd65e6/index.js +600 -0
- package/vendor/components/sha256/ee8519d664179e6b6bb6d2f8cc5b1c07a0ebf3871a8681d28ddd08fecd5f3388/CHANGELOG.md +16 -0
- package/vendor/components/sha256/ee8519d664179e6b6bb6d2f8cc5b1c07a0ebf3871a8681d28ddd08fecd5f3388/README.md +38 -0
- package/vendor/components/sha256/ee8519d664179e6b6bb6d2f8cc5b1c07a0ebf3871a8681d28ddd08fecd5f3388/demo.html +115 -0
- package/vendor/components/sha256/ee8519d664179e6b6bb6d2f8cc5b1c07a0ebf3871a8681d28ddd08fecd5f3388/index.js +361 -0
- package/vendor/components/sha256/ef969fa27f1e11aa52a174874292366c7c8201c7c0d8236a7aef7d7eacf6a177/CHANGELOG.md +27 -0
- package/vendor/components/sha256/ef969fa27f1e11aa52a174874292366c7c8201c7c0d8236a7aef7d7eacf6a177/README.md +27 -0
- package/vendor/components/sha256/ef969fa27f1e11aa52a174874292366c7c8201c7c0d8236a7aef7d7eacf6a177/demo.html +42 -0
- package/vendor/components/sha256/ef969fa27f1e11aa52a174874292366c7c8201c7c0d8236a7aef7d7eacf6a177/index.js +233 -0
- package/vendor/components/sha256/f268cf809438c8af63a42f9c9121110fc7263e4d705c40c6206ce46cf7ec167b/README.md +23 -0
- package/vendor/components/sha256/f268cf809438c8af63a42f9c9121110fc7263e4d705c40c6206ce46cf7ec167b/index.js +180 -0
- package/vendor/components/sha256/f3f55f5ee11ebc66656ca40ff23cd2df6a48f09a2380469f96f8f48033ddf2f7/CHANGELOG.md +31 -0
- package/vendor/components/sha256/f3f55f5ee11ebc66656ca40ff23cd2df6a48f09a2380469f96f8f48033ddf2f7/README.md +36 -0
- package/vendor/components/sha256/f3f55f5ee11ebc66656ca40ff23cd2df6a48f09a2380469f96f8f48033ddf2f7/demo.html +50 -0
- package/vendor/components/sha256/f3f55f5ee11ebc66656ca40ff23cd2df6a48f09a2380469f96f8f48033ddf2f7/index.js +263 -0
- package/vendor/components/sha256/fa8c1e548234bdbfa401bb4b085c5ef24d607a006c377c8c1cf3bcfc52427a5e/CHANGELOG.md +20 -0
- package/vendor/components/sha256/fa8c1e548234bdbfa401bb4b085c5ef24d607a006c377c8c1cf3bcfc52427a5e/README.md +39 -0
- package/vendor/components/sha256/fa8c1e548234bdbfa401bb4b085c5ef24d607a006c377c8c1cf3bcfc52427a5e/demo.html +66 -0
- package/vendor/components/sha256/fa8c1e548234bdbfa401bb4b085c5ef24d607a006c377c8c1cf3bcfc52427a5e/index.js +258 -0
- package/vendor/components/sha256/fadd24868e2730ec14b8f3f1e9cb75b8577a48b8d71beaa12ef089f7a3ba0a7d/README.md +22 -0
- package/vendor/components/sha256/fadd24868e2730ec14b8f3f1e9cb75b8577a48b8d71beaa12ef089f7a3ba0a7d/index.js +37 -0
- package/vendor/components/sha256/faf6a2f0b5df589639de624e75c5b20594f517e4426f6415d152809249b00b92/README.md +19 -0
- package/vendor/components/sha256/faf6a2f0b5df589639de624e75c5b20594f517e4426f6415d152809249b00b92/index.js +200 -0
- package/vendor/components/sha256/fd07adeb4b775e139092dd69a3fcbca4528d08e67be6b9e9cf53d4fd06be775b/CHANGELOG.md +25 -0
- package/vendor/components/sha256/fd07adeb4b775e139092dd69a3fcbca4528d08e67be6b9e9cf53d4fd06be775b/README.md +32 -0
- package/vendor/components/sha256/fd07adeb4b775e139092dd69a3fcbca4528d08e67be6b9e9cf53d4fd06be775b/demo.html +51 -0
- package/vendor/components/sha256/fd07adeb4b775e139092dd69a3fcbca4528d08e67be6b9e9cf53d4fd06be775b/index.js +270 -0
- package/vendor/components/sha256/ffac8bd95044aeb032b20dc8412ced70d09759d993955ef66697d4f2aa7f97a5/CHANGELOG.md +19 -0
- package/vendor/components/sha256/ffac8bd95044aeb032b20dc8412ced70d09759d993955ef66697d4f2aa7f97a5/README.md +34 -0
- package/vendor/components/sha256/ffac8bd95044aeb032b20dc8412ced70d09759d993955ef66697d4f2aa7f97a5/demo.html +60 -0
- package/vendor/components/sha256/ffac8bd95044aeb032b20dc8412ced70d09759d993955ef66697d4f2aa7f97a5/index.js +209 -0
- package/vendor/components-2/manifest-2.2.0.json +1868 -0
- package/vendor/csl/SOURCE.json +17 -0
- package/vendor/csl/locales/locales-en-US.xml +864 -0
- package/vendor/csl/locales/locales-ja-JP.xml +676 -0
- package/vendor/csl/styles/apa.csl +2278 -0
- package/vendor/csl/styles/ieee.csl +519 -0
- package/vendor/csl/styles/sist02.csl +273 -0
- package/vendor/egatari-spec/SOURCE.json +3 -3
- package/vendor/egatari-spec/schema/deck-meta.schema.json +6 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "egatari",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.5-rc.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"homepage": "https://studio.egatari.org/",
|
|
6
6
|
"repository": {
|
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
"vendor/components-2/",
|
|
35
35
|
"vendor/themes/",
|
|
36
36
|
"vendor/egatari-spec/schema/",
|
|
37
|
+
"vendor/csl/",
|
|
37
38
|
"vendor/egatari-spec/LICENSE",
|
|
38
39
|
"vendor/egatari-spec/SOURCE.json",
|
|
39
40
|
"fonts/OFL.txt",
|
|
@@ -73,7 +74,7 @@
|
|
|
73
74
|
"comment-shots": "node tools/comment-shots.mjs",
|
|
74
75
|
"release:assets": "node tools/release-assets.mjs",
|
|
75
76
|
"gen": "node tools/catalog.mjs && node tools/make-llm-guide.mjs && node tools/katex-ranges.mjs && node tools/make-colab-notebook.mjs",
|
|
76
|
-
"gen:check": "node tools/components-update.mjs --check && node tools/themes-lock.mjs --check && node tools/fonts-vendor.mjs --check && node tools/catalog.mjs --check && node tools/make-llm-guide.mjs --check && node tools/katex-ranges.mjs --check && node tools/changelog.mjs --check && node tools/make-colab-notebook.mjs --check && node tools/part-thumbs.mjs --check && node tools/parts-gallery.mjs --verify",
|
|
77
|
+
"gen:check": "node tools/components-update.mjs --check && node tools/themes-lock.mjs --check && node tools/fonts-vendor.mjs --check && node tools/catalog.mjs --check && node tools/make-llm-guide.mjs --check && node tools/part-labels-check.mjs && node tools/katex-ranges.mjs --check && node tools/changelog.mjs --check && node tools/make-colab-notebook.mjs --check && node tools/part-thumbs.mjs --check && node tools/parts-gallery.mjs --verify",
|
|
77
78
|
"thumbs": "node tools/part-thumbs.mjs",
|
|
78
79
|
"changelog": "node tools/changelog.mjs",
|
|
79
80
|
"components:update": "node tools/components-update.mjs",
|
|
@@ -89,10 +90,16 @@
|
|
|
89
90
|
},
|
|
90
91
|
"dependencies": {
|
|
91
92
|
"abcjs": "6.7.2",
|
|
93
|
+
"citeproc": "2.4.63",
|
|
92
94
|
"katex": "0.19.1",
|
|
93
95
|
"lame-wasm": "0.3.0",
|
|
96
|
+
"myst-ext-exercise": "1.0.10",
|
|
97
|
+
"myst-ext-proof": "1.0.13",
|
|
98
|
+
"myst-parser": "1.7.4",
|
|
99
|
+
"myst-transforms": "1.3.51",
|
|
94
100
|
"parse5": "8.0.1",
|
|
95
|
-
"playwright-core": "1.64.1"
|
|
101
|
+
"playwright-core": "1.64.1",
|
|
102
|
+
"vfile": "6.0.3"
|
|
96
103
|
},
|
|
97
104
|
"devDependencies": {
|
|
98
105
|
"@fontsource/andika": "5.3.0",
|
|
@@ -107,5 +114,15 @@
|
|
|
107
114
|
"@fontsource/zen-maru-gothic": "5.3.1",
|
|
108
115
|
"ajv": "8.20.0",
|
|
109
116
|
"esbuild": "0.28.2"
|
|
117
|
+
},
|
|
118
|
+
"overrides": {
|
|
119
|
+
"linkify-it": "5.0.2",
|
|
120
|
+
"csv-parse": "7.0.3",
|
|
121
|
+
"katex": "0.19.1",
|
|
122
|
+
"intersphinx": {
|
|
123
|
+
"js-yaml": {
|
|
124
|
+
"argparse": "3.0.3"
|
|
125
|
+
}
|
|
126
|
+
}
|
|
110
127
|
}
|
|
111
128
|
}
|
package/render/only.mjs
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// render.mjs の --only:段階の鍵(スライドの鍵:段階)か、スライドの鍵・id(そのスライドの全段階)
|
|
2
|
+
// resolveOnly(tokens, tl, ids) → { keys: Set<段階の鍵>, unknown: [字], valid: [スライドの鍵] }
|
|
3
|
+
// tl:DECK.timeline() の [{key, slideKey, i}]、ids:スライドの番号 → DOM の id(なければ null)
|
|
4
|
+
// 段階の鍵が先(段階の鍵と同じ字のスライドの鍵はない:段階の鍵は ":" を含む)。どれにも当たらない字は unknown に返す
|
|
5
|
+
export function resolveOnly(tokens, tl, ids = []) {
|
|
6
|
+
const keys = new Set(), unknown = [];
|
|
7
|
+
for (const t of tokens) {
|
|
8
|
+
const hit = tl.filter((g) => g.key === t || g.slideKey === t || (ids[g.i] && ids[g.i] === t));
|
|
9
|
+
if (!hit.length) unknown.push(t);
|
|
10
|
+
for (const g of hit) keys.add(g.key);
|
|
11
|
+
}
|
|
12
|
+
const valid = [...new Set(tl.map((g) => g.slideKey))];
|
|
13
|
+
return { keys, unknown, valid };
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export function unknownOnlyMessage(unknown, valid, max = 8) {
|
|
17
|
+
const shown = valid.slice(0, max).join(', ') + (valid.length > max ? `, …(ほか ${valid.length - max} 枚 / ${valid.length - max} more)` : '');
|
|
18
|
+
return `--only に当たるスライド・段階がない / --only matches no slide or step: ${unknown.join(', ')}\n`
|
|
19
|
+
+ ` 使えるのはスライドの鍵か id(そのスライドの全段階)、または スライドの鍵:段階 / valid: a slide key or id (all its steps), or slideKey:step\n`
|
|
20
|
+
+ ` スライド / slides: ${shown}`;
|
|
21
|
+
}
|
package/render/render.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// build 済みのデッキ(out/deck.html)→ 段階ごとの動画(clip_NNNN.mp4)と最終状態の静止画(clip_NNNN.png)
|
|
2
2
|
//
|
|
3
|
-
// node render/render.mjs <built.html> --out <dir> [--fps 30] [--scale 1.5] [--only key,...] [--full] [--force]
|
|
3
|
+
// node render/render.mjs <built.html> --out <dir> [--fps 30] [--scale 1.5] [--only key|id|key:step,...] [--full] [--force]
|
|
4
4
|
//
|
|
5
5
|
// - 画面は DECK.seek(i, k, t) だけで描く(docs/contract.md §1)。仮想の時刻 t = f/fps でコマを撮る
|
|
6
6
|
// - 動きのある区間 [0, motion)(motion = max(anim, 注目の演出の終わり))だけを fps で撮り、残り(dur - anim)は最終状態(t = Infinity)の 1 枚を伸ばす
|
|
@@ -23,6 +23,7 @@ import { pathToFileURL, fileURLToPath } from 'node:url';
|
|
|
23
23
|
import { launch } from '../kit/browser.mjs';
|
|
24
24
|
import { readRegular, READ_LIMITS } from '../kit/bounded-read.mjs';
|
|
25
25
|
import { encodeWav } from '../kit/core/wav-core.mjs';
|
|
26
|
+
import { resolveOnly, unknownOnlyMessage } from './only.mjs';
|
|
26
27
|
import { collectVideoEvents, videoSoundEvents, renderStepSounds, frameStarts } from './sounds.mjs';
|
|
27
28
|
|
|
28
29
|
const RENDER_VERSION = 5; // 書き出しの方法を変えたら上げる(キャッシュを捨てる)
|
|
@@ -42,12 +43,12 @@ function parseArgs(argv) {
|
|
|
42
43
|
else o.src = a;
|
|
43
44
|
}
|
|
44
45
|
if (!o.src || !o.out) {
|
|
45
|
-
console.error('usage: node render/render.mjs <built.html> --out <dir> [--fps 30] [--scale 1.5] [--only key,...] [--full] [--force]');
|
|
46
|
+
console.error('usage: node render/render.mjs <built.html> --out <dir> [--fps 30] [--scale 1.5] [--only key|id|key:step,...] [--full] [--force]');
|
|
46
47
|
process.exit(1);
|
|
47
48
|
}
|
|
48
49
|
if (!Number.isInteger(o.fps) || o.fps < 1 || o.fps > 120) { console.error(`--fps は 1〜120 の整数 / --fps must be an integer in 1..120(${o.fps})`); process.exit(1); }
|
|
49
50
|
if (!Number.isFinite(o.scale) || o.scale < 0.25 || o.scale > 4) { console.error(`--scale は 0.25〜4 / --scale must be in 0.25..4(${o.scale})`); process.exit(1); }
|
|
50
|
-
if (o.only && !o.only.size) { console.error('--only に鍵がない / --only needs at least one key'); process.exit(1); }
|
|
51
|
+
if (o.only && !o.only.size) { console.error('--only に鍵がない / --only needs at least one slide key, id or step key'); process.exit(1); }
|
|
51
52
|
return o;
|
|
52
53
|
}
|
|
53
54
|
|
|
@@ -158,7 +159,8 @@ async function main() {
|
|
|
158
159
|
await page.goto(htmlUrl + '?mode=video' + (o.captions ? '&captions=1' : ''));
|
|
159
160
|
await page.waitForFunction(() => window.DECK && DECK.ready, null, { timeout: 30000 });
|
|
160
161
|
await page.evaluate(() => document.fonts.ready.then(() => true));
|
|
161
|
-
const { tl, narration } = await page.evaluate(() => ({ tl: DECK.timeline(), narration: DECK.NARRATION }));
|
|
162
|
+
const { tl, narration, ids } = await page.evaluate(() => ({ tl: DECK.timeline(), narration: DECK.NARRATION, ids: DECK.slides.map((x) => x.id || null) }));
|
|
163
|
+
let onlyKeys = null;
|
|
162
164
|
const soundEvents = videoSoundEvents(tl, await page.evaluate(collectVideoEvents), o.fps);
|
|
163
165
|
// 音色の変更・前の段階からの余韻もキャッシュの入力にする。
|
|
164
166
|
const soundHash = sha(JSON.stringify(soundEvents), readRegular(fileURLToPath(new URL('../kit/core/sounds.mjs', import.meta.url)), { max: READ_LIMITS.built }));
|
|
@@ -185,8 +187,9 @@ async function main() {
|
|
|
185
187
|
}, htmlText);
|
|
186
188
|
if (!inputs.ok) console.warn(' ⚠ build 済みの HTML のスライドが数えられない。HTML 全体を全段階の入力にする(キャッシュが効きにくい)');
|
|
187
189
|
if (o.only) {
|
|
188
|
-
const
|
|
189
|
-
if (unknown.length)
|
|
190
|
+
const r = resolveOnly([...o.only], tl, ids);
|
|
191
|
+
if (r.unknown.length) throw Object.assign(new Error(unknownOnlyMessage(r.unknown, r.valid)), { clean: true });
|
|
192
|
+
onlyKeys = r.keys;
|
|
190
193
|
}
|
|
191
194
|
const globalHash = sha(String(RENDER_VERSION), inputs.global, String(inputs.n));
|
|
192
195
|
const slideHash = inputs.slideHtml.map((h) => sha(h));
|
|
@@ -237,7 +240,7 @@ async function main() {
|
|
|
237
240
|
slides: inputs.ok ? per.deps.map((j) => slideHash[j]) : null, data: per.data, key: s.key, i: s.i, k: s.k,
|
|
238
241
|
dur: s.dur, lead: s.lead, anim: s.anim, motion, frames: N, nA, fps: o.fps, scale: o.scale, captions: o.captions }));
|
|
239
242
|
rec.input = input;
|
|
240
|
-
if (
|
|
243
|
+
if (onlyKeys && !onlyKeys.has(s.key)) { fs.rmSync(tmp, { recursive: true, force: true }); continue; }
|
|
241
244
|
|
|
242
245
|
const final = path.join(tmp, 'final.png');
|
|
243
246
|
const finalBuf = await shot(s.i, s.k, Infinity, final);
|
|
@@ -330,4 +333,4 @@ async function main() {
|
|
|
330
333
|
if (errs.length) { console.warn('ページのエラー:'); for (const e of errs) console.warn(' ' + e); }
|
|
331
334
|
}
|
|
332
335
|
|
|
333
|
-
main().catch((e) => { console.error(e.stack || e.message); process.exit(1); });
|
|
336
|
+
main().catch((e) => { console.error(e.clean ? e.message : e.stack || e.message); process.exit(1); });
|
package/tools/ids.mjs
CHANGED
|
@@ -11,15 +11,25 @@
|
|
|
11
11
|
// - 書き換えるファイルは、先に .cache/edits/<時刻>-<名前> に控えを残す(開発サーバーと同じ。新しい 30 個)
|
|
12
12
|
// - 改行(CRLF / LF)はそのまま。2 回目は何も変えない
|
|
13
13
|
// - 鍵が重なる・id がほかの id と重なる・id の書式が誤っているデッキでは何もしない(先に手で直す)
|
|
14
|
+
// - 本文(article.md・article/<名前>.md、format spec §9C.3)の id のない「## 見出し」の前の行に (sec-xxxxxx)= を足す
|
|
15
|
+
// - スライドと本文の節のつながり(§9C.5)で記録のない組の hash を egatari.json の articleLinks に記録する(§9C.7。もうつながっていない組の記録は外す)。
|
|
16
|
+
// --confirm-links:つながっているすべての組を今の hash で記録し直す(読み比べて「合っている」と確かめたとき。check の「スライドと本が
|
|
17
|
+
// 合っていないかもしれません」を消す)
|
|
14
18
|
import fs from 'node:fs';
|
|
15
19
|
import path from 'node:path';
|
|
16
|
-
import { analyzeSlideIds } from '../kit/build.mjs';
|
|
20
|
+
import { analyzeSlideIds, nodeEnv } from '../kit/build.mjs';
|
|
21
|
+
import { loadArticle, articleLinkReport } from '../kit/core/article-page.mjs';
|
|
22
|
+
import { recordLinks } from '../kit/core/article-links.mjs';
|
|
17
23
|
import { splitKey, isSlideId } from '../kit/narration.mjs';
|
|
18
24
|
import { planIds, rewriteDeckIds, rewriteNarrationIds } from '../kit/core/slide-ids.mjs';
|
|
19
25
|
import { safeWriteFile, readContained, checkWritable, backupFile, pruneBackups } from '../kit/safe-fs.mjs';
|
|
20
26
|
import { READ_LIMITS } from '../kit/bounded-read.mjs';
|
|
27
|
+
import { articleLayout, articleFiles, assignSectionIds, readArticle } from '../kit/core/article.mjs';
|
|
28
|
+
import { configObject, updateConfig } from '../kit/core/config-file.mjs';
|
|
29
|
+
import { FORMAT } from '../kit/core/format.mjs';
|
|
30
|
+
import { ARTICLE_LIMITS } from '../kit/core/article-text.mjs';
|
|
21
31
|
|
|
22
|
-
const USAGE = 'usage: npm run ids -- <working folder | deck.html> [--dry-run]';
|
|
32
|
+
const USAGE = 'usage: npm run ids -- <working folder | deck.html> [--dry-run] [--confirm-links]';
|
|
23
33
|
const KEEP_EDITS = 30;
|
|
24
34
|
const fail = (msg) => { console.error(`ids: ${msg}`); process.exit(1); };
|
|
25
35
|
const shown = (p) => { const r = path.relative(process.env.INIT_CWD || process.cwd(), p); return !r || r.startsWith('..') || path.isAbsolute(r) ? p : r; };
|
|
@@ -27,7 +37,8 @@ const shown = (p) => { const r = path.relative(process.env.INIT_CWD || process.c
|
|
|
27
37
|
// ---------------------------------------------------------------- 引数
|
|
28
38
|
const args = process.argv.slice(2);
|
|
29
39
|
const dry = args.includes('--dry-run');
|
|
30
|
-
const
|
|
40
|
+
const confirmLinks = args.includes('--confirm-links');
|
|
41
|
+
const rest = args.filter((a) => a !== '--dry-run' && a !== '--confirm-links');
|
|
31
42
|
if (args.includes('-h') || args.includes('--help')) { console.log(USAGE); process.exit(0); }
|
|
32
43
|
if (rest.length !== 1 || rest[0].startsWith('--')) fail(USAGE);
|
|
33
44
|
const base = process.env.INIT_CWD || process.cwd();
|
|
@@ -37,7 +48,7 @@ if (!fs.existsSync(SRC)) fail(`not found: ${SRC}`);
|
|
|
37
48
|
const DIR = path.dirname(SRC);
|
|
38
49
|
// 読み書きは原稿のフォルダの中だけ(kit/safe-fs.mjs:外を指すリンクは読まない、リンクを通しては書かない。format spec §11)
|
|
39
50
|
// 上限(バイト。kit/core/bounded-read-core.mjs の READ_LIMITS):原稿・口述原稿・コメント・小さな JSON(manifest・timeline)ごとに。超えれば読まずに断る
|
|
40
|
-
const limitOf = (file) => { const b = path.basename(file); return b === 'narration.md' ? READ_LIMITS.narration : b === 'comments.json' ? READ_LIMITS.comments : /\.json$/i.test(b) ? READ_LIMITS.json : READ_LIMITS.source; };
|
|
51
|
+
const limitOf = (file) => { const b = path.basename(file); return /\.md$/i.test(b) && b !== 'narration.md' ? ARTICLE_LIMITS.fileBytes : b === 'narration.md' ? READ_LIMITS.narration : b === 'comments.json' ? READ_LIMITS.comments : /\.json$/i.test(b) ? READ_LIMITS.json : READ_LIMITS.source; };
|
|
41
52
|
const rd = (file) => { try { return readContained(DIR, file, 'utf8', { max: limitOf(file) }); } catch (e) { fail(e.message); } };
|
|
42
53
|
const has = (file) => rd(file) !== null;
|
|
43
54
|
const FILES = { narration: path.join(DIR, 'narration.md'), manifest: path.join(DIR, 'audio', 'manifest.json'),
|
|
@@ -53,7 +64,35 @@ if (problems.length) {
|
|
|
53
64
|
for (const p of problems) console.error(' ' + p.msg);
|
|
54
65
|
process.exit(1);
|
|
55
66
|
}
|
|
56
|
-
|
|
67
|
+
// 本文の節の id(§9C.3):スライドの id と本文のほかの名前を避ける
|
|
68
|
+
const articleWrites = [], articleSummary = [];
|
|
69
|
+
{
|
|
70
|
+
const rels = [];
|
|
71
|
+
if (has(path.join(DIR, 'article.md'))) rels.push('article.md');
|
|
72
|
+
if (has(path.join(DIR, 'references.json'))) rels.push('references.json');
|
|
73
|
+
const ad = path.join(DIR, 'article');
|
|
74
|
+
try { if (fs.lstatSync(ad).isDirectory()) for (const n of fs.readdirSync(ad)) rels.push(`article/${n}`); } catch { /* 章はない */ }
|
|
75
|
+
const taken = new Set([...slides.map((s) => s.key), ...plan.docIds.keys(), ...newIds.values()]);
|
|
76
|
+
// egatari.json があって article(読む順、§9C.7)がなければ、使った順(種類の順、その中は名前の順)を書く
|
|
77
|
+
const cfgFile = path.join(DIR, FORMAT.CONFIG_FILE), cfgText = rd(cfgFile);
|
|
78
|
+
let conf = null;
|
|
79
|
+
try { conf = cfgText === null ? null : configObject(cfgText); } catch (e) { fail(e.message); }
|
|
80
|
+
const layout = articleLayout(rels, conf);
|
|
81
|
+
if (conf && layout.order === 'kind') {
|
|
82
|
+
const a = readArticle({ ...layout.index }, (rel) => rd(path.join(DIR, ...rel.split('/'))) ?? '', { order: 'kind' });
|
|
83
|
+
const value = { chapters: a.index.chapters, ...(layout.index.references ? { references: layout.index.references } : {}) };
|
|
84
|
+
articleWrites.push([cfgFile, updateConfig(cfgText, { article: value }), FORMAT.CONFIG_FILE, 0]);
|
|
85
|
+
articleSummary.push(`${FORMAT.CONFIG_FILE}: article の読む順を書いた / wrote the reading order: ${value.chapters.join(', ')}`);
|
|
86
|
+
}
|
|
87
|
+
for (const rel of articleFiles(layout.index)) {
|
|
88
|
+
const file = path.join(DIR, ...rel.split('/'));
|
|
89
|
+
const text = rd(file);
|
|
90
|
+
if (text === null) continue;
|
|
91
|
+
const r = assignSectionIds(text, taken);
|
|
92
|
+
for (const a of r.added) { taken.add(a.id); articleSummary.push(` ${rel}:${a.line} ${a.id} ← ## ${a.heading}`); }
|
|
93
|
+
if (r.added.length) articleWrites.push([file, r.out, rel, r.added.length]);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
57
96
|
|
|
58
97
|
// ---------------------------------------------------------------- 2・3. deck.html(id を足し、data-morph の参照を付け替える)と narration.md(「## 見出し {#id}」に)
|
|
59
98
|
const rewriteDeck = (text) => rewriteDeckIds(text, plan);
|
|
@@ -98,9 +137,13 @@ function rewriteJson(file, fn) {
|
|
|
98
137
|
const writes = []; // [file, text]
|
|
99
138
|
const summary = [];
|
|
100
139
|
const deck = rewriteDeck(src);
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
140
|
+
if (rename.size) {
|
|
141
|
+
writes.push([SRC, deck.out]);
|
|
142
|
+
summary.push(`deck.html: ${rename.size} 枚に id を付けた${deck.morphs ? `、data-morph ${deck.morphs} 個を付け替えた` : ''}`);
|
|
143
|
+
for (const s of slides) if (newIds.has(s.index)) summary.push(` ${String(s.index + 1).padStart(3)} ${newIds.get(s.index)} ← ${s.key}`);
|
|
144
|
+
}
|
|
145
|
+
for (const [file, text, rel, n] of articleWrites) { writes.push([file, text]); if (n) summary.push(`${rel}: 節 ${n} 個に id を付けた / added ${n} section id(s)`); }
|
|
146
|
+
summary.push(...articleSummary);
|
|
104
147
|
|
|
105
148
|
if (has(FILES.narration)) {
|
|
106
149
|
const text = rd(FILES.narration);
|
|
@@ -140,6 +183,28 @@ if (has(FILES.comments)) {
|
|
|
140
183
|
if (after.problems.length || after.slides.some((s) => !isSlideId(s.id || ''))) fail('書き換えた原稿の検査に失敗した(何も書いていない): ' + after.problems.map((p) => p.msg).join(' / '));
|
|
141
184
|
}
|
|
142
185
|
|
|
186
|
+
// ---------------------------------------------------------------- 5A. スライドと節のつながりの記録(§9C.7):書き換えた後の原稿で求める
|
|
187
|
+
{
|
|
188
|
+
const overlay = new Map(writes.map(([f, t]) => [path.resolve(f), t]));
|
|
189
|
+
const env = { ...nodeEnv, readText: (p, max) => (overlay.has(path.resolve(p)) ? overlay.get(path.resolve(p)) : nodeEnv.readText(p, max)) };
|
|
190
|
+
let L = null;
|
|
191
|
+
try { L = loadArticle(env, SRC, {}); } catch (e) { fail(`article: ${e.message}`); }
|
|
192
|
+
if (L && L.index) {
|
|
193
|
+
const lr = await articleLinkReport(L);
|
|
194
|
+
const rec = recordLinks(lr.recorded, lr.current, lr.pairs, { mode: confirmLinks ? 'all' : 'missing' });
|
|
195
|
+
const cfgFile = path.join(DIR, FORMAT.CONFIG_FILE);
|
|
196
|
+
if (rec.added.length || rec.removed.length) {
|
|
197
|
+
const i = writes.findIndex(([f]) => path.resolve(f) === path.resolve(cfgFile));
|
|
198
|
+
const cfgText = i >= 0 ? writes[i][1] : rd(cfgFile);
|
|
199
|
+
const text = updateConfig(cfgText, { articleLinks: rec.links || undefined });
|
|
200
|
+
if (i >= 0) writes[i][1] = text; else writes.push([cfgFile, text]);
|
|
201
|
+
if (rec.added.length) summary.push(`${FORMAT.CONFIG_FILE}: スライドと節のつながり ${rec.added.length} 組を${confirmLinks ? '確かめた印として記録し直した' : '記録した'} / ${confirmLinks ? 'confirmed' : 'recorded'} ${rec.added.length} slide–section link(s): ${rec.added.map((x) => `${x.slide}↔${x.section}`).join(', ')}`);
|
|
202
|
+
if (rec.removed.length) summary.push(`${FORMAT.CONFIG_FILE}: もうつながっていない組の記録 ${rec.removed.length} 個を外した / dropped ${rec.removed.length} record(s) of pairs no longer linked`);
|
|
203
|
+
} else if (confirmLinks) summary.push(`${FORMAT.CONFIG_FILE}: つながりの記録はどれも今の原稿と同じ / every link record already matches`);
|
|
204
|
+
} else if (confirmLinks) summary.push('本文がない / no article: --confirm-links has nothing to confirm');
|
|
205
|
+
}
|
|
206
|
+
if (!writes.length) { console.log(`ids: ${shown(SRC)}: どのスライドにも id がある。変えるものはない / every slide already has an id; nothing to do${summary.length ? '\n' + summary.filter((x) => !/変えるものはない/.test(x)).join('\n') : ''}`.trimEnd()); process.exit(0); }
|
|
207
|
+
|
|
143
208
|
// ---------------------------------------------------------------- 6. 控えを残して書く
|
|
144
209
|
// 控えも書き込みも、リンクを通らない(kit/safe-fs.mjs)。どれか 1 つでも断るなら、何も書かないうちに断る
|
|
145
210
|
const EDITS_REL = path.join('.cache', 'edits');
|
|
@@ -152,4 +217,4 @@ if (!dry) {
|
|
|
152
217
|
pruneBackups(DIR, EDITS_REL, KEEP_EDITS);
|
|
153
218
|
}
|
|
154
219
|
console.log((dry ? '[dry-run] ' : '') + summary.join('\n'));
|
|
155
|
-
if (!dry) console.log(`控え / backups: ${shown(EDITS)}\n動画(render/)の書き出しは鍵が変わったので作り直しになる / re-render videos: their keys changed`);
|
|
220
|
+
if (!dry) console.log(`控え / backups: ${shown(EDITS)}${rename.size ? '\n動画(render/)の書き出しは鍵が変わったので作り直しになる / re-render videos: their keys changed' : ''}`);
|
package/tools/portable.mjs
CHANGED
|
@@ -21,6 +21,7 @@ import { LOCK_FILE, VENDOR_COMPONENTS, VERSION_RE, resolveComponent, parseLock,
|
|
|
21
21
|
import { normalizeEol } from '../kit/core/identity-hash.mjs';
|
|
22
22
|
import { THEMES_LOCK_FILE, parseThemesLock, themeVersionForSha, themeUpdate, themePinnedWarning } from '../kit/core/themes-lock.mjs';
|
|
23
23
|
import { readRegular, READ_LIMITS } from '../kit/bounded-read.mjs';
|
|
24
|
+
import { CITEPROC_CREDIT } from '../kit/core/citeproc-credit.mjs';
|
|
24
25
|
import { buildPortable, defaultPortableOut, writeOutput, nodeEnv } from '../kit/build.mjs';
|
|
25
26
|
import { titleOf } from '../kit/core/export-name.mjs';
|
|
26
27
|
import { safeWriteFile, checkWritable, readContained } from '../kit/safe-fs.mjs';
|
|
@@ -263,6 +264,7 @@ if (process.argv[1] && path.resolve(process.argv[1]) === fileURLToPath(import.me
|
|
|
263
264
|
writeOutput(src, out, r.html);
|
|
264
265
|
console.log(`packed ${r.stats.files} source files, ${r.stats.audio} audio (docId ${r.index.docId}, sourceSha256 ${r.index.sourceSha256.slice(0, 12)}…) -> ${out}`);
|
|
265
266
|
for (const w of r.warnings) console.warn(' ⚠ ' + w);
|
|
267
|
+
if (r.stats.citeproc) console.log(CITEPROC_CREDIT); // citeproc-js の帰属の表示(CPAL-1.0 の Exhibit B。NOTICE)
|
|
266
268
|
const lw = playOnly ? null : liveResultsWarning(r.stats.liveResults);
|
|
267
269
|
if (lw) console.warn(' ⚠ portable: ' + lw);
|
|
268
270
|
} else if (cmd === 'attach' && pos.length === 2) {
|
package/tools/sheet.mjs
CHANGED
|
@@ -35,11 +35,13 @@ export async function sheet(arg, o = {}) {
|
|
|
35
35
|
let page = null, tmp = null, base;
|
|
36
36
|
const st = (() => { try { return fs.statSync(arg); } catch { return null; } })();
|
|
37
37
|
if (!st) throw new Error(`${arg}: no such file or folder`);
|
|
38
|
-
if (st.isDirectory()) base = path.join(arg, 'out', o.steps ? 'steps.png' : 'sheet.png');
|
|
39
|
-
else base = path.join(path.dirname(arg), path.basename(arg).replace(/(\.ega)?\.html?$/i, '') + (o.steps ? '.steps.png' : '.sheet.png'));
|
|
40
38
|
// 組んだ HTML(実行部分を含む)と .ega.html はそのまま開く。デッキの原稿(deck.html)は組んでから開く
|
|
39
|
+
const source = st.isDirectory() || (!/\.ega\.html$/i.test(arg) && !/DECK\.ready/.test(readRegular(arg, { max: READ_LIMITS.source }).toString('utf8')));
|
|
40
|
+
// 出力:作業フォルダと原稿は <作業フォルダ>/out/(組んだものの置き場。原稿の横に書かない)、組んだ HTML と .ega.html はその横
|
|
41
|
+
if (source) base = path.join(st.isDirectory() ? arg : path.dirname(arg), 'out', o.steps ? 'steps.png' : 'sheet.png');
|
|
42
|
+
else base = path.join(path.dirname(arg), path.basename(arg).replace(/(\.ega)?\.html?$/i, '') + (o.steps ? '.steps.png' : '.sheet.png'));
|
|
41
43
|
let target = arg;
|
|
42
|
-
if (
|
|
44
|
+
if (source) {
|
|
43
45
|
const r = build(resolveDeckArg(arg), {});
|
|
44
46
|
tmp = fs.mkdtempSync(path.join(os.tmpdir(), 'egatari-sheet-'));
|
|
45
47
|
target = path.join(tmp, 'deck.html');
|
|
@@ -41,15 +41,15 @@
|
|
|
41
41
|
| [`<m-tree>`](sha256/e0daed8338f51de7e86b5980a098394298455972218370ee65331ca48f7f9696/README.md) | 1.13.1 | 階層・分類の木(組織図、生物の分類など)を、根から 1 段ずつ組み立てる。座標は書かず、配置は部品が決める | 節の深さの数(by="level"、既定)か節の数(by="node")。節と edges の step があればその最大 | orient, by, link, size, fade, draw | [demo](sha256/e0daed8338f51de7e86b5980a098394298455972218370ee65331ca48f7f9696/demo.html) |
|
|
42
42
|
| [`<m-venn>`](sha256/82b2dbc925a4ae4511bb48ccb1777a3932313ac7e18cb91572371d272a930980/README.md) | 1.13.1 | 2 つか 3 つの集合の円(ベン図)。集合を 1 つずつ出し、最後に重なりを強めてその中の項目を出す | 集合の数 + 1(overlaps="each" なら 集合の数 + 項目のある重なりの数) | size, dur, spread, overlaps | [demo](sha256/82b2dbc925a4ae4511bb48ccb1777a3932313ac7e18cb91572371d272a930980/demo.html) |
|
|
43
43
|
|
|
44
|
-
## 2.x のパーツ(components2.lock.json の既定の版 2.
|
|
44
|
+
## 2.x のパーツ(components2.lock.json の既定の版 2.2.0)
|
|
45
45
|
|
|
46
46
|
1.x の目録にない、2.x 専用の要素パーツ(`kind: "element"`)。土台パーツ(`kind: "library"`:base・boxplot-core・codetree-core・
|
|
47
47
|
expr・heatmap-core・hist-core・icons・kanbun-core・markup-reader・plot・shape)は教材の作者が直接書かないので一覧には出さない。
|
|
48
48
|
|
|
49
49
|
| 部品 | 版 | 内容 | 段階の数 | 受け取る値 | 見本 |
|
|
50
50
|
|---|---|---|---|---|---|
|
|
51
|
-
| [`<m-cards>`](sha256/
|
|
52
|
-
| [`<m-orbit>`](sha256/
|
|
53
|
-
| [`<m-score>`](sha256/
|
|
51
|
+
| [`<m-cards>`](sha256/68c9e866e3cd3e2f8179ede44a005c7f31cef0ed07fd5770ec33f0cc3aa80a41/README.md) | 2.0.2 | カード(番号の丸・アイコン・見出し・説明)を横一列か 2 段に並べ、段階ごとに出す。矢印で順を、枠の色で強調を見せる | カードの step の最大(既定はカード 1 枚 = 1 段階。per-step で n 枚ずつ) | layout, arrows, nums, hilite, per-step, stagger, dur | [demo](sha256/68c9e866e3cd3e2f8179ede44a005c7f31cef0ed07fd5770ec33f0cc3aa80a41/demo.html) |
|
|
52
|
+
| [`<m-orbit>`](sha256/37ea0051e8a1f2d7c2fa2d38e57730e5a3b1afabe9037a74fcad6e6f05356c09/README.md) | 2.0.3 | 月の満ち欠け(金星の満ち欠け)。北極の上から見た図と地球から見た形を並べ、月を位置から位置へ動かす。形は位置から計算する | 動く先の数(既定は 8 つの位置を新月から 1 周 = 8 段階。visit で決める) | mode, hemisphere, sun, earth, moon, observer, size, dur | [demo](sha256/37ea0051e8a1f2d7c2fa2d38e57730e5a3b1afabe9037a74fcad6e6f05356c09/demo.html) |
|
|
53
|
+
| [`<m-score>`](sha256/abbe3a79cdd442191cb76ac572a7fa62af694850c115c4abba30356bae5f475f/README.md) | 2.1.0 | 楽譜(五線譜)を 1 音・和音ずつ、または 1 小節ずつ出して音も鳴らす。ABC 記譜法で書く | 音符・和音・休符 1 つ=1 段階。by="measure" なら 1 小節=1 段階(per-step="N" なら N 小節。弱起の小節は次の段階に入る) | by, names, per-step | [demo](sha256/abbe3a79cdd442191cb76ac572a7fa62af694850c115c4abba30356bae5f475f/demo.html) |
|
|
54
54
|
|
|
55
55
|
名前で引く線のアイコン(土台パーツ `icons`)は[この README](sha256/fc74310c1964554e53b0cf2f0c58bdd87fc997cec8201f23eaef487e310059a3/README.md) を見る。
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# m-map-japan changelog
|
|
2
|
+
|
|
3
|
+
The part's own versions (Egatari spec §6.1). Releases of the whole library are in the repository's CHANGELOG.md.
|
|
4
|
+
|
|
5
|
+
## 2.0.2 (components 2.2.0)
|
|
6
|
+
|
|
7
|
+
- Requires base 1.1.0 (sub- and superscripts at least 24px, a measured text-width estimate).
|
|
8
|
+
- Fix: legend, caption and chip widths use base's measured textWidth in the deck's font (0.6 em before, with a second, wider 0.72 em pass for the legend, which is gone: the legend is placed once with 4 px of room). In a small element the 南西諸島 caption or the legend can now fit where it was dropped before.
|
|
9
|
+
|
|
10
|
+
## 2.0.1 (components 2.1.2)
|
|
11
|
+
|
|
12
|
+
- Fix: in a dark theme the value classes collapsed (the lightest class was set below the darkest). When --bg is darker than --fg the lightness ramp now runs the other way, from just above the background and the land colour up toward --fg, so the classes stay apart; the light theme is unchanged.
|
|
13
|
+
- Fix: one unknown prefecture key in `values` or `regions`, an unknown region group, a value that is not a number, or `classes` that do not increase threw, and the whole map became a placeholder. Each is now reported (`data`) and skipped (classes fall back to the quartiles), and the rest is drawn.
|
|
14
|
+
- Fix: the host had an aria-label but no role, so the name was never exposed. It now has role="figure" (its readable paragraph stays readable).
|
|
15
|
+
|
|
16
|
+
## 2.0.0 (components 2.0.0-rc.1 and 2.0.0)
|
|
17
|
+
|
|
18
|
+
- Moved to `egatariParts.define({name: "map-japan", version: "2.0.0", requires: {base: "1.0.0"}, element: "m-map-japan"})`,
|
|
19
|
+
extending `base.MotionElement` with `base.el` / `prog` / `variant` / `previewOpacity`; `static partName = "map-japan"`.
|
|
20
|
+
The DOM is byte-identical to 1.13.0 on its demo and on `tools/fixtures/c2-identity/map-japan.html` (the inset redraw,
|
|
21
|
+
`layout="true"`, small elements, reported cases) at every step (tools/test-c2-identity.mjs).
|
|
22
|
+
- The map data (`map-japan-data`, from Natural Earth 5.1.1, public domain, with its credit lines) is byte-for-byte as in
|
|
23
|
+
1.13.0.
|
|
24
|
+
- Variants: `base.variant(this)` instead of the embedded `egatari-variant` block.
|
|
25
|
+
- Drawing moved from `mount(ctx, retry)` to `draw(ctx, retry)`, called by `mount(ctx)`: the redraw without the 小笠原諸島
|
|
26
|
+
inset calls `draw` again (in 2.0 the instance's `mount` is base's contained wrapper, which takes only `ctx`).
|
|
27
|
+
- Reports (1.13.0: `console.warn("m-map-japan: …")`, same English text, now `[map-japan] …`):
|
|
28
|
+
`ctx.report("attr", …)` for a `layout`, `islands` or `show` value it does not know; `ctx.report("data", …)` for more
|
|
29
|
+
than 5 classes, a value below the first class, and a point, arrow or shape in the 小笠原諸島 area that is not drawn;
|
|
30
|
+
`ctx.report("size", …)` for a label with no room or overlapping another, the inset left out for lack of room and pieces
|
|
31
|
+
dropped from a small element; `ctx.report("theme", …)` when the theme's colours give classes too close in lightness.
|
|
32
|
+
- The preview view is `ctx.preview` alone (1.13.0 also accepted `ctx.mode === "lecture"`).
|
|
33
|
+
- Ids: none written.
|
|
34
|
+
|
|
35
|
+
## 1.13.0
|
|
36
|
+
|
|
37
|
+
As released in the library's 1.13.0.
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: m-map-japan
|
|
3
|
+
version: 2.0.2
|
|
4
|
+
series: social
|
|
5
|
+
tier: specialized
|
|
6
|
+
set: maps
|
|
7
|
+
summary: 日本の 47 都道府県の地図。地域の強調、統計の塗り分け、点、矢印、経度・緯度の重ね描きを段階ごとに出す
|
|
8
|
+
steps: 項目の step の最大(既定 1)。地図そのものは段階 0 から出ている
|
|
9
|
+
purposes: spatial
|
|
10
|
+
variants: fade, sweep, draw
|
|
11
|
+
props: layout, islands, labels, show, unit, digits, legend, dur
|
|
12
|
+
data-credit: 地図データ:Natural Earth(パブリックドメイン)を加工
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
地理・歴史の授業で場所を示すときに使う。子の JSON(どれも `step` `at` `tone` を持てる):
|
|
16
|
+
|
|
17
|
+
- `regions`:`id`(`"01"`〜`"47"`)か `group`(`hokkaido` `tohoku` `kanto` `chubu` `kinki` `chugoku` `shikoku` `kyushu`)。`label`
|
|
18
|
+
- `values`:`{"13": 1406, …}` と `classes`(階級の下限、既定は 4 階級、5 つまで)で塗り分け。凡例に階級を書く。塗り分けの段階は `valuesStep`(既定 1。`values` は `step` を持てない)
|
|
19
|
+
- `points`:`lon` `lat`(または `code` で県庁の位置)、`label`、`anchor`
|
|
20
|
+
- `flows`:`from` `to`(番号か `[経度, 緯度]`)の矢印。`via`(通る点 `[[経度, 緯度], …]`。海の道は沖に)、`label` `labelAt` `value`(数。線の太さが値で変わる:いちばん大きい値で 10 px、0 で 3 px、ないと 4 px)
|
|
21
|
+
- `shapes`:`polygon` か `line`(`[[経度, 緯度], …]`)。`label` `dash`
|
|
22
|
+
|
|
23
|
+
`labels`:`focus`(既定)・`all`・`none`。`show="value"` で入る地域に値を書く(既定は書かない)。
|
|
24
|
+
|
|
25
|
+
日本の範囲・東西南北の端・排他的経済水域を見せるときは layout="true"(小窓なし、本当の位置)
|
|
26
|
+
|
|
27
|
+
地図データ:Natural Earth(パブリックドメイン)を加工。
|
|
28
|
+
|
|
29
|
+
<!-- llm: omit -->
|
|
30
|
+
注意
|
|
31
|
+
|
|
32
|
+
- 領土は日本政府の立場のとおり:北方領土(国後・択捉・色丹・歯舞)は北海道、竹島は島根県、尖閣諸島は沖縄県(docs/map-design.md §4.5)。データに固定した性質で、授業ごとに切り替えることはできない
|
|
33
|
+
- 地図データは `tools/map/build-japan.mjs` が Natural Earth 5.1.1 の 1:10m(`ne_10m_admin_1_states_provinces` と、竹島のために `ne_10m_admin_0_countries_jpn`)から作り、`index.js` の BEGIN/END map-japan-data の間に書く。手で直さない。作り直し方は `tools/map/README.md`
|
|
34
|
+
- Natural Earth の admin-1 は奄美群島を沖縄県に入れているので、鹿児島県に直している。北方領土は admin-1 ではサハリン州なので北海道に移している
|
|
35
|
+
- 図法は正角円錐図法(標準緯線 30°・42°、中央経線 136°E)。`layout="inset"`(既定)では、本図を要素の高さいっぱいに描き、九州の左下に南西諸島(沖縄県とトカラ列島・奄美群島)の枠(島の範囲にぴったり、高さは本図の 0.42 倍で島が枠を満たす縮尺)を置く。`islands="all"` のときだけ、右下に小笠原諸島(鳥島・父島・硫黄島・沖ノ鳥島・南鳥島を含む、本図の 0.5 倍)の枠も置く(v1.8.0 から。v1.7.x までは小笠原諸島の枠がいつもあった)。枠の上に「(縮尺は本図と異なる)」と書く。要素が小さくてそれでは本図が小さくなるときは、本図の空いた隅(左上・右下の海)に小さい縮尺で枠を置き、名前は入るときだけ書く(小さい要素で書けなかった名前は `ctx.report("size", …)` で知らせる)。凡例が要素の右からはみ出しそうなら広めの見積もりで並べ直し、凡例が要素より高いか本図の幅が 120 px 未満になるときは凡例を描かずに知らせる(値は読み上げ用の層に残る)
|
|
36
|
+
- 島の決まり(作者の決定、docs/map-design.md §5.3):
|
|
37
|
+
- 北方領土・竹島・尖閣諸島(南西諸島の枠の中)は、どの大きさでもいつも描く。南西諸島の枠は沖縄県そのものを含むので、いつもある
|
|
38
|
+
- 沖ノ鳥島・南鳥島は、小笠原諸島の枠(`islands="all"`)か `layout="true"` のときに描き、そのときはいつも名前を書く。点のまわりに入らなければ少し離れた海に引き出し線を付けて書く。小笠原諸島の枠の名前がそれでも入らなければ、枠ごと描かずに `ctx.report("size", …)` で知らせる(名前のない枠は出さない)
|
|
39
|
+
- `layout="inset"` の竹島・尖閣諸島の名前は入るときに書く:点のまわりに入れば書き、高さ 360 px・幅 340 px 未満の小さい要素では、入らなければ引き出し線を付けて海に書く(それでも入らなければ `ctx.report("size", …)`)。それより大きい要素で点のまわりに入らなければ、込み合わないよう書かない
|
|
40
|
+
- `layout="true"` では父島・硫黄島にも同じ置き方で名前を書く(入らなければ `ctx.report("size", …)`)。`islands="all"` の枠の中では書かない
|
|
41
|
+
- 読める層には、描いた島をいつも挙げる(北方領土、竹島、尖閣諸島、描いたときは沖ノ鳥島・南鳥島、`layout="true"` では父島・硫黄島も)
|
|
42
|
+
- 形が消える小さな島(竹島・魚釣島・沖ノ鳥島・南鳥島・父島・硫黄島)は点で描き、その都道府県の色で塗る。名前は地図と一緒に段階 0 から
|
|
43
|
+
- 作り手の名前のある点が島の点から 15 px 以内にあれば(例:「南鳥島(東端)」)、その島は作り手の点と名前で示す。組み込みの点と名前は作り手の点が現れるのと入れ替わりに消え、読める層もその島は作り手の名前 1 つになる。どの配置でも同じ
|
|
44
|
+
- `islands="main"` で小笠原諸島の範囲に点・矢印・重ね描きを置くと、本当の位置(要素の外)になるので `ctx.report("data", …)` で知らせる
|
|
45
|
+
- 点の名前が点のそばに入らない(要素の縁の近く、枠の中の点)ときは、少し離れた所に置いて引き出し線を引く
|
|
46
|
+
- 段階:地図そのもの(陸地・枠・枠の名前、`labels="all"` の名前)は段階 0 から出ている。強調・塗り分け・点・矢印・重ね描きは `step`(既定 1)から
|
|
47
|
+
- 知らせ(`ctx.report`)は Studio の検査に出る
|
|
48
|
+
- 塗り分けの色は `color-mix(in oklab, var(--term) p%, var(--bg))`(濃い階級は `var(--fg)` との混ぜ)。OKLab の明るさを、いちばん薄い階級から濃い階級まで等しい間隔にする(テーマの色から割合を計算する)。都道府県の境界はいつも `--muted` の細い線で描き、いちばん薄い階級もそれで縁取る。`tools/test-classes.mjs` が、既定・国語・ビジネスのテーマで 4 階級と 5 階級について、隣り合う階級の明るさの差 0.08 以上・等間隔・薄い階級の縁取り・境界を測る
|
|
49
|
+
- `classes` を書かなければ、値の 4 分位から有効数字 2 桁に切り下げた 4 つの下限を使う。6 階級以上は `ctx.report("data", …)` で知らせる(見分けにくい)
|
|
50
|
+
- 値・名前の字は `--bg` の札の上に `--fg` で書く(塗りの濃さによらず 4.5:1 以上)。値は `show="value"` のときだけ、地域の中に入るときだけ書く(既定は書かず、凡例と読める層で読む)。凡例は「500 以上」「200〜500 未満」の形。名前は札がすべて地域の中に入るときだけ中に、入らなければまわりの海に置いて引き出し線を引く(ほかの強調した地域を横切らない所を選ぶ)。点の名前は矢印の線に掛けない
|
|
51
|
+
- 読める層:最後の状態の字の等価物(強調した地域とその都道府県、塗り分けの階級とすべての値、点・矢印・重ね描きの名前)を、画面に出ない一覧(`ul.sr-only`)にして部品の中に置く
|
|
52
|
+
- 矢印の `via` は、通る点をなめらかな曲線(求心的な Catmull-Rom。行き過ぎて輪にならない)で結ぶ。書かなければ `bend`(既定 0.18)だけ横にふくらむ曲線。線は始めの点の 11 px 外から引き、矢じりは 1 つで、先は終わりの点の数 px 手前。`labelAt`(`[経度, 緯度]`)で名前の場所を決められる(重ね描きも同じ)
|
|
53
|
+
- 塗り分けた地域を `regions` でも挙げると、塗りつぶさずに太い縁で強調する
|
|
54
|
+
- 各都道府県の陸の `path` に `data-mark="JP-13"` のような印がある(Studio のカメラ `{zoom:JP-13}` で寄れる)
|
|
55
|
+
- 見せ方:`fade`(フェード)・`sweep`(同じ段階の中で西から東へ順に。全体で `fade` の長さの中)・`draw`(地域と重ね描きは輪郭を引いてから塗り、輪郭は塗り終わると消える)。どれも位置は動かない。矢印はどの見せ方でも線を引いていく
|
|
56
|
+
- 授業の表示(`ctx.preview`)では、先の段階の項目をテーマの `--preview-opacity`(ないときは 0.45)の濃さで見せる。作り手の点が薄いあいだ、入れ替わる島の点はそのまま
|
|
57
|
+
- 見本の人口は総務省統計局「令和2年国勢調査 人口速報集計結果」(2020 年 10 月 1 日現在)を万人に丸めたもの。北前船の寄港地と通る点は公知の事実からのおおよその位置
|
|
58
|
+
<!-- llm: end -->
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="ja" data-theme="default">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
6
|
+
<title>m-map-japan の見本</title>
|
|
7
|
+
<!-- 組み方:node kit/build.mjs components/map-japan/demo.html -o components/map-japan/out/demo.html
|
|
8
|
+
地図データ:Natural Earth(パブリックドメイン)を加工。
|
|
9
|
+
人口:総務省統計局「令和2年国勢調査 人口速報集計結果」表Ⅱ-1(2020年10月1日現在。万人未満を四捨五入)。
|
|
10
|
+
北前船の寄港地は江戸時代の西廻り航路のおもな港(公知の事実) -->
|
|
11
|
+
<style>
|
|
12
|
+
</style>
|
|
13
|
+
</head>
|
|
14
|
+
<body>
|
|
15
|
+
<div id="stage">
|
|
16
|
+
|
|
17
|
+
<section class="slide">
|
|
18
|
+
<h2>日本の八地方区分</h2>
|
|
19
|
+
<div class="body">
|
|
20
|
+
<m-map-japan aria-label="八地方区分の地図" style="height:440px">
|
|
21
|
+
<script type="application/json">{
|
|
22
|
+
"regions": [
|
|
23
|
+
{"group": "hokkaido", "tone": "series-1", "step": 1},
|
|
24
|
+
{"group": "tohoku", "tone": "series-2", "step": 2},
|
|
25
|
+
{"group": "kanto", "tone": "series-3", "step": 3},
|
|
26
|
+
{"group": "chubu", "tone": "series-1", "step": 4},
|
|
27
|
+
{"group": "kinki", "tone": "series-4", "step": 5},
|
|
28
|
+
{"group": "chugoku", "tone": "series-2", "step": 6},
|
|
29
|
+
{"group": "shikoku", "tone": "series-3", "step": 7},
|
|
30
|
+
{"group": "kyushu", "tone": "series-1", "step": 8}
|
|
31
|
+
]
|
|
32
|
+
}</script>
|
|
33
|
+
</m-map-japan>
|
|
34
|
+
</div>
|
|
35
|
+
<div class="concl"><span>→ 北から順に 8 つの地方に分ける</span></div>
|
|
36
|
+
</section>
|
|
37
|
+
|
|
38
|
+
<section class="slide">
|
|
39
|
+
<h2>都道府県の人口(2020 年、国勢調査速報)</h2>
|
|
40
|
+
<div class="body">
|
|
41
|
+
<m-map-japan aria-label="都道府県別の人口の塗り分け" legend="人口" unit="万人" islands="all" style="height:440px">
|
|
42
|
+
<script type="application/json">{
|
|
43
|
+
"classes": [0, 100, 200, 500],
|
|
44
|
+
"values": {"01": 523, "02": 124, "03": 121, "04": 230, "05": 96, "06": 107, "07": 183, "08": 287, "09": 193, "10": 194,
|
|
45
|
+
"11": 735, "12": 629, "13": 1406, "14": 924, "15": 220, "16": 104, "17": 113, "18": 77, "19": 81, "20": 205,
|
|
46
|
+
"21": 198, "22": 364, "23": 755, "24": 177, "25": 141, "26": 258, "27": 884, "28": 547, "29": 133, "30": 92,
|
|
47
|
+
"31": 55, "32": 67, "33": 189, "34": 280, "35": 134, "36": 72, "37": 95, "38": 134, "39": 69, "40": 514,
|
|
48
|
+
"41": 81, "42": 131, "43": 174, "44": 112, "45": 107, "46": 159, "47": 147}
|
|
49
|
+
}</script>
|
|
50
|
+
</m-map-japan>
|
|
51
|
+
</div>
|
|
52
|
+
<div class="concl"><span>→ 500 万人以上の 9 都道府県は大都市のまわり</span></div>
|
|
53
|
+
</section>
|
|
54
|
+
|
|
55
|
+
<section class="slide">
|
|
56
|
+
<h2>北前船の西廻り航路(江戸時代)</h2>
|
|
57
|
+
<div class="body">
|
|
58
|
+
<m-map-japan aria-label="北前船の航路" labels="none" style="height:440px">
|
|
59
|
+
<script type="application/json">{
|
|
60
|
+
"points": [
|
|
61
|
+
{"lon": 135.43, "lat": 34.65, "label": "大坂", "anchor": "below", "step": 1},
|
|
62
|
+
{"lon": 130.94, "lat": 33.96, "label": "下関", "anchor": "left", "step": 2},
|
|
63
|
+
{"lon": 139.84, "lat": 38.91, "label": "酒田", "anchor": "right", "step": 3},
|
|
64
|
+
{"lon": 140.10, "lat": 41.43, "label": "松前", "anchor": "left", "step": 4}
|
|
65
|
+
],
|
|
66
|
+
"flows": [
|
|
67
|
+
{"from": [135.43, 34.65], "to": [130.94, 33.96], "step": 2,
|
|
68
|
+
"via": [[135.15, 34.5], [134.9, 34.6], [134.5, 34.42], [134.0, 34.41], [133.4, 34.18], [133.08, 34.08], [132.9, 34.15], [132.72, 34.08], [132.52, 33.8], [132.1, 33.62], [131.7, 33.84], [131.3, 33.85]]},
|
|
69
|
+
{"from": [130.94, 33.96], "to": [139.84, 38.91], "label": "日本海", "labelAt": [134.6, 38.4], "step": 3,
|
|
70
|
+
"via": [[130.5, 34.35], [130.85, 35.0], [131.5, 35.45], [132.4, 35.9], [133.2, 36.6], [134.3, 36.25], [135.3, 36.35], [136.2, 37.0], [136.45, 37.75], [137.4, 38.0], [138.0, 38.55], [138.8, 38.8], [139.4, 39.0]]},
|
|
71
|
+
{"from": [139.84, 38.91], "to": [140.10, 41.43], "step": 4,
|
|
72
|
+
"via": [[139.75, 39.4], [139.5, 40.0], [139.75, 40.6], [139.95, 41.2]]}
|
|
73
|
+
]
|
|
74
|
+
}</script>
|
|
75
|
+
</m-map-japan>
|
|
76
|
+
</div>
|
|
77
|
+
<div class="concl"><span>→ 大坂から瀬戸内海・日本海を通って北へ</span></div>
|
|
78
|
+
</section>
|
|
79
|
+
|
|
80
|
+
<section class="slide">
|
|
81
|
+
<h2>日本の範囲(本当の位置)</h2>
|
|
82
|
+
<!-- 東西南北の端:国土地理院「日本の東西南北端点の経度緯度」(https://www.gsi.go.jp/KOKUJYOHO/center.htm、2026-10-25 取得)。
|
|
83
|
+
東端 南鳥島 153°59′12″E・24°16′59″N、西端 与那国島 122°55′57″E・24°27′05″N、
|
|
84
|
+
南端 沖ノ鳥島 136°04′11″E・20°25′31″N、北端 択捉島 148°45′08″E・45°33′26″N(度に直して小数 4 桁に丸めた) -->
|
|
85
|
+
<div class="body">
|
|
86
|
+
<m-map-japan aria-label="日本の範囲と東西南北の端" layout="true" labels="none" style="height:440px">
|
|
87
|
+
<script type="application/json">{
|
|
88
|
+
"points": [
|
|
89
|
+
{"lon": 148.7522, "lat": 45.5572, "label": "択捉島(北端)", "step": 1},
|
|
90
|
+
{"lon": 153.9867, "lat": 24.2831, "label": "南鳥島(東端)", "step": 2},
|
|
91
|
+
{"lon": 136.0697, "lat": 20.4253, "label": "沖ノ鳥島(南端)", "step": 3},
|
|
92
|
+
{"lon": 122.9325, "lat": 24.4514, "label": "与那国島(西端)", "step": 4}
|
|
93
|
+
]
|
|
94
|
+
}</script>
|
|
95
|
+
</m-map-japan>
|
|
96
|
+
</div>
|
|
97
|
+
<div class="concl"><span>→ 東西は経度で約 31°、南北は緯度で約 25° に広がる</span></div>
|
|
98
|
+
</section>
|
|
99
|
+
|
|
100
|
+
<section class="slide">
|
|
101
|
+
<h2>見せ方の種類(variant)</h2>
|
|
102
|
+
<div class="body">
|
|
103
|
+
<div style="display:grid;grid-template-columns:1fr 1fr 1fr;gap:0 28px;text-align:center;font-size:27px">
|
|
104
|
+
<div>フェード(fade、既定)</div><div>西から順に(sweep)</div><div>輪郭から(draw)</div>
|
|
105
|
+
<m-map-japan variant="fade" labels="none" style="height:380px">
|
|
106
|
+
<script type="application/json">{"regions": [{"group": "kinki", "tone": "term"}, {"group": "kyushu", "tone": "emph"}, {"id": "01", "tone": "accent2"}]}</script>
|
|
107
|
+
</m-map-japan>
|
|
108
|
+
<m-map-japan variant="sweep" labels="none" style="height:380px">
|
|
109
|
+
<script type="application/json">{"regions": [{"group": "kinki", "tone": "term"}, {"group": "kyushu", "tone": "emph"}, {"id": "01", "tone": "accent2"}]}</script>
|
|
110
|
+
</m-map-japan>
|
|
111
|
+
<m-map-japan variant="draw" labels="none" style="height:380px">
|
|
112
|
+
<script type="application/json">{"regions": [{"group": "kinki", "tone": "term"}, {"group": "kyushu", "tone": "emph"}, {"id": "01", "tone": "accent2"}]}</script>
|
|
113
|
+
</m-map-japan>
|
|
114
|
+
</div>
|
|
115
|
+
</div>
|
|
116
|
+
<div class="concl"><span>→ 書かなければ最初の見せ方(fade)になる</span></div>
|
|
117
|
+
</section>
|
|
118
|
+
|
|
119
|
+
</div>
|
|
120
|
+
</body>
|
|
121
|
+
</html>
|