@directus/app 10.3.1 → 10.4.0
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/dist/assets/{active-line-f0c1f1c7.js → active-line-08976803.js} +1 -1
- package/dist/assets/{apl-e6731e23.js → apl-9cb91322.js} +1 -1
- package/dist/assets/{asciiarmor-49c519bf.js → asciiarmor-6d863858.js} +1 -1
- package/dist/assets/{asn.1-2198ef68.js → asn.1-3d8cf587.js} +1 -1
- package/dist/assets/{asterisk-6f89717f.js → asterisk-38268db1.js} +1 -1
- package/dist/assets/{autorefresh-3edc94d6.js → autorefresh-e18e0f8e.js} +1 -1
- package/dist/assets/{brainfuck-0016cde3.js → brainfuck-45f11151.js} +1 -1
- package/dist/assets/{clike-e8a0727e.js → clike-700e3086.js} +1 -1
- package/dist/assets/{clojure-dbb0a33d.js → clojure-169dc737.js} +1 -1
- package/dist/assets/{cmake-6c4dead4.js → cmake-17df9d6d.js} +1 -1
- package/dist/assets/{cobol-629a7864.js → cobol-8eb4857f.js} +1 -1
- package/dist/assets/{coffeescript-89b1bbf7.js → coffeescript-55a137cd.js} +1 -1
- package/dist/assets/{commonlisp-59229eff.js → commonlisp-d5d3ffad.js} +1 -1
- package/dist/assets/{crystal-f7779d91.js → crystal-112f815b.js} +1 -1
- package/dist/assets/{css-b7eff61e.js → css-56ff7691.js} +1 -1
- package/dist/assets/{cypher-35e4adb3.js → cypher-95ea63ff.js} +1 -1
- package/dist/assets/{d-e1e6995c.js → d-94e57791.js} +1 -1
- package/dist/assets/{dart-c5644dc9.js → dart-25d89fb9.js} +1 -1
- package/dist/assets/de-DE-fa6e1c33.js +1 -0
- package/dist/assets/{diff-9aefa8e8.js → diff-10249f38.js} +1 -1
- package/dist/assets/{django-ba960a30.js → django-5f6dec54.js} +1 -1
- package/dist/assets/{dockerfile-2631ee97.js → dockerfile-7cd10dee.js} +1 -1
- package/dist/assets/{dtd-05e9ab66.js → dtd-bc4a7a7b.js} +1 -1
- package/dist/assets/{dylan-3c8f99a9.js → dylan-9115f93a.js} +1 -1
- package/dist/assets/{ebnf-2e8ed9ca.js → ebnf-2505a1cf.js} +1 -1
- package/dist/assets/{ecl-14fc5cbe.js → ecl-726794c6.js} +1 -1
- package/dist/assets/{eiffel-0cacac01.js → eiffel-f9a8d37b.js} +1 -1
- package/dist/assets/{elm-4f84822d.js → elm-e01c6f02.js} +1 -1
- package/dist/assets/en-GB-fc1f6625.js +1 -0
- package/dist/assets/{erlang-e082eab3.js → erlang-c91fb38e.js} +1 -1
- package/dist/assets/{fa-IR-5d730781.js → fa-IR-489e4e07.js} +1 -1
- package/dist/assets/{factor-c85d3f1f.js → factor-f88d6965.js} +1 -1
- package/dist/assets/{fcl-9b5ae2db.js → fcl-1c710398.js} +1 -1
- package/dist/assets/{forth-32f5b9b0.js → forth-f77e9cb3.js} +1 -1
- package/dist/assets/{fortran-36166a1f.js → fortran-f1b74424.js} +1 -1
- package/dist/assets/{gas-54b09d52.js → gas-788b4855.js} +1 -1
- package/dist/assets/{gfm-7022674c.js → gfm-66fcf838.js} +1 -1
- package/dist/assets/{gherkin-3b5a3e31.js → gherkin-7b9cf027.js} +1 -1
- package/dist/assets/{go-f1054b96.js → go-e36cb423.js} +1 -1
- package/dist/assets/{groovy-5b26ef33.js → groovy-f4f7f2a7.js} +1 -1
- package/dist/assets/{haml-6e99ce64.js → haml-5c7c9ec3.js} +1 -1
- package/dist/assets/{handlebars-294abb74.js → handlebars-71d3d650.js} +1 -1
- package/dist/assets/{haskell-0dba9d3f.js → haskell-95f966f1.js} +1 -1
- package/dist/assets/{haskell-literate-cf2e41e2.js → haskell-literate-aeae5f80.js} +1 -1
- package/dist/assets/{haxe-d7599773.js → haxe-b4cf7ab1.js} +1 -1
- package/dist/assets/hr-HR-db097cdc.js +1 -0
- package/dist/assets/{htmlembedded-290a23ed.js → htmlembedded-42d1a569.js} +1 -1
- package/dist/assets/{htmlmixed-40742df7.js → htmlmixed-5b8dfd5e.js} +1 -1
- package/dist/assets/{htmlmixed-62bc7b9a.js → htmlmixed-6ad6d99f.js} +1 -1
- package/dist/assets/{http-90aa5d24.js → http-c72ce625.js} +1 -1
- package/dist/assets/{idl-8f566159.js → idl-d5efa991.js} +1 -1
- package/dist/assets/{index-c5f10a65.js → index-0bbdd2fc.js} +1 -1
- package/dist/assets/{index-02c29c24.js → index-0bef6f62.js} +1 -1
- package/dist/assets/{index-13aa19f1.js → index-0fcde35d.js} +1 -1
- package/dist/assets/{index-aa3f2a5e.js → index-116c0702.js} +1 -1
- package/dist/assets/{index-37116b7e.js → index-1177cf0b.js} +1 -1
- package/dist/assets/{index-88b1dace.js → index-11d9b277.js} +1 -1
- package/dist/assets/{index-5bf847a7.js → index-14cd85ea.js} +1 -1
- package/dist/assets/{index-a2a35a53.js → index-162a55e1.js} +1 -1
- package/dist/assets/{index-3d663020.js → index-163b62e8.js} +1 -1
- package/dist/assets/{index-fc0698f9.js → index-177a3041.js} +1 -1
- package/dist/assets/{index-41f0ca0c.js → index-18d05fa8.js} +1 -1
- package/dist/assets/{index-6ac7d9e5.js → index-19cbc924.js} +1 -1
- package/dist/assets/{index-ba4427f1.js → index-1bacdf17.js} +1 -1
- package/dist/assets/{index-675534a3.js → index-296085a0.js} +1 -1
- package/dist/assets/{index-d8ba778a.js → index-29b916b5.js} +1 -1
- package/dist/assets/{index-e35471a4.js → index-2bd3a407.js} +1 -1
- package/dist/assets/{index-8af3550b.js → index-36caefee.js} +1 -1
- package/dist/assets/{index-cae686e7.js → index-39d5256a.js} +1 -1
- package/dist/assets/{index-fd3d361f.js → index-3a5bcf3c.js} +1 -1
- package/dist/assets/{index-c77158bb.js → index-3f4e0205.js} +1 -1
- package/dist/assets/{index-3f53c727.js → index-43be57d3.js} +1 -1
- package/dist/assets/{index-06845506.js → index-4427fe03.js} +1 -1
- package/dist/assets/{index-9a43ab45.js → index-466a67bf.js} +1 -1
- package/dist/assets/{index-7bf549cd.js → index-4b183c80.js} +1 -1
- package/dist/assets/{index-8d424c69.js → index-4ecc08c9.js} +1 -1
- package/dist/assets/{index-53c51025.js → index-54228f3e.js} +1 -1
- package/dist/assets/{index-4a28fd91.js → index-5470280d.js} +1 -1
- package/dist/assets/{index-02d7df6b.css → index-55350d1e.css} +1 -1
- package/dist/assets/{index-16d46bba.js → index-5535a015.js} +1 -1
- package/dist/assets/{index-c320167b.js → index-553a6eb8.js} +1 -1
- package/dist/assets/{index-44a484d3.js → index-575320b9.js} +1 -1
- package/dist/assets/{index-2e44e1f1.js → index-577de22f.js} +1 -1
- package/dist/assets/{index-d4443b8a.js → index-57eb475e.js} +1 -1
- package/dist/assets/{index-90ed2b54.js → index-58dc0ad7.js} +1 -1
- package/dist/assets/{index-e75740bd.js → index-5b406414.js} +1 -1
- package/dist/assets/{index-f07229d7.js → index-6216093d.js} +1 -1
- package/dist/assets/{index-a26b8c0e.js → index-67d70248.js} +1 -1
- package/dist/assets/{index-aab75b90.js → index-6c7075b3.js} +1 -1
- package/dist/assets/{index-bf16a7cc.js → index-6d013fe1.js} +1 -1
- package/dist/assets/{index-79516919.js → index-6e47c12b.js} +1 -1
- package/dist/assets/{index-272d354b.js → index-6f03ff1a.js} +1 -1
- package/dist/assets/{index-52df6657.js → index-6fe0c97d.js} +1 -1
- package/dist/assets/{index-6bc66617.js → index-7ab9678f.js} +1 -1
- package/dist/assets/{index-05a08b37.js → index-80d8fb97.js} +1 -1
- package/dist/assets/{index-38ac163f.js → index-8d4f7bc1.js} +1 -1
- package/dist/assets/{index-724b38ae.js → index-92f0fde3.js} +1 -1
- package/dist/assets/{index-8ddd2f26.js → index-95d6d35a.js} +1 -1
- package/dist/assets/{index-5d74460f.js → index-9e51c598.js} +1 -1
- package/dist/assets/{index-925da2c5.js → index-a0dee869.js} +1 -1
- package/dist/assets/{index-ac4f5bbf.js → index-a246976b.js} +1 -1
- package/dist/assets/{index-de67900e.js → index-a68b4114.js} +1 -1
- package/dist/assets/{index-af6eb636.js → index-aa72348c.js} +1 -1
- package/dist/assets/{index-3089fe16.js → index-ab730872.js} +1 -1
- package/dist/assets/{index-84473bb0.js → index-ad4fccc9.js} +1 -1
- package/dist/assets/{index-97f29e43.js → index-ae0b7347.js} +1 -1
- package/dist/assets/{index-7cdc4aad.js → index-b1f5abf3.js} +1 -1
- package/dist/assets/{index-1f6a98a2.js → index-b277a685.js} +1 -1
- package/dist/assets/{index-9b92d927.js → index-b2ba2964.js} +1 -1
- package/dist/assets/{index-d4429b11.js → index-b7b05b10.js} +1 -1
- package/dist/assets/{index-30c973da.js → index-be769118.js} +1 -1
- package/dist/assets/{index-00818fed.js → index-be7707fb.js} +1 -1
- package/dist/assets/{index-38ee7cae.js → index-be7d1250.js} +1 -1
- package/dist/assets/{index-3d7c7644.js → index-c142086e.js} +1 -1
- package/dist/assets/{index-da819c40.js → index-c1ce9586.js} +1 -1
- package/dist/assets/{index-ba364ece.js → index-c8ca6900.js} +1 -1
- package/dist/assets/{index-a6b58682.js → index-c9bc8d65.js} +1 -1
- package/dist/assets/{index-82373746.js → index-cb7d89d3.js} +1 -1
- package/dist/assets/{index-edf5a8ab.js → index-d05b881c.js} +1 -1
- package/dist/assets/{index-d6ca5d15.js → index-d2134f3e.js} +1 -1
- package/dist/assets/{index-eee74faf.js → index-d33463f7.js} +1 -1
- package/dist/assets/{index-092fa137.js → index-dc12fa15.js} +1 -1
- package/dist/assets/{index-721245c2.js → index-dddc499e.js} +1 -1
- package/dist/assets/{index-17ee7029.js → index-e2d22d7f.js} +1 -1
- package/dist/assets/{index-c0e2f472.js → index-e47ef2d6.js} +1 -1
- package/dist/assets/{index-30cb9577.js → index-e76cdd58.js} +1 -1
- package/dist/assets/{index-81d92c0d.js → index-e828cab3.js} +1 -1
- package/dist/assets/{index-de7bc03f.js → index-e8d8d667.js} +1 -1
- package/dist/assets/{index-68707cbf.js → index-e91151af.js} +1 -1
- package/dist/assets/{index-15142840.js → index-eabb9fbe.js} +1 -1
- package/dist/assets/{index-a5150855.js → index-eb38c37b.js} +1 -1
- package/dist/assets/{index-51dcee2e.js → index-f77c846c.js} +1 -1
- package/dist/assets/{index-39877edd.js → index-fc3caf38.js} +1 -1
- package/dist/assets/{index-ba4f984f.js → index-fd1502e5.js} +1 -1
- package/dist/assets/{index.aa47f040.entry.js → index.744bb98b.entry.js} +256 -256
- package/dist/assets/{input-rich-text-html-7e0e9e01.js → input-rich-text-html-66e17ea7.js} +1 -1
- package/dist/assets/it-IT-2813fbb1.js +1 -0
- package/dist/assets/{javascript-2e55b588.js → javascript-3f41a303.js} +1 -1
- package/dist/assets/{javascript-hint-a58c7caa.js → javascript-hint-9f6dff8f.js} +1 -1
- package/dist/assets/{jinja2-7fee949c.js → jinja2-c3019305.js} +1 -1
- package/dist/assets/{jsonlint-8f09c722.js → jsonlint-c2588687.js} +1 -1
- package/dist/assets/{jsx-38fbd63d.js → jsx-67638f64.js} +1 -1
- package/dist/assets/{julia-360ac91d.js → julia-761366ca.js} +1 -1
- package/dist/assets/km-KH-09e9e262.js +1 -0
- package/dist/assets/{livescript-671f3c59.js → livescript-4d0d4cfb.js} +1 -1
- package/dist/assets/{lua-fad22fb5.js → lua-d9b2e3d1.js} +1 -1
- package/dist/assets/{mark-selection-b0e14460.js → mark-selection-fcf93255.js} +1 -1
- package/dist/assets/{match-highlighter-e41d9823.js → match-highlighter-80e0fb67.js} +1 -1
- package/dist/assets/{matchbrackets-da4157ee.js → matchbrackets-145b5cfb.js} +1 -1
- package/dist/assets/{mathematica-03e5954a.js → mathematica-26226ba9.js} +1 -1
- package/dist/assets/{mbox-c4624c19.js → mbox-dcd9d225.js} +1 -1
- package/dist/assets/{mirc-a7ed2ce7.js → mirc-5681d1b8.js} +1 -1
- package/dist/assets/{mllike-b6342e3c.js → mllike-6c7fa6e0.js} +1 -1
- package/dist/assets/{modelica-c7a40239.js → modelica-eedce700.js} +1 -1
- package/dist/assets/{mscgen-93c8d571.js → mscgen-ec38558c.js} +1 -1
- package/dist/assets/{multiplex-ef6b2a4f.js → multiplex-9ccc3a1d.js} +1 -1
- package/dist/assets/{mumps-bfdfdd30.js → mumps-8afcfafa.js} +1 -1
- package/dist/assets/{ne-NP-40c489e5.js → ne-NP-506dd39a.js} +20 -20
- package/dist/assets/{nginx-8b07b638.js → nginx-7bad1a3a.js} +1 -1
- package/dist/assets/{nsis-59c93539.js → nsis-04849617.js} +1 -1
- package/dist/assets/{ntriples-ac8d2706.js → ntriples-5bdc9b2d.js} +1 -1
- package/dist/assets/{octave-88a3cdc8.js → octave-b48f2662.js} +1 -1
- package/dist/assets/{overlay-52b7f5a5.js → overlay-21354708.js} +1 -1
- package/dist/assets/{oz-e2db586d.js → oz-529d2141.js} +1 -1
- package/dist/assets/{pascal-80c91894.js → pascal-cbcf0260.js} +1 -1
- package/dist/assets/{pegjs-a63ce3fa.js → pegjs-31297142.js} +1 -1
- package/dist/assets/{perl-a9b8371d.js → perl-c8e102e5.js} +1 -1
- package/dist/assets/{php-73bb5ea2.js → php-b3e8e924.js} +1 -1
- package/dist/assets/{pig-1103abc8.js → pig-934121f7.js} +1 -1
- package/dist/assets/pl-PL-e40c995b.js +1 -0
- package/dist/assets/{powershell-9f943b72.js → powershell-8dd1d144.js} +1 -1
- package/dist/assets/{properties-5686c54e.js → properties-e4af2721.js} +1 -1
- package/dist/assets/{protobuf-61cab522.js → protobuf-b1a74647.js} +1 -1
- package/dist/assets/pt-BR-b588b632.js +1 -0
- package/dist/assets/{pug-88ccf423.js → pug-9a2c5065.js} +1 -1
- package/dist/assets/{puppet-8e2604c5.js → puppet-e97b91c2.js} +1 -1
- package/dist/assets/{python-57f9bf73.js → python-6f8bb0f1.js} +1 -1
- package/dist/assets/{q-e1752715.js → q-4c598321.js} +1 -1
- package/dist/assets/{r-8af65889.js → r-71138f5c.js} +1 -1
- package/dist/assets/{rpm-98996be2.js → rpm-9c3d764d.js} +1 -1
- package/dist/assets/{rst-203619ec.js → rst-c5c92a0c.js} +1 -1
- package/dist/assets/ru-RU-a3ae0a45.js +1 -0
- package/dist/assets/{ruby-6e8b74ad.js → ruby-18d0db5d.js} +1 -1
- package/dist/assets/{ruby-720badd5.js → ruby-8eb885ca.js} +1 -1
- package/dist/assets/{rust-240449c3.js → rust-d24658b5.js} +1 -1
- package/dist/assets/{sas-a6703b5d.js → sas-88856fa8.js} +1 -1
- package/dist/assets/{sass-f0be43f7.js → sass-60f54e34.js} +1 -1
- package/dist/assets/{scheme-1ce3222b.js → scheme-7e9d3ab4.js} +1 -1
- package/dist/assets/{shell-c824e7bb.js → shell-0a4f1609.js} +1 -1
- package/dist/assets/{show-hint-6f86c78b.js → show-hint-baffdfc4.js} +1 -1
- package/dist/assets/{sieve-57de9500.js → sieve-a4e50b6c.js} +1 -1
- package/dist/assets/{slim-428faf90.js → slim-3592fa77.js} +1 -1
- package/dist/assets/{smalltalk-ca99a061.js → smalltalk-b0e86550.js} +1 -1
- package/dist/assets/{smarty-cb551699.js → smarty-46d335c9.js} +1 -1
- package/dist/assets/{solr-4dc6a6ed.js → solr-cbda8e5a.js} +1 -1
- package/dist/assets/{soy-916aff86.js → soy-978a02a0.js} +1 -1
- package/dist/assets/{sparql-72e9f38f.js → sparql-06a534fd.js} +1 -1
- package/dist/assets/{spreadsheet-c641d245.js → spreadsheet-99d1a009.js} +1 -1
- package/dist/assets/sq-AL-10bec116.js +1 -0
- package/dist/assets/{sql-3ffd4b0b.js → sql-bbb5f1c7.js} +1 -1
- package/dist/assets/{stex-79569f32.js → stex-3ef7298f.js} +1 -1
- package/dist/assets/{stex-296aba57.js → stex-728acab6.js} +1 -1
- package/dist/assets/{stylus-8f389c93.js → stylus-5b497594.js} +1 -1
- package/dist/assets/{swift-5f91807c.js → swift-03123e38.js} +1 -1
- package/dist/assets/{tcl-8a2bdcb4.js → tcl-dda8b558.js} +1 -1
- package/dist/assets/{textile-078990f9.js → textile-0df89b6a.js} +1 -1
- package/dist/assets/{tiddlywiki-15992dd2.js → tiddlywiki-da4d2a35.js} +1 -1
- package/dist/assets/{tiki-20ca4e08.js → tiki-de1c3fe2.js} +1 -1
- package/dist/assets/{toml-ab91bbe4.js → toml-724c80c7.js} +1 -1
- package/dist/assets/{tornado-8e9e7644.js → tornado-53815285.js} +1 -1
- package/dist/assets/{troff-8cf4afea.js → troff-985e7d1d.js} +1 -1
- package/dist/assets/{ttcn-4bcba0e0.js → ttcn-26e82166.js} +1 -1
- package/dist/assets/{ttcn-cfg-43d9d8a7.js → ttcn-cfg-d4e99d17.js} +1 -1
- package/dist/assets/{turtle-75660390.js → turtle-d6b28675.js} +1 -1
- package/dist/assets/{twig-bbbf78e7.js → twig-cc5cda56.js} +1 -1
- package/dist/assets/uk-UA-b80bcade.js +1 -0
- package/dist/assets/{vb-982ec330.js → vb-a710ae4b.js} +1 -1
- package/dist/assets/{vbscript-5f0a977a.js → vbscript-02bc3a68.js} +1 -1
- package/dist/assets/{velocity-3429c3de.js → velocity-9e9e7b0f.js} +1 -1
- package/dist/assets/{verilog-4e470105.js → verilog-782e5a3a.js} +1 -1
- package/dist/assets/{vhdl-c3126a5c.js → vhdl-3be1f4c6.js} +1 -1
- package/dist/assets/{vue-91713f4b.js → vue-f65751b4.js} +1 -1
- package/dist/assets/{wast-bab145b0.js → wast-381c0391.js} +1 -1
- package/dist/assets/{webidl-e974cf3f.js → webidl-2ad7ad10.js} +1 -1
- package/dist/assets/{xml-e0226243.js → xml-5cc697c7.js} +1 -1
- package/dist/assets/{xquery-1a70e03e.js → xquery-5e00350d.js} +1 -1
- package/dist/assets/{yacas-8ca672c5.js → yacas-ede792d3.js} +1 -1
- package/dist/assets/{yaml-46020872.js → yaml-7ce374fd.js} +1 -1
- package/dist/assets/{yaml-frontmatter-442e81e8.js → yaml-frontmatter-51aa53d3.js} +1 -1
- package/dist/assets/{z80-f2e9096f.js → z80-f5d6ace6.js} +1 -1
- package/dist/assets/zh-CN-c3926d0b.js +1 -0
- package/dist/index.html +2 -2
- package/package.json +8 -7
- package/dist/assets/de-DE-6c4e7ab7.js +0 -1
- package/dist/assets/en-GB-b755f52c.js +0 -1
- package/dist/assets/hr-HR-4ad9824a.js +0 -1
- package/dist/assets/it-IT-d7f33608.js +0 -1
- package/dist/assets/km-KH-449d28fa.js +0 -1
- package/dist/assets/pl-PL-f6194ad9.js +0 -1
- package/dist/assets/pt-BR-f970a412.js +0 -1
- package/dist/assets/ru-RU-a99fb204.js +0 -1
- package/dist/assets/sq-AL-4d54ed4b.js +0 -1
- package/dist/assets/uk-UA-0f830246.js +0 -1
- package/dist/assets/zh-CN-1dbbae8a.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as A,c as K}from"./index.
|
|
1
|
+
import{g as A,c as K}from"./index.744bb98b.entry.js";function P(f,u){for(var a=0;a<u.length;a++){const o=u[a];if(typeof o!="string"&&!Array.isArray(o)){for(const t in o)if(t!=="default"&&!(t in f)){const d=Object.getOwnPropertyDescriptor(o,t);d&&Object.defineProperty(f,t,d.get?d:{enumerable:!0,get:()=>o[t]})}}}return Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}var z={exports:{}};(function(f,u){(function(a){a(K)})(function(a){a.defineMode("scheme",function(){var o="builtin",t="comment",d="string",b="symbol",s="atom",v="number",y="bracket",N=2;function k(e){for(var n={},i=e.split(" "),l=0;l<i.length;++l)n[i[l]]=!0;return n}var w=k("λ case-lambda call/cc class cond-expand define-class define-values exit-handler field import inherit init-field interface let*-values let-values let/ec mixin opt-lambda override protect provide public rename require require-for-syntax syntax syntax-case syntax-error unit/sig unless when with-syntax and begin call-with-current-continuation call-with-input-file call-with-output-file case cond define define-syntax define-macro defmacro delay do dynamic-wind else for-each if lambda let let* let-syntax letrec letrec-syntax map or syntax-rules abs acos angle append apply asin assoc assq assv atan boolean? caar cadr call-with-input-file call-with-output-file call-with-values car cdddar cddddr cdr ceiling char->integer char-alphabetic? char-ci<=? char-ci<? char-ci=? char-ci>=? char-ci>? char-downcase char-lower-case? char-numeric? char-ready? char-upcase char-upper-case? char-whitespace? char<=? char<? char=? char>=? char>? char? close-input-port close-output-port complex? cons cos current-input-port current-output-port denominator display eof-object? eq? equal? eqv? eval even? exact->inexact exact? exp expt #f floor force gcd imag-part inexact->exact inexact? input-port? integer->char integer? interaction-environment lcm length list list->string list->vector list-ref list-tail list? load log magnitude make-polar make-rectangular make-string make-vector max member memq memv min modulo negative? newline not null-environment null? number->string number? numerator odd? open-input-file open-output-file output-port? pair? peek-char port? positive? procedure? quasiquote quote quotient rational? rationalize read read-char real-part real? remainder reverse round scheme-report-environment set! set-car! set-cdr! sin sqrt string string->list string->number string->symbol string-append string-ci<=? string-ci<? string-ci=? string-ci>=? string-ci>? string-copy string-fill! string-length string-ref string-set! string<=? string<? string=? string>=? string>? string? substring symbol->string symbol? #t tan transcript-off transcript-on truncate values vector vector->list vector-fill! vector-length vector-ref vector-set! with-input-from-file with-output-to-file write write-char zero?"),O=k("define let letrec let* lambda define-macro defmacro let-syntax letrec-syntax let-values let*-values define-syntax syntax-rules define-values when unless");function Q(e,n,i){this.indent=e,this.type=n,this.prev=i}function p(e,n,i){e.indentStack=new Q(n,i,e.indentStack)}function _(e){e.indentStack=e.indentStack.prev}var I=new RegExp(/^(?:[-+]i|[-+][01]+#*(?:\/[01]+#*)?i|[-+]?[01]+#*(?:\/[01]+#*)?@[-+]?[01]+#*(?:\/[01]+#*)?|[-+]?[01]+#*(?:\/[01]+#*)?[-+](?:[01]+#*(?:\/[01]+#*)?)?i|[-+]?[01]+#*(?:\/[01]+#*)?)(?=[()\s;"]|$)/i),$=new RegExp(/^(?:[-+]i|[-+][0-7]+#*(?:\/[0-7]+#*)?i|[-+]?[0-7]+#*(?:\/[0-7]+#*)?@[-+]?[0-7]+#*(?:\/[0-7]+#*)?|[-+]?[0-7]+#*(?:\/[0-7]+#*)?[-+](?:[0-7]+#*(?:\/[0-7]+#*)?)?i|[-+]?[0-7]+#*(?:\/[0-7]+#*)?)(?=[()\s;"]|$)/i),j=new RegExp(/^(?:[-+]i|[-+][\da-f]+#*(?:\/[\da-f]+#*)?i|[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?@[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?|[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?[-+](?:[\da-f]+#*(?:\/[\da-f]+#*)?)?i|[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?)(?=[()\s;"]|$)/i),R=new RegExp(/^(?:[-+]i|[-+](?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)i|[-+]?(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)@[-+]?(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)|[-+]?(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)[-+](?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)?i|(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*))(?=[()\s;"]|$)/i);function B(e){return e.match(I)}function D(e){return e.match($)}function m(e,n){return n===!0&&e.backUp(1),e.match(R)}function U(e){return e.match(j)}function E(e,n){for(var i,l=!1;(i=e.next())!=null;){if(i==n.token&&!l){n.state.mode=!1;break}l=!l&&i=="\\"}}return{startState:function(){return{indentStack:null,indentation:0,mode:!1,sExprComment:!1,sExprQuote:!1}},token:function(e,n){if(n.indentStack==null&&e.sol()&&(n.indentation=e.indentation()),e.eatSpace())return null;var i=null;switch(n.mode){case"string":E(e,{token:'"',state:n}),i=d;break;case"symbol":E(e,{token:"|",state:n}),i=b;break;case"comment":for(var l,S=!1;(l=e.next())!=null;){if(l=="#"&&S){n.mode=!1;break}S=l=="|"}i=t;break;case"s-expr-comment":if(n.mode=!1,e.peek()=="("||e.peek()=="[")n.sExprComment=0;else{e.eatWhile(/[^\s\(\)\[\]]/),i=t;break}default:var r=e.next();if(r=='"')n.mode="string",i=d;else if(r=="'")e.peek()=="("||e.peek()=="["?(typeof n.sExprQuote!="number"&&(n.sExprQuote=0),i=s):(e.eatWhile(/[\w_\-!$%&*+\.\/:<=>?@\^~]/),i=s);else if(r=="|")n.mode="symbol",i=b;else if(r=="#")if(e.eat("|"))n.mode="comment",i=t;else if(e.eat(/[tf]/i))i=s;else if(e.eat(";"))n.mode="s-expr-comment",i=t;else{var c=null,h=!1,q=!0;e.eat(/[ei]/i)?h=!0:e.backUp(1),e.match(/^#b/i)?c=B:e.match(/^#o/i)?c=D:e.match(/^#x/i)?c=U:e.match(/^#d/i)?c=m:e.match(/^[-+0-9.]/,!1)?(q=!1,c=m):h||e.eat("#"),c!=null&&(q&&!h&&e.match(/^#[ei]/i),c(e)&&(i=v))}else if(/^[-+0-9.]/.test(r)&&m(e,!0))i=v;else if(r==";")e.skipToEnd(),i=t;else if(r=="("||r=="["){for(var g="",x=e.column(),M;(M=e.eat(/[^\s\(\[\;\)\]]/))!=null;)g+=M;g.length>0&&O.propertyIsEnumerable(g)?p(n,x+N,r):(e.eatSpace(),e.eol()||e.peek()==";"?p(n,x+1,r):p(n,x+e.current().length,r)),e.backUp(e.current().length-1),typeof n.sExprComment=="number"&&n.sExprComment++,typeof n.sExprQuote=="number"&&n.sExprQuote++,i=y}else r==")"||r=="]"?(i=y,n.indentStack!=null&&n.indentStack.type==(r==")"?"(":"[")&&(_(n),typeof n.sExprComment=="number"&&--n.sExprComment==0&&(i=t,n.sExprComment=!1),typeof n.sExprQuote=="number"&&--n.sExprQuote==0&&(i=s,n.sExprQuote=!1))):(e.eatWhile(/[\w_\-!$%&*+\.\/:<=>?@\^~]/),w&&w.propertyIsEnumerable(e.current())?i=o:i="variable")}return typeof n.sExprComment=="number"?t:typeof n.sExprQuote=="number"?s:i},indent:function(e){return e.indentStack==null?e.indentation:e.indentStack.indent},fold:"brace-paren",closeBrackets:{pairs:'()[]{}""'},lineComment:";;"}}),a.defineMIME("text/x-scheme","scheme")})})();var C=z.exports;const L=A(C),F=P({__proto__:null,default:L},[C]);export{F as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as E,c as S}from"./index.
|
|
1
|
+
import{g as E,c as S}from"./index.744bb98b.entry.js";function m(p,d){for(var i=0;i<d.length;i++){const f=d[i];if(typeof f!="string"&&!Array.isArray(f)){for(const l in f)if(l!=="default"&&!(l in p)){const c=Object.getOwnPropertyDescriptor(f,l);c&&Object.defineProperty(p,l,c.get?c:{enumerable:!0,get:()=>f[l]})}}}return Object.freeze(Object.defineProperty(p,Symbol.toStringTag,{value:"Module"}))}var O={exports:{}};(function(p,d){(function(i){i(S)})(function(i){i.defineMode("shell",function(){var f={};function l(e,n){for(var r=0;r<n.length;r++)f[n[r]]=e}var c=["true","false"],a=["if","then","do","else","elif","while","until","for","in","esac","fi","fin","fil","done","exit","set","unset","export","function"],g=["ab","awk","bash","beep","cat","cc","cd","chown","chmod","chroot","clear","cp","curl","cut","diff","echo","find","gawk","gcc","get","git","grep","hg","kill","killall","ln","ls","make","mkdir","openssl","mv","nc","nl","node","npm","ping","ps","restart","rm","rmdir","sed","service","sh","shopt","shred","source","sort","sleep","ssh","start","stop","su","sudo","svn","tee","telnet","top","touch","vi","vim","wall","wc","wget","who","write","yes","zsh"];i.registerHelper("hintWords","shell",c.concat(a,g)),l("atom",c),l("keyword",a),l("builtin",g);function b(e,n){if(e.eatSpace())return null;var r=e.sol(),t=e.next();if(t==="\\")return e.next(),null;if(t==="'"||t==='"'||t==="`")return n.tokens.unshift(k(t,t==="`"?"quote":"string")),h(e,n);if(t==="#")return r&&e.eat("!")?(e.skipToEnd(),"meta"):(e.skipToEnd(),"comment");if(t==="$")return n.tokens.unshift(v),h(e,n);if(t==="+"||t==="=")return"operator";if(t==="-")return e.eat("-"),e.eatWhile(/\w/),"attribute";if(t=="<"){if(e.match("<<"))return"operator";var s=e.match(/^<-?\s*['"]?([^'"]*)['"]?/);if(s)return n.tokens.unshift(y(s[1])),"string-2"}if(/\d/.test(t)&&(e.eatWhile(/\d/),e.eol()||!/\w/.test(e.peek())))return"number";e.eatWhile(/[\w-]/);var o=e.current();return e.peek()==="="&&/\w+/.test(o)?"def":f.hasOwnProperty(o)?f[o]:null}function k(e,n){var r=e=="("?")":e=="{"?"}":e;return function(t,s){for(var o,u=!1;(o=t.next())!=null;){if(o===r&&!u){s.tokens.shift();break}else if(o==="$"&&!u&&e!=="'"&&t.peek()!=r){u=!0,t.backUp(1),s.tokens.unshift(v);break}else{if(!u&&e!==r&&o===e)return s.tokens.unshift(k(e,n)),h(t,s);if(!u&&/['"]/.test(o)&&!/['"]/.test(e)){s.tokens.unshift(x(o,"string")),t.backUp(1);break}}u=!u&&o==="\\"}return n}}function x(e,n){return function(r,t){return t.tokens[0]=k(e,n),r.next(),h(r,t)}}var v=function(e,n){n.tokens.length>1&&e.eat("$");var r=e.next();return/['"({]/.test(r)?(n.tokens[0]=k(r,r=="("?"quote":r=="{"?"def":"string"),h(e,n)):(/\d/.test(r)||e.eatWhile(/\w/),n.tokens.shift(),"def")};function y(e){return function(n,r){return n.sol()&&n.string==e&&r.tokens.shift(),n.skipToEnd(),"string-2"}}function h(e,n){return(n.tokens[0]||b)(e,n)}return{startState:function(){return{tokens:[]}},token:function(e,n){return h(e,n)},closeBrackets:"()[]{}''\"\"``",lineComment:"#",fold:"brace"}}),i.defineMIME("text/x-sh","shell"),i.defineMIME("application/x-sh","shell")})})();var w=O.exports;const j=E(w),_=m({__proto__:null,default:j},[w]);export{_ as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as st,c as ot}from"./index.aa47f040.entry.js";function rt(x,O){for(var r=0;r<O.length;r++){const v=O[r];if(typeof v!="string"&&!Array.isArray(v)){for(const m in v)if(m!=="default"&&!(m in x)){const y=Object.getOwnPropertyDescriptor(v,m);y&&Object.defineProperty(x,m,y.get?y:{enumerable:!0,get:()=>v[m]})}}}return Object.freeze(Object.defineProperty(x,Symbol.toStringTag,{value:"Module"}))}var ct={exports:{}};(function(x,O){(function(r){r(ot)})(function(r){var v="CodeMirror-hint",m="CodeMirror-hint-active";r.showHint=function(t,e,i){if(!e)return t.showHint(i);i&&i.async&&(e.async=!0);var n={hint:e};if(i)for(var s in i)n[s]=i[s];return t.showHint(n)},r.defineExtension("showHint",function(t){t=Q(this,this.getCursor("start"),t);var e=this.listSelections();if(!(e.length>1)){if(this.somethingSelected()){if(!t.hint.supportsSelection)return;for(var i=0;i<e.length;i++)if(e[i].head.line!=e[i].anchor.line)return}this.state.completionActive&&this.state.completionActive.close();var n=this.state.completionActive=new y(this,t);n.options.hint&&(r.signal(this,"startCompletion",this),n.update(!0))}}),r.defineExtension("closeHint",function(){this.state.completionActive&&this.state.completionActive.close()});function y(t,e){if(this.cm=t,this.options=e,this.widget=null,this.debounce=0,this.tick=0,this.startPos=this.cm.getCursor("start"),this.startLen=this.cm.getLine(this.startPos.line).length-this.cm.getSelection().length,this.options.updateOnCursorActivity){var i=this;t.on("cursorActivity",this.activityFunc=function(){i.cursorActivity()})}}var G=window.requestAnimationFrame||function(t){return setTimeout(t,1e3/60)},J=window.cancelAnimationFrame||clearTimeout;y.prototype={close:function(){this.active()&&(this.cm.state.completionActive=null,this.tick=null,this.options.updateOnCursorActivity&&this.cm.off("cursorActivity",this.activityFunc),this.widget&&this.data&&r.signal(this.data,"close"),this.widget&&this.widget.close(),r.signal(this.cm,"endCompletion",this.cm))},active:function(){return this.cm.state.completionActive==this},pick:function(t,e){var i=t.list[e],n=this;this.cm.operation(function(){i.hint?i.hint(n.cm,t,i):n.cm.replaceRange(_(i),i.from||t.from,i.to||t.to,"complete"),r.signal(t,"pick",i),n.cm.scrollIntoView()}),this.options.closeOnPick&&this.close()},cursorActivity:function(){this.debounce&&(J(this.debounce),this.debounce=0);var t=this.startPos;this.data&&(t=this.data.from);var e=this.cm.getCursor(),i=this.cm.getLine(e.line);if(e.line!=this.startPos.line||i.length-e.ch!=this.startLen-this.startPos.ch||e.ch<t.ch||this.cm.somethingSelected()||!e.ch||this.options.closeCharacters.test(i.charAt(e.ch-1)))this.close();else{var n=this;this.debounce=G(function(){n.update()}),this.widget&&this.widget.disable()}},update:function(t){if(this.tick!=null){var e=this,i=++this.tick;U(this.options.hint,this.cm,this.options,function(n){e.tick==i&&e.finishUpdate(n,t)})}},finishUpdate:function(t,e){this.data&&r.signal(this.data,"update");var i=this.widget&&this.widget.picked||e&&this.options.completeSingle;this.widget&&this.widget.close(),this.data=t,t&&t.list.length&&(i&&t.list.length==1?this.pick(t,0):(this.widget=new B(this,t),r.signal(t,"shown")))}};function Q(t,e,i){var n=t.options.hintOptions,s={};for(var c in D)s[c]=D[c];if(n)for(var c in n)n[c]!==void 0&&(s[c]=n[c]);if(i)for(var c in i)i[c]!==void 0&&(s[c]=i[c]);return s.hint.resolve&&(s.hint=s.hint.resolve(t,e)),s}function _(t){return typeof t=="string"?t:t.text}function Z(t,e){var i={Up:function(){e.moveFocus(-1)},Down:function(){e.moveFocus(1)},PageUp:function(){e.moveFocus(-e.menuSize()+1,!0)},PageDown:function(){e.moveFocus(e.menuSize()-1,!0)},Home:function(){e.setFocus(0)},End:function(){e.setFocus(e.length-1)},Enter:e.pick,Tab:e.pick,Esc:e.close},n=/Mac/.test(navigator.platform);n&&(i["Ctrl-P"]=function(){e.moveFocus(-1)},i["Ctrl-N"]=function(){e.moveFocus(1)});var s=t.options.customKeys,c=s?{}:i;function o(u,l){var a;typeof l!="string"?a=function(H){return l(H,e)}:i.hasOwnProperty(l)?a=i[l]:a=l,c[u]=a}if(s)for(var f in s)s.hasOwnProperty(f)&&o(f,s[f]);var h=t.options.extraKeys;if(h)for(var f in h)h.hasOwnProperty(f)&&o(f,h[f]);return c}function K(t,e){for(;e&&e!=t;){if(e.nodeName.toUpperCase()==="LI"&&e.parentNode==t)return e;e=e.parentNode}}function B(t,e){this.id="cm-complete-"+Math.floor(Math.random(1e6)),this.completion=t,this.data=e,this.picked=!1;var i=this,n=t.cm,s=n.getInputField().ownerDocument,c=s.defaultView||s.parentWindow,o=this.hints=s.createElement("ul");o.setAttribute("role","listbox"),o.setAttribute("aria-expanded","true"),o.id=this.id;var f=t.cm.options.theme;o.className="CodeMirror-hints "+f,this.selectedHint=e.selectedHint||0;for(var h=e.list,u=0;u<h.length;++u){var l=o.appendChild(s.createElement("li")),a=h[u],H=v+(u!=this.selectedHint?"":" "+m);a.className!=null&&(H=a.className+" "+H),l.className=H,u==this.selectedHint&&l.setAttribute("aria-selected","true"),l.id=this.id+"-"+u,l.setAttribute("role","option"),a.render?a.render(l,e,a):l.appendChild(s.createTextNode(a.displayText||_(a))),l.hintId=u}var A=t.options.container||s.body,w=n.cursorCoords(t.options.alignWithWord?e.from:null),F=w.left,E=w.bottom,M=!0,N=0,I=0;if(A!==s.body){var it=["absolute","relative","fixed"].indexOf(c.getComputedStyle(A).position)!==-1,C=it?A:A.offsetParent,j=C.getBoundingClientRect(),z=s.body.getBoundingClientRect();N=j.left-z.left-C.scrollLeft,I=j.top-z.top-C.scrollTop}o.style.left=F-N+"px",o.style.top=E-I+"px";var S=c.innerWidth||Math.max(s.body.offsetWidth,s.documentElement.offsetWidth),W=c.innerHeight||Math.max(s.body.offsetHeight,s.documentElement.offsetHeight);A.appendChild(o),n.getInputField().setAttribute("aria-autocomplete","list"),n.getInputField().setAttribute("aria-owns",this.id),n.getInputField().setAttribute("aria-activedescendant",this.id+"-"+this.selectedHint);var g=t.options.moveOnOverlap?o.getBoundingClientRect():new DOMRect,V=t.options.paddingForScrollbar?o.scrollHeight>o.clientHeight+1:!1,b;setTimeout(function(){b=n.getScrollInfo()});var nt=g.bottom-W;if(nt>0){var L=g.bottom-g.top,P=g.top-(w.bottom-w.top)-2;W-g.top<P?(L>P&&(o.style.height=(L=P)+"px"),o.style.top=(E=w.top-L)+I+"px",M=!1):o.style.height=W-g.top-2+"px"}var T=g.right-S;if(V&&(T+=n.display.nativeBarWidth),T>0&&(g.right-g.left>S&&(o.style.width=S-5+"px",T-=g.right-g.left-S),o.style.left=(F=Math.max(w.left-T-N,0))+"px"),V)for(var k=o.firstChild;k;k=k.nextSibling)k.style.paddingRight=n.display.nativeBarWidth+"px";if(n.addKeyMap(this.keyMap=Z(t,{moveFocus:function(p,d){i.changeActive(i.selectedHint+p,d)},setFocus:function(p){i.changeActive(p)},menuSize:function(){return i.screenAmount()},length:h.length,close:function(){t.close()},pick:function(){i.pick()},data:e})),t.options.closeOnUnfocus){var q;n.on("blur",this.onBlur=function(){q=setTimeout(function(){t.close()},100)}),n.on("focus",this.onFocus=function(){clearTimeout(q)})}n.on("scroll",this.onScroll=function(){var p=n.getScrollInfo(),d=n.getWrapperElement().getBoundingClientRect();b||(b=n.getScrollInfo());var $=E+b.top-p.top,R=$-(c.pageYOffset||(s.documentElement||s.body).scrollTop);if(M||(R+=o.offsetHeight),R<=d.top||R>=d.bottom)return t.close();o.style.top=$+"px",o.style.left=F+b.left-p.left+"px"}),r.on(o,"dblclick",function(p){var d=K(o,p.target||p.srcElement);d&&d.hintId!=null&&(i.changeActive(d.hintId),i.pick())}),r.on(o,"click",function(p){var d=K(o,p.target||p.srcElement);d&&d.hintId!=null&&(i.changeActive(d.hintId),t.options.completeOnSingleClick&&i.pick())}),r.on(o,"mousedown",function(){setTimeout(function(){n.focus()},20)});var Y=this.getSelectedHintRange();return(Y.from!==0||Y.to!==0)&&this.scrollToActive(),r.signal(e,"select",h[this.selectedHint],o.childNodes[this.selectedHint]),!0}B.prototype={close:function(){if(this.completion.widget==this){this.completion.widget=null,this.hints.parentNode&&this.hints.parentNode.removeChild(this.hints),this.completion.cm.removeKeyMap(this.keyMap);var t=this.completion.cm.getInputField();t.removeAttribute("aria-activedescendant"),t.removeAttribute("aria-owns");var e=this.completion.cm;this.completion.options.closeOnUnfocus&&(e.off("blur",this.onBlur),e.off("focus",this.onFocus)),e.off("scroll",this.onScroll)}},disable:function(){this.completion.cm.removeKeyMap(this.keyMap);var t=this;this.keyMap={Enter:function(){t.picked=!0}},this.completion.cm.addKeyMap(this.keyMap)},pick:function(){this.completion.pick(this.data,this.selectedHint)},changeActive:function(t,e){if(t>=this.data.list.length?t=e?this.data.list.length-1:0:t<0&&(t=e?0:this.data.list.length-1),this.selectedHint!=t){var i=this.hints.childNodes[this.selectedHint];i&&(i.className=i.className.replace(" "+m,""),i.removeAttribute("aria-selected")),i=this.hints.childNodes[this.selectedHint=t],i.className+=" "+m,i.setAttribute("aria-selected","true"),this.completion.cm.getInputField().setAttribute("aria-activedescendant",i.id),this.scrollToActive(),r.signal(this.data,"select",this.data.list[this.selectedHint],i)}},scrollToActive:function(){var t=this.getSelectedHintRange(),e=this.hints.childNodes[t.from],i=this.hints.childNodes[t.to],n=this.hints.firstChild;e.offsetTop<this.hints.scrollTop?this.hints.scrollTop=e.offsetTop-n.offsetTop:i.offsetTop+i.offsetHeight>this.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=i.offsetTop+i.offsetHeight-this.hints.clientHeight+n.offsetTop)},screenAmount:function(){return Math.floor(this.hints.clientHeight/this.hints.firstChild.offsetHeight)||1},getSelectedHintRange:function(){var t=this.completion.options.scrollMargin||0;return{from:Math.max(0,this.selectedHint-t),to:Math.min(this.data.list.length-1,this.selectedHint+t)}}};function tt(t,e){if(!t.somethingSelected())return e;for(var i=[],n=0;n<e.length;n++)e[n].supportsSelection&&i.push(e[n]);return i}function U(t,e,i,n){if(t.async)t(e,n,i);else{var s=t(e,i);s&&s.then?s.then(n):n(s)}}function et(t,e){var i=t.getHelpers(e,"hint"),n;if(i.length){var s=function(c,o,f){var h=tt(c,i);function u(l){if(l==h.length)return o(null);U(h[l],c,f,function(a){a&&a.list.length>0?o(a):u(l+1)})}u(0)};return s.async=!0,s.supportsSelection=!0,s}else return(n=t.getHelper(t.getCursor(),"hintWords"))?function(c){return r.hint.fromList(c,{words:n})}:r.hint.anyword?function(c,o){return r.hint.anyword(c,o)}:function(){}}r.registerHelper("hint","auto",{resolve:et}),r.registerHelper("hint","fromList",function(t,e){var i=t.getCursor(),n=t.getTokenAt(i),s,c=r.Pos(i.line,n.start),o=i;n.start<i.ch&&/\w/.test(n.string.charAt(i.ch-n.start-1))?s=n.string.substr(0,i.ch-n.start):(s="",c=i);for(var f=[],h=0;h<e.words.length;h++){var u=e.words[h];u.slice(0,s.length)==s&&f.push(u)}if(f.length)return{list:f,from:c,to:o}}),r.commands.autocomplete=r.showHint;var D={hint:r.hint.auto,completeSingle:!0,alignWithWord:!0,closeCharacters:/[\s()\[\]{};:>,]/,closeOnPick:!0,closeOnUnfocus:!0,updateOnCursorActivity:!0,completeOnSingleClick:!0,container:null,customKeys:null,extraKeys:null,paddingForScrollbar:!0,moveOnOverlap:!0};r.defineOption("hintOptions",null)})})();var X=ct.exports;const lt=st(X),at=rt({__proto__:null,default:lt},[X]);export{at as s};
|
|
1
|
+
import{g as st,c as ot}from"./index.744bb98b.entry.js";function rt(x,O){for(var r=0;r<O.length;r++){const v=O[r];if(typeof v!="string"&&!Array.isArray(v)){for(const m in v)if(m!=="default"&&!(m in x)){const y=Object.getOwnPropertyDescriptor(v,m);y&&Object.defineProperty(x,m,y.get?y:{enumerable:!0,get:()=>v[m]})}}}return Object.freeze(Object.defineProperty(x,Symbol.toStringTag,{value:"Module"}))}var ct={exports:{}};(function(x,O){(function(r){r(ot)})(function(r){var v="CodeMirror-hint",m="CodeMirror-hint-active";r.showHint=function(t,e,i){if(!e)return t.showHint(i);i&&i.async&&(e.async=!0);var n={hint:e};if(i)for(var s in i)n[s]=i[s];return t.showHint(n)},r.defineExtension("showHint",function(t){t=Q(this,this.getCursor("start"),t);var e=this.listSelections();if(!(e.length>1)){if(this.somethingSelected()){if(!t.hint.supportsSelection)return;for(var i=0;i<e.length;i++)if(e[i].head.line!=e[i].anchor.line)return}this.state.completionActive&&this.state.completionActive.close();var n=this.state.completionActive=new y(this,t);n.options.hint&&(r.signal(this,"startCompletion",this),n.update(!0))}}),r.defineExtension("closeHint",function(){this.state.completionActive&&this.state.completionActive.close()});function y(t,e){if(this.cm=t,this.options=e,this.widget=null,this.debounce=0,this.tick=0,this.startPos=this.cm.getCursor("start"),this.startLen=this.cm.getLine(this.startPos.line).length-this.cm.getSelection().length,this.options.updateOnCursorActivity){var i=this;t.on("cursorActivity",this.activityFunc=function(){i.cursorActivity()})}}var G=window.requestAnimationFrame||function(t){return setTimeout(t,1e3/60)},J=window.cancelAnimationFrame||clearTimeout;y.prototype={close:function(){this.active()&&(this.cm.state.completionActive=null,this.tick=null,this.options.updateOnCursorActivity&&this.cm.off("cursorActivity",this.activityFunc),this.widget&&this.data&&r.signal(this.data,"close"),this.widget&&this.widget.close(),r.signal(this.cm,"endCompletion",this.cm))},active:function(){return this.cm.state.completionActive==this},pick:function(t,e){var i=t.list[e],n=this;this.cm.operation(function(){i.hint?i.hint(n.cm,t,i):n.cm.replaceRange(_(i),i.from||t.from,i.to||t.to,"complete"),r.signal(t,"pick",i),n.cm.scrollIntoView()}),this.options.closeOnPick&&this.close()},cursorActivity:function(){this.debounce&&(J(this.debounce),this.debounce=0);var t=this.startPos;this.data&&(t=this.data.from);var e=this.cm.getCursor(),i=this.cm.getLine(e.line);if(e.line!=this.startPos.line||i.length-e.ch!=this.startLen-this.startPos.ch||e.ch<t.ch||this.cm.somethingSelected()||!e.ch||this.options.closeCharacters.test(i.charAt(e.ch-1)))this.close();else{var n=this;this.debounce=G(function(){n.update()}),this.widget&&this.widget.disable()}},update:function(t){if(this.tick!=null){var e=this,i=++this.tick;U(this.options.hint,this.cm,this.options,function(n){e.tick==i&&e.finishUpdate(n,t)})}},finishUpdate:function(t,e){this.data&&r.signal(this.data,"update");var i=this.widget&&this.widget.picked||e&&this.options.completeSingle;this.widget&&this.widget.close(),this.data=t,t&&t.list.length&&(i&&t.list.length==1?this.pick(t,0):(this.widget=new B(this,t),r.signal(t,"shown")))}};function Q(t,e,i){var n=t.options.hintOptions,s={};for(var c in D)s[c]=D[c];if(n)for(var c in n)n[c]!==void 0&&(s[c]=n[c]);if(i)for(var c in i)i[c]!==void 0&&(s[c]=i[c]);return s.hint.resolve&&(s.hint=s.hint.resolve(t,e)),s}function _(t){return typeof t=="string"?t:t.text}function Z(t,e){var i={Up:function(){e.moveFocus(-1)},Down:function(){e.moveFocus(1)},PageUp:function(){e.moveFocus(-e.menuSize()+1,!0)},PageDown:function(){e.moveFocus(e.menuSize()-1,!0)},Home:function(){e.setFocus(0)},End:function(){e.setFocus(e.length-1)},Enter:e.pick,Tab:e.pick,Esc:e.close},n=/Mac/.test(navigator.platform);n&&(i["Ctrl-P"]=function(){e.moveFocus(-1)},i["Ctrl-N"]=function(){e.moveFocus(1)});var s=t.options.customKeys,c=s?{}:i;function o(u,l){var a;typeof l!="string"?a=function(H){return l(H,e)}:i.hasOwnProperty(l)?a=i[l]:a=l,c[u]=a}if(s)for(var f in s)s.hasOwnProperty(f)&&o(f,s[f]);var h=t.options.extraKeys;if(h)for(var f in h)h.hasOwnProperty(f)&&o(f,h[f]);return c}function K(t,e){for(;e&&e!=t;){if(e.nodeName.toUpperCase()==="LI"&&e.parentNode==t)return e;e=e.parentNode}}function B(t,e){this.id="cm-complete-"+Math.floor(Math.random(1e6)),this.completion=t,this.data=e,this.picked=!1;var i=this,n=t.cm,s=n.getInputField().ownerDocument,c=s.defaultView||s.parentWindow,o=this.hints=s.createElement("ul");o.setAttribute("role","listbox"),o.setAttribute("aria-expanded","true"),o.id=this.id;var f=t.cm.options.theme;o.className="CodeMirror-hints "+f,this.selectedHint=e.selectedHint||0;for(var h=e.list,u=0;u<h.length;++u){var l=o.appendChild(s.createElement("li")),a=h[u],H=v+(u!=this.selectedHint?"":" "+m);a.className!=null&&(H=a.className+" "+H),l.className=H,u==this.selectedHint&&l.setAttribute("aria-selected","true"),l.id=this.id+"-"+u,l.setAttribute("role","option"),a.render?a.render(l,e,a):l.appendChild(s.createTextNode(a.displayText||_(a))),l.hintId=u}var A=t.options.container||s.body,w=n.cursorCoords(t.options.alignWithWord?e.from:null),F=w.left,E=w.bottom,M=!0,N=0,I=0;if(A!==s.body){var it=["absolute","relative","fixed"].indexOf(c.getComputedStyle(A).position)!==-1,C=it?A:A.offsetParent,j=C.getBoundingClientRect(),z=s.body.getBoundingClientRect();N=j.left-z.left-C.scrollLeft,I=j.top-z.top-C.scrollTop}o.style.left=F-N+"px",o.style.top=E-I+"px";var S=c.innerWidth||Math.max(s.body.offsetWidth,s.documentElement.offsetWidth),W=c.innerHeight||Math.max(s.body.offsetHeight,s.documentElement.offsetHeight);A.appendChild(o),n.getInputField().setAttribute("aria-autocomplete","list"),n.getInputField().setAttribute("aria-owns",this.id),n.getInputField().setAttribute("aria-activedescendant",this.id+"-"+this.selectedHint);var g=t.options.moveOnOverlap?o.getBoundingClientRect():new DOMRect,V=t.options.paddingForScrollbar?o.scrollHeight>o.clientHeight+1:!1,b;setTimeout(function(){b=n.getScrollInfo()});var nt=g.bottom-W;if(nt>0){var L=g.bottom-g.top,P=g.top-(w.bottom-w.top)-2;W-g.top<P?(L>P&&(o.style.height=(L=P)+"px"),o.style.top=(E=w.top-L)+I+"px",M=!1):o.style.height=W-g.top-2+"px"}var T=g.right-S;if(V&&(T+=n.display.nativeBarWidth),T>0&&(g.right-g.left>S&&(o.style.width=S-5+"px",T-=g.right-g.left-S),o.style.left=(F=Math.max(w.left-T-N,0))+"px"),V)for(var k=o.firstChild;k;k=k.nextSibling)k.style.paddingRight=n.display.nativeBarWidth+"px";if(n.addKeyMap(this.keyMap=Z(t,{moveFocus:function(p,d){i.changeActive(i.selectedHint+p,d)},setFocus:function(p){i.changeActive(p)},menuSize:function(){return i.screenAmount()},length:h.length,close:function(){t.close()},pick:function(){i.pick()},data:e})),t.options.closeOnUnfocus){var q;n.on("blur",this.onBlur=function(){q=setTimeout(function(){t.close()},100)}),n.on("focus",this.onFocus=function(){clearTimeout(q)})}n.on("scroll",this.onScroll=function(){var p=n.getScrollInfo(),d=n.getWrapperElement().getBoundingClientRect();b||(b=n.getScrollInfo());var $=E+b.top-p.top,R=$-(c.pageYOffset||(s.documentElement||s.body).scrollTop);if(M||(R+=o.offsetHeight),R<=d.top||R>=d.bottom)return t.close();o.style.top=$+"px",o.style.left=F+b.left-p.left+"px"}),r.on(o,"dblclick",function(p){var d=K(o,p.target||p.srcElement);d&&d.hintId!=null&&(i.changeActive(d.hintId),i.pick())}),r.on(o,"click",function(p){var d=K(o,p.target||p.srcElement);d&&d.hintId!=null&&(i.changeActive(d.hintId),t.options.completeOnSingleClick&&i.pick())}),r.on(o,"mousedown",function(){setTimeout(function(){n.focus()},20)});var Y=this.getSelectedHintRange();return(Y.from!==0||Y.to!==0)&&this.scrollToActive(),r.signal(e,"select",h[this.selectedHint],o.childNodes[this.selectedHint]),!0}B.prototype={close:function(){if(this.completion.widget==this){this.completion.widget=null,this.hints.parentNode&&this.hints.parentNode.removeChild(this.hints),this.completion.cm.removeKeyMap(this.keyMap);var t=this.completion.cm.getInputField();t.removeAttribute("aria-activedescendant"),t.removeAttribute("aria-owns");var e=this.completion.cm;this.completion.options.closeOnUnfocus&&(e.off("blur",this.onBlur),e.off("focus",this.onFocus)),e.off("scroll",this.onScroll)}},disable:function(){this.completion.cm.removeKeyMap(this.keyMap);var t=this;this.keyMap={Enter:function(){t.picked=!0}},this.completion.cm.addKeyMap(this.keyMap)},pick:function(){this.completion.pick(this.data,this.selectedHint)},changeActive:function(t,e){if(t>=this.data.list.length?t=e?this.data.list.length-1:0:t<0&&(t=e?0:this.data.list.length-1),this.selectedHint!=t){var i=this.hints.childNodes[this.selectedHint];i&&(i.className=i.className.replace(" "+m,""),i.removeAttribute("aria-selected")),i=this.hints.childNodes[this.selectedHint=t],i.className+=" "+m,i.setAttribute("aria-selected","true"),this.completion.cm.getInputField().setAttribute("aria-activedescendant",i.id),this.scrollToActive(),r.signal(this.data,"select",this.data.list[this.selectedHint],i)}},scrollToActive:function(){var t=this.getSelectedHintRange(),e=this.hints.childNodes[t.from],i=this.hints.childNodes[t.to],n=this.hints.firstChild;e.offsetTop<this.hints.scrollTop?this.hints.scrollTop=e.offsetTop-n.offsetTop:i.offsetTop+i.offsetHeight>this.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=i.offsetTop+i.offsetHeight-this.hints.clientHeight+n.offsetTop)},screenAmount:function(){return Math.floor(this.hints.clientHeight/this.hints.firstChild.offsetHeight)||1},getSelectedHintRange:function(){var t=this.completion.options.scrollMargin||0;return{from:Math.max(0,this.selectedHint-t),to:Math.min(this.data.list.length-1,this.selectedHint+t)}}};function tt(t,e){if(!t.somethingSelected())return e;for(var i=[],n=0;n<e.length;n++)e[n].supportsSelection&&i.push(e[n]);return i}function U(t,e,i,n){if(t.async)t(e,n,i);else{var s=t(e,i);s&&s.then?s.then(n):n(s)}}function et(t,e){var i=t.getHelpers(e,"hint"),n;if(i.length){var s=function(c,o,f){var h=tt(c,i);function u(l){if(l==h.length)return o(null);U(h[l],c,f,function(a){a&&a.list.length>0?o(a):u(l+1)})}u(0)};return s.async=!0,s.supportsSelection=!0,s}else return(n=t.getHelper(t.getCursor(),"hintWords"))?function(c){return r.hint.fromList(c,{words:n})}:r.hint.anyword?function(c,o){return r.hint.anyword(c,o)}:function(){}}r.registerHelper("hint","auto",{resolve:et}),r.registerHelper("hint","fromList",function(t,e){var i=t.getCursor(),n=t.getTokenAt(i),s,c=r.Pos(i.line,n.start),o=i;n.start<i.ch&&/\w/.test(n.string.charAt(i.ch-n.start-1))?s=n.string.substr(0,i.ch-n.start):(s="",c=i);for(var f=[],h=0;h<e.words.length;h++){var u=e.words[h];u.slice(0,s.length)==s&&f.push(u)}if(f.length)return{list:f,from:c,to:o}}),r.commands.autocomplete=r.showHint;var D={hint:r.hint.auto,completeSingle:!0,alignWithWord:!0,closeCharacters:/[\s()\[\]{};:>,]/,closeOnPick:!0,closeOnUnfocus:!0,updateOnCursorActivity:!0,completeOnSingleClick:!0,container:null,customKeys:null,extraKeys:null,paddingForScrollbar:!0,moveOnOverlap:!0};r.defineOption("hintOptions",null)})})();var X=ct.exports;const lt=st(X),at=rt({__proto__:null,default:lt},[X]);export{at as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as _,c as b}from"./index.
|
|
1
|
+
import{g as _,c as b}from"./index.744bb98b.entry.js";function y(c,p){for(var i=0;i<p.length;i++){const u=p[i];if(typeof u!="string"&&!Array.isArray(u)){for(const o in u)if(o!=="default"&&!(o in c)){const f=Object.getOwnPropertyDescriptor(u,o);f&&Object.defineProperty(c,o,f.get?f:{enumerable:!0,get:()=>u[o]})}}}return Object.freeze(Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}))}var z={exports:{}};(function(c,p){(function(i){i(b)})(function(i){i.defineMode("sieve",function(u){function o(e){for(var n={},r=e.split(" "),t=0;t<r.length;++t)n[r[t]]=!0;return n}var f=o("if elsif else stop require"),k=o("true false not"),g=u.indentUnit;function l(e,n){var r=e.next();if(r=="/"&&e.eat("*"))return n.tokenize=a,a(e,n);if(r==="#")return e.skipToEnd(),"comment";if(r=='"')return n.tokenize=h(r),n.tokenize(e,n);if(r=="(")return n._indent.push("("),n._indent.push("{"),null;if(r==="{")return n._indent.push("{"),null;if(r==")"&&(n._indent.pop(),n._indent.pop()),r==="}")return n._indent.pop(),null;if(r==","||r==";"||/[{}\(\),;]/.test(r))return null;if(/\d/.test(r))return e.eatWhile(/[\d]/),e.eat(/[KkMmGg]/),"number";if(r==":")return e.eatWhile(/[a-zA-Z_]/),e.eatWhile(/[a-zA-Z0-9_]/),"operator";e.eatWhile(/\w/);var t=e.current();return t=="text"&&e.eat(":")?(n.tokenize=v,"string"):f.propertyIsEnumerable(t)?"keyword":k.propertyIsEnumerable(t)?"atom":null}function v(e,n){return n._multiLineString=!0,e.sol()?(e.next()=="."&&e.eol()&&(n._multiLineString=!1,n.tokenize=l),"string"):(e.eatSpace(),e.peek()=="#"?(e.skipToEnd(),"comment"):(e.skipToEnd(),"string"))}function a(e,n){for(var r=!1,t;(t=e.next())!=null;){if(r&&t=="/"){n.tokenize=l;break}r=t=="*"}return"comment"}function h(e){return function(n,r){for(var t=!1,d;(d=n.next())!=null&&!(d==e&&!t);)t=!t&&d=="\\";return t||(r.tokenize=l),"string"}}return{startState:function(e){return{tokenize:l,baseIndent:e||0,_indent:[]}},token:function(e,n){return e.eatSpace()?null:(n.tokenize||l)(e,n)},indent:function(e,n){var r=e._indent.length;return n&&n[0]=="}"&&r--,r<0&&(r=0),r*g},electricChars:"}"}}),i.defineMIME("application/sieve","sieve")})})();var s=z.exports;const x=_(s),S=y({__proto__:null,default:x},[s]);export{S as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as pn,c as an}from"./index.
|
|
1
|
+
import{g as pn,c as an}from"./index.744bb98b.entry.js";import{r as xn}from"./htmlmixed-5b8dfd5e.js";import{r as zn}from"./ruby-8eb885ca.js";function hn(h,g){for(var t=0;t<g.length;t++){const l=g[t];if(typeof l!="string"&&!Array.isArray(l)){for(const c in l)if(c!=="default"&&!(c in h)){const f=Object.getOwnPropertyDescriptor(l,c);f&&Object.defineProperty(h,c,f.get?f:{enumerable:!0,get:()=>l[c]})}}}return Object.freeze(Object.defineProperty(h,Symbol.toStringTag,{value:"Module"}))}var mn={exports:{}};(function(h,g){(function(t){t(an,xn(),zn())})(function(t){t.defineMode("slim",function(l){var c=t.getMode(l,{name:"htmlmixed"}),f=t.getMode(l,"ruby"),w={html:c,ruby:f},D={ruby:"ruby",javascript:"javascript",css:"text/css",sass:"text/x-sass",scss:"text/x-scss",less:"text/x-less",styl:"text/x-styl",coffee:"coffeescript",asciidoc:"text/x-asciidoc",markdown:"text/x-markdown",textile:"text/x-textile",creole:"text/x-creole",wiki:"text/x-wiki",mediawiki:"text/x-mediawiki",rdoc:"text/x-rdoc",builder:"text/x-builder",nokogiri:"text/x-nokogiri",erb:"application/x-erb"},U=function(n){var e=[];for(var i in n)e.push(i);return new RegExp("^("+e.join("|")+"):")}(D),L={commentLine:"comment",slimSwitch:"operator special",slimTag:"tag",slimId:"attribute def",slimClass:"attribute qualifier",slimAttribute:"attribute",slimSubmode:"keyword special",closeAttributeTag:null,slimDoctype:null,lineContinuation:null},q={"{":"}","[":"]","(":")"},m="_a-zA-ZÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-�",y=m+"\\-0-9·̀-ͯ‿-⁀",N=new RegExp("^[:"+m+"](?::["+y+"]|["+y+"]*)"),Q=new RegExp("^[:"+m+"][:\\."+y+"]*(?=\\s*=)"),V=new RegExp("^[:"+m+"][:\\."+y+"]*"),W=/^\.-?[_a-zA-Z]+[\w\-]*/,H=/^#[_a-zA-Z]+[\w\-]*/;function Z(n,e,i){var u=function(r,o){return o.tokenize=e,r.pos<n?(r.pos=n,i):o.tokenize(r,o)};return function(r,o){return o.tokenize=u,e(r,o)}}function B(n,e,i,u,r){var o=n.current(),k=o.search(i);return k>-1&&(e.tokenize=Z(n.pos,e.tokenize,r),n.backUp(o.length-k-u)),r}function F(n,e){n.stack={parent:n.stack,style:"continuation",indented:e,tokenize:n.line},n.line=n.tokenize}function A(n){n.line==n.tokenize&&(n.line=n.stack.tokenize,n.stack=n.stack.parent)}function G(n,e){return function(i,u){if(A(u),i.match(/^\\$/))return F(u,n),"lineContinuation";var r=e(i,u);return i.eol()&&i.current().match(/(?:^|[^\\])(?:\\\\)*\\$/)&&i.backUp(1),r}}function J(n,e){return function(i,u){A(u);var r=e(i,u);return i.eol()&&i.current().match(/,$/)&&F(u,n),r}}function M(n,e){return function(i,u){var r=i.peek();return r==n&&u.rubyState.tokenize.length==1?(i.next(),u.tokenize=e,"closeAttributeTag"):a(i,u)}}function d(n){var e,i=function(u,r){if(r.rubyState.tokenize.length==1&&!r.rubyState.context.prev){if(u.backUp(1),u.eatSpace())return r.rubyState=e,r.tokenize=n,n(u,r);u.next()}return a(u,r)};return function(u,r){return e=r.rubyState,r.rubyState=t.startState(f),r.tokenize=i,a(u,r)}}function a(n,e){return f.token(n,e.rubyState)}function K(n,e){return n.match(/^\\$/)?"lineContinuation":s(n,e)}function s(n,e){return n.match(/^#\{/)?(e.tokenize=M("}",e.tokenize),null):B(n,e,/[^\\]#\{/,1,c.token(n,e.htmlState))}function X(n){return function(e,i){var u=K(e,i);return e.eol()&&(i.tokenize=n),u}}function O(n,e,i){return e.stack={parent:e.stack,style:"html",indented:n.column()+i,tokenize:e.line},e.line=e.tokenize=s,null}function T(n,e){return n.skipToEnd(),e.stack.style}function Y(n,e){return e.stack={parent:e.stack,style:"comment",indented:e.indented+1,tokenize:e.line},e.line=T,T(n,e)}function p(n,e){return n.eat(e.stack.endQuote)?(e.line=e.stack.line,e.tokenize=e.stack.tokenize,e.stack=e.stack.parent,null):n.match(V)?(e.tokenize=nn,"slimAttribute"):(n.next(),null)}function nn(n,e){return n.match(/^==?/)?(e.tokenize=en,null):p(n,e)}function en(n,e){var i=n.peek();return i=='"'||i=="'"?(e.tokenize=j(i,"string",!0,!1,p),n.next(),e.tokenize(n,e)):i=="["?d(p)(n,e):n.match(/^(true|false|nil)\b/)?(e.tokenize=p,"keyword"):d(p)(n,e)}function un(n,e,i){return n.stack={parent:n.stack,style:"wrapper",indented:n.indented+1,tokenize:i,line:n.line,endQuote:e},n.line=n.tokenize=p,null}function rn(n,e){if(n.match(/^#\{/))return e.tokenize=M("}",e.tokenize),null;var i=new t.StringStream(n.string.slice(e.stack.indented),n.tabSize);i.pos=n.pos-e.stack.indented,i.start=n.start-e.stack.indented,i.lastColumnPos=n.lastColumnPos-e.stack.indented,i.lastColumnValue=n.lastColumnValue-e.stack.indented;var u=e.subMode.token(i,e.subState);return n.pos=i.pos+e.stack.indented,u}function tn(n,e){return e.stack.indented=n.column(),e.line=e.tokenize=rn,e.tokenize(n,e)}function on(n){var e=D[n],i=t.mimeModes[e];if(i)return t.getMode(l,i);var u=t.modes[e];return u?u(l,{name:e}):t.getMode(l,"null")}function ln(n){return w.hasOwnProperty(n)?w[n]:w[n]=on(n)}function cn(n,e){var i=ln(n),u=t.startState(i);return e.subMode=i,e.subState=u,e.stack={parent:e.stack,style:"sub",indented:e.indented+1,tokenize:e.line},e.line=e.tokenize=tn,"slimSubmode"}function fn(n,e){return n.skipToEnd(),"slimDoctype"}function kn(n,e){var i=n.peek();if(i=="<")return(e.tokenize=X(e.tokenize))(n,e);if(n.match(/^[|']/))return O(n,e,1);if(n.match(/^\/(!|\[\w+])?/))return Y(n,e);if(n.match(/^(-|==?[<>]?)/))return e.tokenize=G(n.column(),J(n.column(),a)),"slimSwitch";if(n.match(/^doctype\b/))return e.tokenize=fn,"keyword";var u=n.match(U);return u?cn(u[1],e):R(n,e)}function E(n,e){return e.startOfLine?kn(n,e):R(n,e)}function R(n,e){return n.eat("*")?(e.tokenize=d(_),null):n.match(N)?(e.tokenize=_,"slimTag"):x(n,e)}function _(n,e){return n.match(/^(<>?|><?)/)?(e.tokenize=x,null):x(n,e)}function x(n,e){return n.match(H)?(e.tokenize=x,"slimId"):n.match(W)?(e.tokenize=x,"slimClass"):b(n,e)}function b(n,e){return n.match(/^([\[\{\(])/)?un(e,q[RegExp.$1],b):n.match(Q)?(e.tokenize=dn,"slimAttribute"):n.peek()=="*"?(n.next(),e.tokenize=d(P),null):P(n,e)}function dn(n,e){return n.match(/^==?/)?(e.tokenize=bn,null):b(n,e)}function bn(n,e){var i=n.peek();return i=='"'||i=="'"?(e.tokenize=j(i,"string",!0,!1,b),n.next(),e.tokenize(n,e)):i=="["?d(b)(n,e):i==":"?d($)(n,e):n.match(/^(true|false|nil)\b/)?(e.tokenize=b,"keyword"):d(b)(n,e)}function $(n,e){return n.backUp(1),n.match(/^[^\s],(?=:)/)?(e.tokenize=d($),null):(n.next(),b(n,e))}function j(n,e,i,u,r){return function(o,k){A(k);var S=o.current().length==0;if(o.match(/^\\$/,S))return S?(F(k,k.indented),"lineContinuation"):e;if(o.match(/^#\{/,S))return S?(k.tokenize=M("}",k.tokenize),null):e;for(var z=!1,v;(v=o.next())!=null;){if(v==n&&(u||!z)){k.tokenize=r;break}if(i&&v=="#"&&!z&&o.eat("{")){o.backUp(2);break}z=!z&&v=="\\"}return o.eol()&&z&&o.backUp(1),e}}function P(n,e){return n.match(/^==?/)?(e.tokenize=a,"slimSwitch"):n.match(/^\/$/)?(e.tokenize=E,null):n.match(/^:/)?(e.tokenize=R,"slimSwitch"):(O(n,e,0),e.tokenize(n,e))}var C={startState:function(){var n=t.startState(c),e=t.startState(f);return{htmlState:n,rubyState:e,stack:null,last:null,tokenize:E,line:E,indented:0}},copyState:function(n){return{htmlState:t.copyState(c,n.htmlState),rubyState:t.copyState(f,n.rubyState),subMode:n.subMode,subState:n.subMode&&t.copyState(n.subMode,n.subState),stack:n.stack,last:n.last,tokenize:n.tokenize,line:n.line}},token:function(n,e){if(n.sol())for(e.indented=n.indentation(),e.startOfLine=!0,e.tokenize=e.line;e.stack&&e.stack.indented>e.indented&&e.last!="slimSubmode";)e.line=e.tokenize=e.stack.tokenize,e.stack=e.stack.parent,e.subMode=null,e.subState=null;if(n.eatSpace())return null;var i=e.tokenize(n,e);return e.startOfLine=!1,i&&(e.last=i),L.hasOwnProperty(i)?L[i]:i},blankLine:function(n){if(n.subMode&&n.subMode.blankLine)return n.subMode.blankLine(n.subState)},innerMode:function(n){return n.subMode?{state:n.subState,mode:n.subMode}:{state:n,mode:C}}};return C},"htmlmixed","ruby"),t.defineMIME("text/x-slim","slim"),t.defineMIME("application/x-slim","slim")})})();var I=mn.exports;const yn=pn(I),wn=hn({__proto__:null,default:yn},[I]);export{wn as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as m,c as g}from"./index.
|
|
1
|
+
import{g as m,c as g}from"./index.744bb98b.entry.js";function y(c,p){for(var a=0;a<p.length;a++){const l=p[a];if(typeof l!="string"&&!Array.isArray(l)){for(const o in l)if(o!=="default"&&!(o in c)){const s=Object.getOwnPropertyDescriptor(l,o);s&&Object.defineProperty(c,o,s.get?s:{enumerable:!0,get:()=>l[o]})}}}return Object.freeze(Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}))}var W={exports:{}};(function(c,p){(function(a){a(g)})(function(a){a.defineMode("smalltalk",function(l){var o=/[+\-\/\\*~<>=@%|&?!.,:;^]/,s=/true|false|nil|self|super|thisContext/,u=function(e,n){this.next=e,this.parent=n},f=function(e,n,t){this.name=e,this.context=n,this.eos=t},d=function(){this.context=new u(x,null),this.expectVariable=!0,this.indentation=0,this.userIndentationDelta=0};d.prototype.userIndent=function(e){this.userIndentationDelta=e>0?e/l.indentUnit-this.indentation:0};var x=function(e,n,t){var i=new f(null,n,!1),r=e.next();return r==='"'?i=h(e,new u(h,n)):r==="'"?i=v(e,new u(v,n)):r==="#"?e.peek()==="'"?(e.next(),i=b(e,new u(b,n))):e.eatWhile(/[^\s.{}\[\]()]/)?i.name="string-2":i.name="meta":r==="$"?(e.next()==="<"&&(e.eatWhile(/[^\s>]/),e.next()),i.name="string-2"):r==="|"&&t.expectVariable?i.context=new u(w,n):/[\[\]{}()]/.test(r)?(i.name="bracket",i.eos=/[\[{(]/.test(r),r==="["?t.indentation++:r==="]"&&(t.indentation=Math.max(0,t.indentation-1))):o.test(r)?(e.eatWhile(o),i.name="operator",i.eos=r!==";"):/\d/.test(r)?(e.eatWhile(/[\w\d]/),i.name="number"):/[\w_]/.test(r)?(e.eatWhile(/[\w\d_]/),i.name=t.expectVariable?s.test(e.current())?"keyword":"variable":null):i.eos=t.expectVariable,i},h=function(e,n){return e.eatWhile(/[^"]/),new f("comment",e.eat('"')?n.parent:n,!0)},v=function(e,n){return e.eatWhile(/[^']/),new f("string",e.eat("'")?n.parent:n,!1)},b=function(e,n){return e.eatWhile(/[^']/),new f("string-2",e.eat("'")?n.parent:n,!1)},w=function(e,n){var t=new f(null,n,!1),i=e.next();return i==="|"?(t.context=n.parent,t.eos=!0):(e.eatWhile(/[^|]/),t.name="variable"),t};return{startState:function(){return new d},token:function(e,n){if(n.userIndent(e.indentation()),e.eatSpace())return null;var t=n.context.next(e,n.context,n);return n.context=t.context,n.expectVariable=t.eos,t.name},blankLine:function(e){e.userIndent(0)},indent:function(e,n){var t=e.context.next===x&&n&&n.charAt(0)==="]"?-1:e.userIndentationDelta;return(e.indentation+t)*l.indentUnit},electricChars:"]"}}),a.defineMIME("text/x-stsrc",{name:"smalltalk"})})})();var k=W.exports;const C=m(k),S=y({__proto__:null,default:C},[k]);export{S as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as D,c as O}from"./index.
|
|
1
|
+
import{g as D,c as O}from"./index.744bb98b.entry.js";function _(v,k){for(var o=0;o<k.length;o++){const a=k[o];if(typeof a!="string"&&!Array.isArray(a)){for(const u in a)if(u!=="default"&&!(u in v)){const d=Object.getOwnPropertyDescriptor(a,u);d&&Object.defineProperty(v,u,d.get?d:{enumerable:!0,get:()=>a[u]})}}}return Object.freeze(Object.defineProperty(v,Symbol.toStringTag,{value:"Module"}))}var j={exports:{}};(function(v,k){(function(o){o(O)})(function(o){o.defineMode("smarty",function(a,u){var d=u.rightDelimiter||"}",c=u.leftDelimiter||"{",b=u.version||2,p=o.getMode(a,u.baseMode||"null"),y=["debug","extends","function","include","literal"],f={operatorChars:/[+\-*&%=<>!?]/,validIdentifier:/[a-zA-Z0-9_]/,stringChar:/['"]/},h;function n(e,t){return h=t,e}function I(e,t,r){return t.tokenize=r,r(e,t)}function w(e,t){return t==null&&(t=e.pos),b===3&&c=="{"&&(t==e.string.length||/\s/.test(e.string.charAt(t)))}function s(e,t){for(var r=e.string,l=e.pos;;){var i=r.indexOf(c,l);if(l=i+c.length,i==-1||!w(e,i+c.length))break}if(i==e.pos)return e.match(c),e.eat("*")?I(e,t,S("comment","*"+d)):(t.depth++,t.tokenize=z,h="startTag","tag");i>-1&&(e.string=r.slice(0,i));var g=p.token(e,t.base);return i>-1&&(e.string=r),g}function z(e,t){if(e.match(d,!0))return b===3?(t.depth--,t.depth<=0&&(t.tokenize=s)):t.tokenize=s,n("tag",null);if(e.match(c,!0))return t.depth++,n("tag","startTag");var r=e.next();if(r=="$")return e.eatWhile(f.validIdentifier),n("variable-2","variable");if(r=="|")return n("operator","pipe");if(r==".")return n("operator","property");if(f.stringChar.test(r))return t.tokenize=x(r),n("string","string");if(f.operatorChars.test(r))return e.eatWhile(f.operatorChars),n("operator","operator");if(r=="["||r=="]")return n("bracket","bracket");if(r=="("||r==")")return n("bracket","operator");if(/\d/.test(r))return e.eatWhile(/\d/),n("number","number");if(t.last=="variable"){if(r=="@")return e.eatWhile(f.validIdentifier),n("property","property");if(r=="|")return e.eatWhile(f.validIdentifier),n("qualifier","modifier")}else{if(t.last=="pipe")return e.eatWhile(f.validIdentifier),n("qualifier","modifier");if(t.last=="whitespace")return e.eatWhile(f.validIdentifier),n("attribute","modifier")}if(t.last=="property")return e.eatWhile(f.validIdentifier),n("property",null);if(/\s/.test(r))return h="whitespace",null;var l="";r!="/"&&(l+=r);for(var i=null;i=e.eat(f.validIdentifier);)l+=i;for(var g=0,W=y.length;g<W;g++)if(y[g]==l)return n("keyword","keyword");return/\s/.test(r)?null:n("tag","tag")}function x(e){return function(t,r){for(var l=null,i=null;!t.eol();){if(i=t.peek(),t.next()==e&&l!=="\\"){r.tokenize=z;break}l=i}return"string"}}function S(e,t){return function(r,l){for(;!r.eol();){if(r.match(t)){l.tokenize=s;break}r.next()}return e}}return{startState:function(){return{base:o.startState(p),tokenize:s,last:null,depth:0}},copyState:function(e){return{base:o.copyState(p,e.base),tokenize:e.tokenize,last:e.last,depth:e.depth}},innerMode:function(e){if(e.tokenize==s)return{mode:p,state:e.base}},token:function(e,t){var r=t.tokenize(e,t);return t.last=h,r},indent:function(e,t,r){return e.tokenize==s&&p.indent?p.indent(e.base,t,r):o.Pass},blockCommentStart:c+"*",blockCommentEnd:"*"+d}}),o.defineMIME("text/x-smarty","smarty")})})();var m=j.exports;const A=D(m),P=_({__proto__:null,default:A},[m]);export{P as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as x,c as z}from"./index.
|
|
1
|
+
import{g as x,c as z}from"./index.744bb98b.entry.js";function O(l,c){for(var o=0;o<c.length;o++){const i=c[o];if(typeof i!="string"&&!Array.isArray(i)){for(const f in i)if(f!=="default"&&!(f in l)){const u=Object.getOwnPropertyDescriptor(i,f);u&&Object.defineProperty(l,f,u.get?u:{enumerable:!0,get:()=>i[f]})}}}return Object.freeze(Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}))}var b={exports:{}};(function(l,c){(function(o){o(z)})(function(o){o.defineMode("solr",function(){var i=/[^\s\|\!\+\-\*\?\~\^\&\:\(\)\[\]\{\}\"\\]/,f=/[\|\!\+\-\*\?\~\^\&]/,u=/^(OR|AND|NOT|TO)$/i;function k(e){return parseFloat(e).toString()===e}function g(e){return function(t,r){for(var n=!1,a;(a=t.next())!=null&&!(a==e&&!n);)n=!n&&a=="\\";return n||(r.tokenize=s),"string"}}function d(e){return function(t,r){var n="operator";return e=="+"?n+=" positive":e=="-"?n+=" negative":e=="|"?t.eat(/\|/):e=="&"?t.eat(/\&/):e=="^"&&(n+=" boost"),r.tokenize=s,n}}function v(e){return function(t,r){for(var n=e;(e=t.peek())&&e.match(i)!=null;)n+=t.next();return r.tokenize=s,u.test(n)?"operator":k(n)?"number":t.peek()==":"?"field":"string"}}function s(e,t){var r=e.next();return r=='"'?t.tokenize=g(r):f.test(r)?t.tokenize=d(r):i.test(r)&&(t.tokenize=v(r)),t.tokenize!=s?t.tokenize(e,t):null}return{startState:function(){return{tokenize:s}},token:function(e,t){return e.eatSpace()?null:t.tokenize(e,t)}}}),o.defineMIME("text/x-solr","solr")})})();var p=b.exports;const y=x(p),m=O({__proto__:null,default:y},[p]);export{m as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as P,c as F}from"./index.aa47f040.entry.js";import{r as z}from"./htmlmixed-40742df7.js";function D(v,g){for(var l=0;l<g.length;l++){const o=g[l];if(typeof o!="string"&&!Array.isArray(o)){for(const i in o)if(i!=="default"&&!(i in v)){const h=Object.getOwnPropertyDescriptor(o,i);h&&Object.defineProperty(v,i,h.get?h:{enumerable:!0,get:()=>o[i]})}}}return Object.freeze(Object.defineProperty(v,Symbol.toStringTag,{value:"Module"}))}var H={exports:{}};(function(v,g){(function(l){l(F,z())})(function(l){var o={noEndTag:!0,soyState:"param-def"},i={alias:{noEndTag:!0},delpackage:{noEndTag:!0},namespace:{noEndTag:!0,soyState:"namespace-def"},"@attribute":o,"@attribute?":o,"@param":o,"@param?":o,"@inject":o,"@inject?":o,"@state":o,template:{soyState:"templ-def",variableScope:!0},extern:{soyState:"param-def"},export:{soyState:"export"},literal:{},msg:{},fallbackmsg:{noEndTag:!0,reduceIndent:!0},select:{},plural:{},let:{soyState:"var-def"},if:{},javaimpl:{},jsimpl:{},elseif:{noEndTag:!0,reduceIndent:!0},else:{noEndTag:!0,reduceIndent:!0},switch:{},case:{noEndTag:!0,reduceIndent:!0},default:{noEndTag:!0,reduceIndent:!0},foreach:{variableScope:!0,soyState:"for-loop"},ifempty:{noEndTag:!0,reduceIndent:!0},for:{variableScope:!0,soyState:"for-loop"},call:{soyState:"templ-ref"},param:{soyState:"param-ref"},print:{noEndTag:!0},deltemplate:{soyState:"templ-def",variableScope:!0},delcall:{soyState:"templ-ref"},log:{},element:{variableScope:!0},velog:{},const:{soyState:"const-def"}},h=Object.keys(i).filter(function(r){return!i[r].noEndTag||i[r].reduceIndent});l.defineMode("soy",function(r){var x=l.getMode(r,"text/plain"),b={html:l.getMode(r,{name:"text/html",multilineTagIndentFactor:2,multilineTagIndentPastTag:!1,allowMissingTagName:!0}),attributes:x,text:x,uri:x,trusted_resource_uri:x,css:l.getMode(r,"text/css"),js:l.getMode(r,{name:"text/javascript",statementIndent:2*r.indentUnit})};function f(n){return n[n.length-1]}function E(n,e,t){if(n.sol()){for(var u=0;u<e.indent&&n.eat(/\s/);u++);if(u)return null}var d=n.string,a=t.exec(d.substr(n.pos));a&&(n.string=d.substr(0,n.pos+a.index));var p=n.hideFirstChars(e.indent,function(){var c=f(e.localStates);return c.mode.token(n,c.state)});return n.string=d,p}function _(n,e){for(;n;){if(n.element===e)return!0;n=n.next}return!1}function S(n,e){return{element:e,next:n}}function w(n){n.context&&(n.context.scope&&(n.variables=n.context.scope),n.context=n.context.previousContext)}function j(n,e,t){return _(n,e)?"variable-2":t?"variable":"variable-2 error"}function k(n,e,t){this.previousContext=n,this.tag=e,this.kind=null,this.scope=t}function m(n,e){var t;return n.match(/[[]/)?(e.soyState.push("list-literal"),e.context=new k(e.context,"list-literal",e.variables),e.lookupVariables=!1,null):n.match(/\bmap(?=\()/)?(e.soyState.push("map-literal"),"keyword"):n.match(/\brecord(?=\()/)?(e.soyState.push("record-literal"),"keyword"):n.match(/([\w]+)(?=\()/)?"variable callee":(t=n.match(/^["']/))?(e.soyState.push("string"),e.quoteKind=t[0],"string"):n.match(/^[(]/)?(e.soyState.push("open-parentheses"),null):n.match(/(null|true|false)(?!\w)/)||n.match(/0x([0-9a-fA-F]{2,})/)||n.match(/-?([0-9]*[.])?[0-9]+(e[0-9]*)?/)?"atom":n.match(/(\||[+\-*\/%]|[=!]=|\?:|[<>]=?)/)?"operator":(t=n.match(/^\$([\w]+)/))?j(e.variables,t[1],!e.lookupVariables):(t=n.match(/^\w+/))?/^(?:as|and|or|not|in|if)$/.test(t[0])?"keyword":null:(n.next(),null)}return{startState:function(){return{soyState:[],variables:S(null,"ij"),scopes:null,indent:0,quoteKind:null,context:null,lookupVariables:!0,localStates:[{mode:b.html,state:l.startState(b.html)}]}},copyState:function(n){return{tag:n.tag,soyState:n.soyState.concat([]),variables:n.variables,context:n.context,indent:n.indent,quoteKind:n.quoteKind,lookupVariables:n.lookupVariables,localStates:n.localStates.map(function(e){return{mode:e.mode,state:l.copyState(e.mode,e.state)}})}},token:function(n,e){var t;switch(f(e.soyState)){case"comment":if(n.match(/^.*?\*\//)?e.soyState.pop():n.skipToEnd(),!e.context||!e.context.scope)for(var u=/@param\??\s+(\S+)/g,d=n.current(),t;t=u.exec(d);)e.variables=S(e.variables,t[1]);return"comment";case"string":var t=n.match(/^.*?(["']|\\[\s\S])/);return t?t[1]==e.quoteKind&&(e.quoteKind=null,e.soyState.pop()):n.skipToEnd(),"string"}if(!e.soyState.length||f(e.soyState)!="literal"){if(n.match(/^\/\*/))return e.soyState.push("comment"),"comment";if(n.match(n.sol()?/^\s*\/\/.*/:/^\s+\/\/.*/))return"comment"}switch(f(e.soyState)){case"templ-def":return(t=n.match(/^\.?([\w]+(?!\.[\w]+)*)/))?(e.soyState.pop(),"def"):(n.next(),null);case"templ-ref":return(t=n.match(/(\.?[a-zA-Z_][a-zA-Z_0-9]+)+/))?(e.soyState.pop(),t[0][0]=="."?"variable-2":"variable"):(t=n.match(/^\$([\w]+)/))?(e.soyState.pop(),j(e.variables,t[1],!e.lookupVariables)):(n.next(),null);case"namespace-def":return(t=n.match(/^\.?([\w\.]+)/))?(e.soyState.pop(),"variable"):(n.next(),null);case"param-def":return(t=n.match(/^\*/))?(e.soyState.pop(),e.soyState.push("param-type"),"type"):(t=n.match(/^\w+/))?(e.variables=S(e.variables,t[0]),e.soyState.pop(),e.soyState.push("param-type"),"def"):(n.next(),null);case"param-ref":return(t=n.match(/^\w+/))?(e.soyState.pop(),"property"):(n.next(),null);case"open-parentheses":return n.match(/[)]/)?(e.soyState.pop(),null):m(n,e);case"param-type":var a=n.peek();return"}]=>,".indexOf(a)!=-1?(e.soyState.pop(),null):a=="["?(e.soyState.push("param-type-record"),null):a=="("?(e.soyState.push("param-type-template"),null):a=="<"?(e.soyState.push("param-type-parameter"),null):(t=n.match(/^([\w]+|[?])/))?"type":(n.next(),null);case"param-type-record":var a=n.peek();return a=="]"?(e.soyState.pop(),null):n.match(/^\w+/)?(e.soyState.push("param-type"),"property"):(n.next(),null);case"param-type-parameter":return n.match(/^[>]/)?(e.soyState.pop(),null):n.match(/^[<,]/)?(e.soyState.push("param-type"),null):(n.next(),null);case"param-type-template":return n.match(/[>]/)?(e.soyState.pop(),e.soyState.push("param-type"),null):n.match(/^\w+/)?(e.soyState.push("param-type"),"def"):(n.next(),null);case"var-def":return(t=n.match(/^\$([\w]+)/))?(e.variables=S(e.variables,t[1]),e.soyState.pop(),"def"):(n.next(),null);case"for-loop":return n.match(/\bin\b/)?(e.soyState.pop(),"keyword"):n.peek()=="$"?(e.soyState.push("var-def"),null):(n.next(),null);case"record-literal":return n.match(/^[)]/)?(e.soyState.pop(),null):n.match(/[(,]/)?(e.soyState.push("map-value"),e.soyState.push("record-key"),null):(n.next(),null);case"map-literal":return n.match(/^[)]/)?(e.soyState.pop(),null):n.match(/[(,]/)?(e.soyState.push("map-value"),e.soyState.push("map-value"),null):(n.next(),null);case"list-literal":return n.match("]")?(e.soyState.pop(),e.lookupVariables=!0,w(e),null):n.match(/\bfor\b/)?(e.lookupVariables=!0,e.soyState.push("for-loop"),"keyword"):m(n,e);case"record-key":return n.match(/[\w]+/)?"property":n.match(/^[:]/)?(e.soyState.pop(),null):(n.next(),null);case"map-value":return n.peek()==")"||n.peek()==","||n.match(/^[:)]/)?(e.soyState.pop(),null):m(n,e);case"import":return n.eat(";")?(e.soyState.pop(),e.indent-=2*r.indentUnit,null):n.match(/\w+(?=\s+as\b)/)?"variable":(t=n.match(/\w+/))?/\b(from|as)\b/.test(t[0])?"keyword":"def":(t=n.match(/^["']/))?(e.soyState.push("string"),e.quoteKind=t[0],"string"):(n.next(),null);case"tag":var p,c;e.tag===void 0?(p=!0,c=""):(p=e.tag[0]=="/",c=p?e.tag.substring(1):e.tag);var y=i[c];if(n.match(/^\/?}/)){var I=n.current()=="/}";return I&&!p&&w(e),e.tag=="/template"||e.tag=="/deltemplate"?(e.variables=S(null,"ij"),e.indent=0):e.indent-=r.indentUnit*(I||h.indexOf(e.tag)==-1?2:1),e.soyState.pop(),"keyword"}else if(n.match(/^([\w?]+)(?==)/)){if(e.context&&e.context.tag==c&&n.current()=="kind"&&(t=n.match(/^="([^"]+)/,!1))){var U=t[1];e.context.kind=U;var $=b[U]||b.html,s=f(e.localStates);s.mode.indent&&(e.indent+=s.mode.indent(s.state,"","")),e.localStates.push({mode:$,state:l.startState($)})}return"attribute"}return m(n,e);case"template-call-expression":return n.match(/^([\w-?]+)(?==)/)?"attribute":n.eat(">")||n.eat("/>")?(e.soyState.pop(),"keyword"):m(n,e);case"literal":return n.match("{/literal}",!1)?(e.soyState.pop(),this.token(n,e)):E(n,e,/\{\/literal}/);case"export":if(t=n.match(/\w+/)){if(e.soyState.pop(),t=="const")return e.soyState.push("const-def"),"keyword";if(t=="extern")return e.soyState.push("param-def"),"keyword"}else n.next();return null;case"const-def":return n.match(/^\w+/)?(e.soyState.pop(),"def"):(n.next(),null)}if(n.match("{literal}"))return e.indent+=r.indentUnit,e.soyState.push("literal"),e.context=new k(e.context,"literal",e.variables),"keyword";if(t=n.match(/^\{([/@\\]?\w+\??)(?=$|[\s}]|\/[/*])/)){var q=e.tag;e.tag=t[1];var p=e.tag[0]=="/",V=!!i[e.tag],c=p?e.tag.substring(1):e.tag,y=i[c];e.tag!="/switch"&&(e.indent+=((p||y&&y.reduceIndent)&&q!="switch"?1:2)*r.indentUnit),e.soyState.push("tag");var T=!1;if(y){if(p||y.soyState&&e.soyState.push(y.soyState),!y.noEndTag&&(V||!p))e.context=new k(e.context,e.tag,y.variableScope?e.variables:null);else if(p){var K=c=="extern"&&e.context&&e.context.tag=="export";if(!e.context||e.context.tag!=c&&!K)T=!0;else if(e.context){if(e.context.kind){e.localStates.pop();var s=f(e.localStates);s.mode.indent&&(e.indent-=s.mode.indent(s.state,"",""))}w(e)}}}else p&&(T=!0);return(T?"error ":"")+"keyword"}else{if(n.eat("{"))return e.tag="print",e.indent+=2*r.indentUnit,e.soyState.push("tag"),"keyword";if(!e.context&&n.sol()&&n.match(/import\b/))return e.soyState.push("import"),e.indent+=2*r.indentUnit,"keyword";if(t=n.match("<{"))return e.soyState.push("template-call-expression"),e.indent+=2*r.indentUnit,e.soyState.push("tag"),"keyword";if(t=n.match("</>"))return e.indent-=1*r.indentUnit,"keyword"}return E(n,e,/\{|\s+\/\/|\/\*/)},indent:function(n,e,t){var u=n.indent,d=f(n.soyState);if(d=="comment")return l.Pass;if(d=="literal")/^\{\/literal}/.test(e)&&(u-=r.indentUnit);else{if(/^\s*\{\/(template|deltemplate)\b/.test(e))return 0;/^\{(\/|(fallbackmsg|elseif|else|ifempty)\b)/.test(e)&&(u-=r.indentUnit),n.tag!="switch"&&/^\{(case|default)\b/.test(e)&&(u-=r.indentUnit),/^\{\/switch\b/.test(e)&&(u-=r.indentUnit)}var a=f(n.localStates);return u&&a.mode.indent&&(u+=a.mode.indent(a.state,e,t)),u},innerMode:function(n){return n.soyState.length&&f(n.soyState)!="literal"?null:f(n.localStates)},electricInput:/^\s*\{(\/|\/template|\/deltemplate|\/switch|fallbackmsg|elseif|else|case|default|ifempty|\/literal\})$/,lineComment:"//",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",useInnerComments:!1,fold:"indent"}},"htmlmixed"),l.registerHelper("wordChars","soy",/[\w$]/),l.registerHelper("hintWords","soy",Object.keys(i).concat(["css","debugger"])),l.defineMIME("text/x-soy","soy")})})();var O=H.exports;const Z=P(O),B=D({__proto__:null,default:Z},[O]);export{B as s};
|
|
1
|
+
import{g as P,c as F}from"./index.744bb98b.entry.js";import{r as z}from"./htmlmixed-5b8dfd5e.js";function D(v,g){for(var l=0;l<g.length;l++){const o=g[l];if(typeof o!="string"&&!Array.isArray(o)){for(const i in o)if(i!=="default"&&!(i in v)){const h=Object.getOwnPropertyDescriptor(o,i);h&&Object.defineProperty(v,i,h.get?h:{enumerable:!0,get:()=>o[i]})}}}return Object.freeze(Object.defineProperty(v,Symbol.toStringTag,{value:"Module"}))}var H={exports:{}};(function(v,g){(function(l){l(F,z())})(function(l){var o={noEndTag:!0,soyState:"param-def"},i={alias:{noEndTag:!0},delpackage:{noEndTag:!0},namespace:{noEndTag:!0,soyState:"namespace-def"},"@attribute":o,"@attribute?":o,"@param":o,"@param?":o,"@inject":o,"@inject?":o,"@state":o,template:{soyState:"templ-def",variableScope:!0},extern:{soyState:"param-def"},export:{soyState:"export"},literal:{},msg:{},fallbackmsg:{noEndTag:!0,reduceIndent:!0},select:{},plural:{},let:{soyState:"var-def"},if:{},javaimpl:{},jsimpl:{},elseif:{noEndTag:!0,reduceIndent:!0},else:{noEndTag:!0,reduceIndent:!0},switch:{},case:{noEndTag:!0,reduceIndent:!0},default:{noEndTag:!0,reduceIndent:!0},foreach:{variableScope:!0,soyState:"for-loop"},ifempty:{noEndTag:!0,reduceIndent:!0},for:{variableScope:!0,soyState:"for-loop"},call:{soyState:"templ-ref"},param:{soyState:"param-ref"},print:{noEndTag:!0},deltemplate:{soyState:"templ-def",variableScope:!0},delcall:{soyState:"templ-ref"},log:{},element:{variableScope:!0},velog:{},const:{soyState:"const-def"}},h=Object.keys(i).filter(function(r){return!i[r].noEndTag||i[r].reduceIndent});l.defineMode("soy",function(r){var x=l.getMode(r,"text/plain"),b={html:l.getMode(r,{name:"text/html",multilineTagIndentFactor:2,multilineTagIndentPastTag:!1,allowMissingTagName:!0}),attributes:x,text:x,uri:x,trusted_resource_uri:x,css:l.getMode(r,"text/css"),js:l.getMode(r,{name:"text/javascript",statementIndent:2*r.indentUnit})};function f(n){return n[n.length-1]}function E(n,e,t){if(n.sol()){for(var u=0;u<e.indent&&n.eat(/\s/);u++);if(u)return null}var d=n.string,a=t.exec(d.substr(n.pos));a&&(n.string=d.substr(0,n.pos+a.index));var p=n.hideFirstChars(e.indent,function(){var c=f(e.localStates);return c.mode.token(n,c.state)});return n.string=d,p}function _(n,e){for(;n;){if(n.element===e)return!0;n=n.next}return!1}function S(n,e){return{element:e,next:n}}function w(n){n.context&&(n.context.scope&&(n.variables=n.context.scope),n.context=n.context.previousContext)}function j(n,e,t){return _(n,e)?"variable-2":t?"variable":"variable-2 error"}function k(n,e,t){this.previousContext=n,this.tag=e,this.kind=null,this.scope=t}function m(n,e){var t;return n.match(/[[]/)?(e.soyState.push("list-literal"),e.context=new k(e.context,"list-literal",e.variables),e.lookupVariables=!1,null):n.match(/\bmap(?=\()/)?(e.soyState.push("map-literal"),"keyword"):n.match(/\brecord(?=\()/)?(e.soyState.push("record-literal"),"keyword"):n.match(/([\w]+)(?=\()/)?"variable callee":(t=n.match(/^["']/))?(e.soyState.push("string"),e.quoteKind=t[0],"string"):n.match(/^[(]/)?(e.soyState.push("open-parentheses"),null):n.match(/(null|true|false)(?!\w)/)||n.match(/0x([0-9a-fA-F]{2,})/)||n.match(/-?([0-9]*[.])?[0-9]+(e[0-9]*)?/)?"atom":n.match(/(\||[+\-*\/%]|[=!]=|\?:|[<>]=?)/)?"operator":(t=n.match(/^\$([\w]+)/))?j(e.variables,t[1],!e.lookupVariables):(t=n.match(/^\w+/))?/^(?:as|and|or|not|in|if)$/.test(t[0])?"keyword":null:(n.next(),null)}return{startState:function(){return{soyState:[],variables:S(null,"ij"),scopes:null,indent:0,quoteKind:null,context:null,lookupVariables:!0,localStates:[{mode:b.html,state:l.startState(b.html)}]}},copyState:function(n){return{tag:n.tag,soyState:n.soyState.concat([]),variables:n.variables,context:n.context,indent:n.indent,quoteKind:n.quoteKind,lookupVariables:n.lookupVariables,localStates:n.localStates.map(function(e){return{mode:e.mode,state:l.copyState(e.mode,e.state)}})}},token:function(n,e){var t;switch(f(e.soyState)){case"comment":if(n.match(/^.*?\*\//)?e.soyState.pop():n.skipToEnd(),!e.context||!e.context.scope)for(var u=/@param\??\s+(\S+)/g,d=n.current(),t;t=u.exec(d);)e.variables=S(e.variables,t[1]);return"comment";case"string":var t=n.match(/^.*?(["']|\\[\s\S])/);return t?t[1]==e.quoteKind&&(e.quoteKind=null,e.soyState.pop()):n.skipToEnd(),"string"}if(!e.soyState.length||f(e.soyState)!="literal"){if(n.match(/^\/\*/))return e.soyState.push("comment"),"comment";if(n.match(n.sol()?/^\s*\/\/.*/:/^\s+\/\/.*/))return"comment"}switch(f(e.soyState)){case"templ-def":return(t=n.match(/^\.?([\w]+(?!\.[\w]+)*)/))?(e.soyState.pop(),"def"):(n.next(),null);case"templ-ref":return(t=n.match(/(\.?[a-zA-Z_][a-zA-Z_0-9]+)+/))?(e.soyState.pop(),t[0][0]=="."?"variable-2":"variable"):(t=n.match(/^\$([\w]+)/))?(e.soyState.pop(),j(e.variables,t[1],!e.lookupVariables)):(n.next(),null);case"namespace-def":return(t=n.match(/^\.?([\w\.]+)/))?(e.soyState.pop(),"variable"):(n.next(),null);case"param-def":return(t=n.match(/^\*/))?(e.soyState.pop(),e.soyState.push("param-type"),"type"):(t=n.match(/^\w+/))?(e.variables=S(e.variables,t[0]),e.soyState.pop(),e.soyState.push("param-type"),"def"):(n.next(),null);case"param-ref":return(t=n.match(/^\w+/))?(e.soyState.pop(),"property"):(n.next(),null);case"open-parentheses":return n.match(/[)]/)?(e.soyState.pop(),null):m(n,e);case"param-type":var a=n.peek();return"}]=>,".indexOf(a)!=-1?(e.soyState.pop(),null):a=="["?(e.soyState.push("param-type-record"),null):a=="("?(e.soyState.push("param-type-template"),null):a=="<"?(e.soyState.push("param-type-parameter"),null):(t=n.match(/^([\w]+|[?])/))?"type":(n.next(),null);case"param-type-record":var a=n.peek();return a=="]"?(e.soyState.pop(),null):n.match(/^\w+/)?(e.soyState.push("param-type"),"property"):(n.next(),null);case"param-type-parameter":return n.match(/^[>]/)?(e.soyState.pop(),null):n.match(/^[<,]/)?(e.soyState.push("param-type"),null):(n.next(),null);case"param-type-template":return n.match(/[>]/)?(e.soyState.pop(),e.soyState.push("param-type"),null):n.match(/^\w+/)?(e.soyState.push("param-type"),"def"):(n.next(),null);case"var-def":return(t=n.match(/^\$([\w]+)/))?(e.variables=S(e.variables,t[1]),e.soyState.pop(),"def"):(n.next(),null);case"for-loop":return n.match(/\bin\b/)?(e.soyState.pop(),"keyword"):n.peek()=="$"?(e.soyState.push("var-def"),null):(n.next(),null);case"record-literal":return n.match(/^[)]/)?(e.soyState.pop(),null):n.match(/[(,]/)?(e.soyState.push("map-value"),e.soyState.push("record-key"),null):(n.next(),null);case"map-literal":return n.match(/^[)]/)?(e.soyState.pop(),null):n.match(/[(,]/)?(e.soyState.push("map-value"),e.soyState.push("map-value"),null):(n.next(),null);case"list-literal":return n.match("]")?(e.soyState.pop(),e.lookupVariables=!0,w(e),null):n.match(/\bfor\b/)?(e.lookupVariables=!0,e.soyState.push("for-loop"),"keyword"):m(n,e);case"record-key":return n.match(/[\w]+/)?"property":n.match(/^[:]/)?(e.soyState.pop(),null):(n.next(),null);case"map-value":return n.peek()==")"||n.peek()==","||n.match(/^[:)]/)?(e.soyState.pop(),null):m(n,e);case"import":return n.eat(";")?(e.soyState.pop(),e.indent-=2*r.indentUnit,null):n.match(/\w+(?=\s+as\b)/)?"variable":(t=n.match(/\w+/))?/\b(from|as)\b/.test(t[0])?"keyword":"def":(t=n.match(/^["']/))?(e.soyState.push("string"),e.quoteKind=t[0],"string"):(n.next(),null);case"tag":var p,c;e.tag===void 0?(p=!0,c=""):(p=e.tag[0]=="/",c=p?e.tag.substring(1):e.tag);var y=i[c];if(n.match(/^\/?}/)){var I=n.current()=="/}";return I&&!p&&w(e),e.tag=="/template"||e.tag=="/deltemplate"?(e.variables=S(null,"ij"),e.indent=0):e.indent-=r.indentUnit*(I||h.indexOf(e.tag)==-1?2:1),e.soyState.pop(),"keyword"}else if(n.match(/^([\w?]+)(?==)/)){if(e.context&&e.context.tag==c&&n.current()=="kind"&&(t=n.match(/^="([^"]+)/,!1))){var U=t[1];e.context.kind=U;var $=b[U]||b.html,s=f(e.localStates);s.mode.indent&&(e.indent+=s.mode.indent(s.state,"","")),e.localStates.push({mode:$,state:l.startState($)})}return"attribute"}return m(n,e);case"template-call-expression":return n.match(/^([\w-?]+)(?==)/)?"attribute":n.eat(">")||n.eat("/>")?(e.soyState.pop(),"keyword"):m(n,e);case"literal":return n.match("{/literal}",!1)?(e.soyState.pop(),this.token(n,e)):E(n,e,/\{\/literal}/);case"export":if(t=n.match(/\w+/)){if(e.soyState.pop(),t=="const")return e.soyState.push("const-def"),"keyword";if(t=="extern")return e.soyState.push("param-def"),"keyword"}else n.next();return null;case"const-def":return n.match(/^\w+/)?(e.soyState.pop(),"def"):(n.next(),null)}if(n.match("{literal}"))return e.indent+=r.indentUnit,e.soyState.push("literal"),e.context=new k(e.context,"literal",e.variables),"keyword";if(t=n.match(/^\{([/@\\]?\w+\??)(?=$|[\s}]|\/[/*])/)){var q=e.tag;e.tag=t[1];var p=e.tag[0]=="/",V=!!i[e.tag],c=p?e.tag.substring(1):e.tag,y=i[c];e.tag!="/switch"&&(e.indent+=((p||y&&y.reduceIndent)&&q!="switch"?1:2)*r.indentUnit),e.soyState.push("tag");var T=!1;if(y){if(p||y.soyState&&e.soyState.push(y.soyState),!y.noEndTag&&(V||!p))e.context=new k(e.context,e.tag,y.variableScope?e.variables:null);else if(p){var K=c=="extern"&&e.context&&e.context.tag=="export";if(!e.context||e.context.tag!=c&&!K)T=!0;else if(e.context){if(e.context.kind){e.localStates.pop();var s=f(e.localStates);s.mode.indent&&(e.indent-=s.mode.indent(s.state,"",""))}w(e)}}}else p&&(T=!0);return(T?"error ":"")+"keyword"}else{if(n.eat("{"))return e.tag="print",e.indent+=2*r.indentUnit,e.soyState.push("tag"),"keyword";if(!e.context&&n.sol()&&n.match(/import\b/))return e.soyState.push("import"),e.indent+=2*r.indentUnit,"keyword";if(t=n.match("<{"))return e.soyState.push("template-call-expression"),e.indent+=2*r.indentUnit,e.soyState.push("tag"),"keyword";if(t=n.match("</>"))return e.indent-=1*r.indentUnit,"keyword"}return E(n,e,/\{|\s+\/\/|\/\*/)},indent:function(n,e,t){var u=n.indent,d=f(n.soyState);if(d=="comment")return l.Pass;if(d=="literal")/^\{\/literal}/.test(e)&&(u-=r.indentUnit);else{if(/^\s*\{\/(template|deltemplate)\b/.test(e))return 0;/^\{(\/|(fallbackmsg|elseif|else|ifempty)\b)/.test(e)&&(u-=r.indentUnit),n.tag!="switch"&&/^\{(case|default)\b/.test(e)&&(u-=r.indentUnit),/^\{\/switch\b/.test(e)&&(u-=r.indentUnit)}var a=f(n.localStates);return u&&a.mode.indent&&(u+=a.mode.indent(a.state,e,t)),u},innerMode:function(n){return n.soyState.length&&f(n.soyState)!="literal"?null:f(n.localStates)},electricInput:/^\s*\{(\/|\/template|\/deltemplate|\/switch|fallbackmsg|elseif|else|case|default|ifempty|\/literal\})$/,lineComment:"//",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",useInnerComments:!1,fold:"indent"}},"htmlmixed"),l.registerHelper("wordChars","soy",/[\w$]/),l.registerHelper("hintWords","soy",Object.keys(i).concat(["css","debugger"])),l.defineMIME("text/x-soy","soy")})})();var O=H.exports;const Z=P(O),B=D({__proto__:null,default:Z},[O]);export{B as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as w,c as k}from"./index.
|
|
1
|
+
import{g as w,c as k}from"./index.744bb98b.entry.js";function C(a,p){for(var i=0;i<p.length;i++){const u=p[i];if(typeof u!="string"&&!Array.isArray(u)){for(const c in u)if(c!=="default"&&!(c in a)){const o=Object.getOwnPropertyDescriptor(u,c);o&&Object.defineProperty(a,c,o.get?o:{enumerable:!0,get:()=>u[c]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}var E={exports:{}};(function(a,p){(function(i){i(k)})(function(i){i.defineMode("sparql",function(u){var c=u.indentUnit,o;function d(n){return new RegExp("^(?:"+n.join("|")+")$","i")}var h=d(["str","lang","langmatches","datatype","bound","sameterm","isiri","isuri","iri","uri","bnode","count","sum","min","max","avg","sample","group_concat","rand","abs","ceil","floor","round","concat","substr","strlen","replace","ucase","lcase","encode_for_uri","contains","strstarts","strends","strbefore","strafter","year","month","day","hours","minutes","seconds","timezone","tz","now","uuid","struuid","md5","sha1","sha256","sha384","sha512","coalesce","if","strlang","strdt","isnumeric","regex","exists","isblank","isliteral","a","bind"]),m=d(["base","prefix","select","distinct","reduced","construct","describe","ask","from","named","where","order","limit","offset","filter","optional","graph","by","asc","desc","as","having","undef","values","group","minus","in","not","service","silent","using","insert","delete","union","true","false","with","data","copy","to","move","add","create","drop","clear","load","into"]),y=/[*+\-<>=&|\^\/!\?]/,x="[A-Za-z_\\-0-9]",b=new RegExp("[A-Za-z]"),D=new RegExp("(("+x+"|\\.)*("+x+"))?:");function F(n,e){var t=n.next();if(o=null,t=="$"||t=="?")return t=="?"&&n.match(/\s/,!1)?"operator":(n.match(/^[A-Za-z0-9_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][A-Za-z0-9_\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]*/),"variable-2");if(t=="<"&&!n.match(/^[\s\u00a0=]/,!1))return n.match(/^[^\s\u00a0>]*>?/),"atom";if(t=='"'||t=="'")return e.tokenize=_(t),e.tokenize(n,e);if(/[{}\(\),\.;\[\]]/.test(t))return o=t,"bracket";if(t=="#")return n.skipToEnd(),"comment";if(y.test(t))return"operator";if(t==":")return g(n),"atom";if(t=="@")return n.eatWhile(/[a-z\d\-]/i),"meta";if(b.test(t)&&n.match(D))return g(n),"atom";n.eatWhile(/[_\w\d]/);var r=n.current();return h.test(r)?"builtin":m.test(r)?"keyword":"variable"}function g(n){n.match(/(\.(?=[\w_\-\\%])|[:\w_-]|\\[-\\_~.!$&'()*+,;=/?#@%]|%[a-f\d][a-f\d])+/i)}function _(n){return function(e,t){for(var r=!1,l;(l=e.next())!=null;){if(l==n&&!r){t.tokenize=F;break}r=!r&&l=="\\"}return"string"}}function f(n,e,t){n.context={prev:n.context,indent:n.indent,col:t,type:e}}function s(n){n.indent=n.context.indent,n.context=n.context.prev}return{startState:function(){return{tokenize:F,context:null,indent:0,col:0}},token:function(n,e){if(n.sol()&&(e.context&&e.context.align==null&&(e.context.align=!1),e.indent=n.indentation()),n.eatSpace())return null;var t=e.tokenize(n,e);if(t!="comment"&&e.context&&e.context.align==null&&e.context.type!="pattern"&&(e.context.align=!0),o=="(")f(e,")",n.column());else if(o=="[")f(e,"]",n.column());else if(o=="{")f(e,"}",n.column());else if(/[\]\}\)]/.test(o)){for(;e.context&&e.context.type=="pattern";)s(e);e.context&&o==e.context.type&&(s(e),o=="}"&&e.context&&e.context.type=="pattern"&&s(e))}else o=="."&&e.context&&e.context.type=="pattern"?s(e):/atom|string|variable/.test(t)&&e.context&&(/[\}\]]/.test(e.context.type)?f(e,"pattern",n.column()):e.context.type=="pattern"&&!e.context.align&&(e.context.align=!0,e.context.col=n.column()));return t},indent:function(n,e){var t=e&&e.charAt(0),r=n.context;if(/[\]\}]/.test(t))for(;r&&r.type=="pattern";)r=r.prev;var l=r&&t==r.type;return r?r.type=="pattern"?r.col:r.align?r.col+(l?0:1):r.indent+(l?0:c):0},lineComment:"#"}}),i.defineMIME("application/sparql-query","sparql")})})();var v=E.exports;const z=w(v),A=C({__proto__:null,default:z},[v]);export{A as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as o,c as a}from"./index.
|
|
1
|
+
import{g as o,c as a}from"./index.744bb98b.entry.js";function f(c,i){for(var r=0;r<i.length;r++){const e=i[r];if(typeof e!="string"&&!Array.isArray(e)){for(const t in e)if(t!=="default"&&!(t in c)){const n=Object.getOwnPropertyDescriptor(e,t);n&&Object.defineProperty(c,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}}return Object.freeze(Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}))}var u={exports:{}};(function(c,i){(function(r){r(a)})(function(r){r.defineMode("spreadsheet",function(){return{startState:function(){return{stringType:null,stack:[]}},token:function(e,t){if(e){switch(t.stack.length===0&&(e.peek()=='"'||e.peek()=="'")&&(t.stringType=e.peek(),e.next(),t.stack.unshift("string")),t.stack[0]){case"string":for(;t.stack[0]==="string"&&!e.eol();)e.peek()===t.stringType?(e.next(),t.stack.shift()):e.peek()==="\\"?(e.next(),e.next()):e.match(/^.[^\\\"\']*/);return"string";case"characterClass":for(;t.stack[0]==="characterClass"&&!e.eol();)e.match(/^[^\]\\]+/)||e.match(/^\\./)||t.stack.shift();return"operator"}var n=e.peek();switch(n){case"[":return e.next(),t.stack.unshift("characterClass"),"bracket";case":":return e.next(),"operator";case"\\":return e.match(/\\[a-z]+/)?"string-2":(e.next(),"atom");case".":case",":case";":case"*":case"-":case"+":case"^":case"<":case"/":case"=":return e.next(),"atom";case"$":return e.next(),"builtin"}return e.match(/\d+/)?e.match(/^\w+/)?"error":"number":e.match(/^[a-zA-Z_]\w*/)?e.match(/(?=[\(.])/,!1)?"keyword":"variable-2":["[","]","(",")","{","}"].indexOf(n)!=-1?(e.next(),"bracket"):(e.eatSpace()||e.next(),null)}}}}),r.defineMIME("text/x-spreadsheet","spreadsheet")})})();var s=u.exports;const p=o(s),h=f({__proto__:null,default:p},[s]);export{h as s};
|