@directus/app 9.18.0 → 9.18.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{accounts.de30c523.js → accounts.002bd72e.js} +0 -0
- package/dist/assets/{active-line.93b6b554.js → active-line.44c2c3c5.js} +1 -1
- package/dist/assets/{activity-log.7c9d7292.js → activity-log.1c7f3e06.js} +0 -0
- package/dist/assets/{activity.2d52e401.js → activity.534ba5a0.js} +0 -0
- package/dist/assets/{apl.a2664667.js → apl.36994584.js} +1 -1
- package/dist/assets/ar-SA.3a51ad1e.js +2 -0
- package/dist/assets/{architecture.25779d97.js → architecture.e09979e0.js} +0 -0
- package/dist/assets/{asciiarmor.4d28e49b.js → asciiarmor.8962c9ce.js} +1 -1
- package/dist/assets/{asn.1.593e18ee.js → asn.1.75e20b35.js} +1 -1
- package/dist/assets/{asterisk.5f6fbc5b.js → asterisk.21e90360.js} +1 -1
- package/dist/assets/{authentication.bb1b9cf1.js → authentication.33ce9896.js} +0 -0
- package/dist/assets/{autorefresh.88da2af2.js → autorefresh.1f962b9b.js} +1 -1
- package/dist/assets/{aws.f1e10906.js → aws.5360d8ec.js} +0 -0
- package/dist/assets/{backing-directus.79ae7814.js → backing-directus.ad58f051.js} +0 -0
- package/dist/assets/{brainfuck.76c7b762.js → brainfuck.2b25ddb4.js} +1 -1
- package/dist/assets/{cli.3ce839df.js → cli.47102c97.js} +0 -0
- package/dist/assets/{cli.358fa9d1.js → cli.e3008115.js} +0 -0
- package/dist/assets/{clike.b7d2faf7.js → clike.da7f5f11.js} +1 -1
- package/dist/assets/{clojure.7d28181c.js → clojure.73ed4071.js} +1 -1
- package/dist/assets/{cloudron.207a9bc2.js → cloudron.928609a6.js} +0 -0
- package/dist/assets/{cmake.57e25cab.js → cmake.59bf5961.js} +1 -1
- package/dist/assets/{cobol.2c928af0.js → cobol.3edaa33b.js} +1 -1
- package/dist/assets/{codebase-overview.0e0cafdd.js → codebase-overview.ac0bd87d.js} +0 -0
- package/dist/assets/{coffeescript.27725289.js → coffeescript.9075c6dc.js} +1 -1
- package/dist/assets/{collections.5a1f1d20.js → collections.2960f480.js} +0 -0
- package/dist/assets/{collections.259a53b6.js → collections.a8c011ab.js} +0 -0
- package/dist/assets/{collections.5e1d222a.js → collections.bcd6046c.js} +0 -0
- package/dist/assets/{commonlisp.d9574fc2.js → commonlisp.48fee8bf.js} +1 -1
- package/dist/assets/{conditions.984b1e16.js → conditions.b5325328.js} +0 -0
- package/dist/assets/{config-options.19e44fbf.js → config-options.0c6ec658.js} +0 -0
- package/dist/assets/{content.ea870337.js → content.bde7d9ca.js} +0 -0
- package/dist/assets/{creating-extensions.01f20e5f.js → creating-extensions.f3c9db55.js} +0 -0
- package/dist/assets/{crystal.489cfde3.js → crystal.ab682442.js} +1 -1
- package/dist/assets/{css.7dd45e27.js → css.73e17222.js} +1 -1
- package/dist/assets/{cypher.c6fb7a86.js → cypher.7f30c953.js} +1 -1
- package/dist/assets/{d.8321b6a1.js → d.52c58e38.js} +1 -1
- package/dist/assets/{dart.e9d4fc6f.js → dart.a73604ce.js} +1 -1
- package/dist/assets/{data-model.24eb5446.js → data-model.7f2f203b.js} +0 -0
- package/dist/assets/{diff.f46cb457.js → diff.888115c8.js} +1 -1
- package/dist/assets/{digitalocean-app-platform.23fa35b8.js → digitalocean-app-platform.36a9196f.js} +0 -0
- package/dist/assets/{display-templates.a959f629.js → display-templates.9e814e6d.js} +0 -0
- package/dist/assets/{display.2a8fbf9f.js → display.859d6b7a.js} +0 -0
- package/dist/assets/{displays.6630d2c2.js → displays.ebb70240.js} +0 -0
- package/dist/assets/{django.e68c7f4c.js → django.9b7e7773.js} +1 -1
- package/dist/assets/{docker.b3a55a7b.js → docker.ad2c3727.js} +0 -0
- package/dist/assets/{dockerfile.fc8c372d.js → dockerfile.8ceb659c.js} +1 -1
- package/dist/assets/{documentation.e75ffde5.js → documentation.dfc93b34.js} +0 -0
- package/dist/assets/{dtd.030bd1d9.js → dtd.479b75a6.js} +1 -1
- package/dist/assets/{dylan.54b7c619.js → dylan.c65351c4.js} +1 -1
- package/dist/assets/{ebnf.36a733ae.js → ebnf.59276582.js} +1 -1
- package/dist/assets/{ecl.074c8b46.js → ecl.ff12f334.js} +1 -1
- package/dist/assets/{eiffel.9fffdee1.js → eiffel.b83ce5bb.js} +1 -1
- package/dist/assets/{elm.af5d01df.js → elm.e71db7ef.js} +1 -1
- package/dist/assets/{email-templates.ffaade9a.js → email-templates.a1e2dd48.js} +0 -0
- package/dist/assets/{endpoints.2fa01a67.js → endpoints.a0bd90c0.js} +0 -0
- package/dist/assets/{erlang.6ae83a1a.js → erlang.e93623cc.js} +1 -1
- package/dist/assets/{extensions.88ef810b.js → extensions.5362505c.js} +0 -0
- package/dist/assets/{factor.5719e5b0.js → factor.2bfb963b.js} +1 -1
- package/dist/assets/{faq.43ff9dfd.js → faq.e1e36fe1.js} +0 -0
- package/dist/assets/{fcl.511dbe25.js → fcl.426ac9ce.js} +1 -1
- package/dist/assets/{field-types.b1e0ade7.js → field-types.35c21ddc.js} +0 -0
- package/dist/assets/{field.5b06a4b6.js → field.ccfc8bf9.js} +0 -0
- package/dist/assets/{fields.6fdd0b5a.js → fields.099f67ef.js} +0 -0
- package/dist/assets/{fields.48598d57.js → fields.3f97e0f6.js} +0 -0
- package/dist/assets/{file-library.3912e5c7.js → file-library.1eab74ed.js} +0 -0
- package/dist/assets/{files.2bbacb31.js → files.1cb7ba05.js} +0 -0
- package/dist/assets/{filter-rules.927ec41d.js → filter-rules.c59724be.js} +0 -0
- package/dist/assets/{filters.d75080c5.js → filters.4055be70.js} +0 -0
- package/dist/assets/{flows.c664fc0a.js → flows.63a8281d.js} +0 -0
- package/dist/assets/{flows.0b9c51bd.js → flows.d7db6a17.js} +0 -0
- package/dist/assets/{folders.5f2c0157.js → folders.cd14efcd.js} +0 -0
- package/dist/assets/{forth.dc25b284.js → forth.c4ae0a06.js} +1 -1
- package/dist/assets/{fortran.93282af4.js → fortran.3c2b0bf9.js} +1 -1
- package/dist/assets/{gas.f1222c98.js → gas.24c6bdd5.js} +1 -1
- package/dist/assets/{gcp.070acdb6.js → gcp.76d40b9a.js} +0 -0
- package/dist/assets/{gfm.324418ad.js → gfm.a577fb28.js} +1 -1
- package/dist/assets/{gherkin.8f14d9fe.js → gherkin.63e55ae1.js} +1 -1
- package/dist/assets/{github-ci.4354fa11.js → github-ci.26f28be3.js} +0 -0
- package/dist/assets/{glossary.0915b6cd.js → glossary.26346b90.js} +1 -1
- package/dist/assets/{glossary.b846e8fa.js → glossary.6eff59c7.js} +0 -0
- package/dist/assets/{go.a27f05e2.js → go.a23442ba.js} +1 -1
- package/dist/assets/{groovy.4dc6adb3.js → groovy.2bfd19be.js} +1 -1
- package/dist/assets/{haml.e1384ab9.js → haml.bb6c0352.js} +1 -1
- package/dist/assets/{handlebars.408c424c.js → handlebars.094006a4.js} +1 -1
- package/dist/assets/{haskell-literate.86f84602.js → haskell-literate.d6b25c52.js} +1 -1
- package/dist/assets/{haskell.2823da36.js → haskell.cce5aa96.js} +1 -1
- package/dist/assets/{haxe.2a5eba8b.js → haxe.852344cb.js} +1 -1
- package/dist/assets/{hooks.a0f9c37e.js → hooks.73af06b4.js} +0 -0
- package/dist/assets/{htmlembedded.007ed698.js → htmlembedded.72d2afc0.js} +1 -1
- package/dist/assets/{htmlmixed.70796939.js → htmlmixed.200b6fde.js} +1 -1
- package/dist/assets/{http.4ba9e0a6.js → http.108d5433.js} +1 -1
- package/dist/assets/{idl.c3643199.js → idl.e6664f1d.js} +1 -1
- package/dist/assets/iis.a81119d3.js +27 -0
- package/dist/assets/{import-export.89d37344.js → import-export.0fd71d78.js} +0 -0
- package/dist/assets/{index.a7a20f58.js → index.8c05fe55.js} +0 -0
- package/dist/assets/{index.f02f0598.js → index.a01c9164.js} +0 -0
- package/dist/assets/{index.08ff3e98.js → index.a6fb2cb1.js} +1 -1
- package/dist/assets/{index.7f8a0ace.entry.js → index.dfa694ae.entry.js} +59 -59
- package/dist/assets/{input-rich-text-html.f0a590d6.js → input-rich-text-html.637e8640.js} +1 -1
- package/dist/assets/{insights.6d09d9cb.js → insights.55832652.js} +0 -0
- package/dist/assets/{installation.9f6a0e9b.js → installation.55c40cca.js} +0 -0
- package/dist/assets/{interface.f85ae93b.js → interface.6af3f0c3.js} +0 -0
- package/dist/assets/{interfaces.76eff0c6.js → interfaces.8b25f2b8.js} +0 -0
- package/dist/assets/{introduction.1393e86e.js → introduction.179fc6f0.js} +0 -0
- package/dist/assets/{introduction.346433c6.js → introduction.a5c73793.js} +0 -0
- package/dist/assets/{introduction.cfc5ae46.js → introduction.b39c0bf0.js} +0 -0
- package/dist/assets/{introduction.87c09fd7.js → introduction.c8fe3420.js} +0 -0
- package/dist/assets/it-IT.4acbbbb5.js +1 -0
- package/dist/assets/{items.39e9e878.js → items.11af6dd9.js} +0 -0
- package/dist/assets/{items.30af7b55.js → items.72939caa.js} +0 -0
- package/dist/assets/{javascript-hint.af1e3c22.js → javascript-hint.2b703177.js} +1 -1
- package/dist/assets/{javascript.869e601e.js → javascript.1e4b5b08.js} +1 -1
- package/dist/assets/{jinja2.6bf49952.js → jinja2.61a3a06b.js} +1 -1
- package/dist/assets/{jsx.317b853f.js → jsx.a1531da1.js} +1 -1
- package/dist/assets/{julia.5c8ee1cb.js → julia.dc72717c.js} +1 -1
- package/dist/assets/{layouts.1fcb4806.js → layouts.2cf51c33.js} +0 -0
- package/dist/assets/{layouts.7083402d.js → layouts.d87e5697.js} +0 -0
- package/dist/assets/{livescript.07b066f9.js → livescript.91619674.js} +1 -1
- package/dist/assets/{lua.2510e64d.js → lua.76ab8f9d.js} +1 -1
- package/dist/assets/{manual.6fe1d50d.js → manual.b847f364.js} +0 -0
- package/dist/assets/{mark-selection.801002d4.js → mark-selection.b066d01b.js} +1 -1
- package/dist/assets/{match-highlighter.cc0b817b.js → match-highlighter.45109f5a.js} +1 -1
- package/dist/assets/{mathematica.4ab6ef89.js → mathematica.78ca1f38.js} +1 -1
- package/dist/assets/{mbox.e0312b5d.js → mbox.64bc9cf2.js} +1 -1
- package/dist/assets/{migrations.a0476893.js → migrations.b782db32.js} +0 -0
- package/dist/assets/{mirc.ea0da47e.js → mirc.7b4432ed.js} +1 -1
- package/dist/assets/{mllike.46c05a02.js → mllike.c200099a.js} +1 -1
- package/dist/assets/{modelica.4eca2c48.js → modelica.5bbc10af.js} +1 -1
- package/dist/assets/{modules.9b6cab20.js → modules.babcc27d.js} +0 -0
- package/dist/assets/{mscgen.4a625720.js → mscgen.7061db02.js} +1 -1
- package/dist/assets/{multiplex.60cf4808.js → multiplex.28b8f5a7.js} +1 -1
- package/dist/assets/{mumps.73b488dc.js → mumps.c17bf9e5.js} +1 -1
- package/dist/assets/{nginx.e796e85d.js → nginx.7bc9c5fd.js} +1 -1
- package/dist/assets/{notifications.161a499a.js → notifications.41678f2a.js} +0 -0
- package/dist/assets/{nsis.a31c102c.js → nsis.dcc603ea.js} +1 -1
- package/dist/assets/{ntriples.848994f3.js → ntriples.92628b22.js} +1 -1
- package/dist/assets/{octave.048d3f85.js → octave.9700568b.js} +1 -1
- package/dist/assets/{operations.d1b550e4.js → operations.0604115b.js} +0 -0
- package/dist/assets/{operations.67965cbf.js → operations.24ca10f6.js} +0 -0
- package/dist/assets/{operations.7e917932.js → operations.6c45c92d.js} +0 -0
- package/dist/assets/{overlay.6f1501e8.js → overlay.9e525c81.js} +1 -1
- package/dist/assets/{overview.fbfb24ac.js → overview.183d15f2.js} +0 -0
- package/dist/assets/overview.957d902b.js +1 -0
- package/dist/assets/{overview.57381a78.js → overview.f4b2ca5a.js} +0 -0
- package/dist/assets/{oz.866a1f31.js → oz.5b16249b.js} +1 -1
- package/dist/assets/{panels.0c8aad10.js → panels.bac11d64.js} +0 -0
- package/dist/assets/{pascal.61c2a540.js → pascal.bf9984b1.js} +1 -1
- package/dist/assets/{pegjs.eef0c3b4.js → pegjs.d657bef5.js} +1 -1
- package/dist/assets/{perl.1057f433.js → perl.cdac9699.js} +1 -1
- package/dist/assets/{permissions.ff13fa5f.js → permissions.2a3a0797.js} +0 -0
- package/dist/assets/{php.2c8e1d57.js → php.a184592c.js} +1 -1
- package/dist/assets/{pig.7e2144e4.js → pig.2be11423.js} +1 -1
- package/dist/assets/pl-PL.22d07c6b.js +1 -0
- package/dist/assets/{plesk.2ff35141.js → plesk.3cb191e3.js} +0 -0
- package/dist/assets/{powershell.88c00671.js → powershell.ee3295b5.js} +1 -1
- package/dist/assets/{presets-bookmarks.71edfb1e.js → presets-bookmarks.3ee30c75.js} +0 -0
- package/dist/assets/{presets.ca5c97c1.js → presets.77036328.js} +0 -0
- package/dist/assets/{project-settings.bad2c361.js → project-settings.20e3e90d.js} +0 -0
- package/dist/assets/{projects.bcca7058.js → projects.eb358a96.js} +0 -0
- package/dist/assets/{properties.1dd69943.js → properties.fd169d83.js} +1 -1
- package/dist/assets/{protobuf.6be4ab99.js → protobuf.ec446f2c.js} +1 -1
- package/dist/assets/pt-PT.956e70ed.js +1 -0
- package/dist/assets/{pug.cf9e10c4.js → pug.3def0926.js} +1 -1
- package/dist/assets/{puppet.3e280a9b.js → puppet.edd85fe3.js} +1 -1
- package/dist/assets/{python.11d92161.js → python.7ad80e36.js} +1 -1
- package/dist/assets/{q.01ce7722.js → q.8ea2b87e.js} +1 -1
- package/dist/assets/{query.889624b6.js → query.06e852c0.js} +0 -0
- package/dist/assets/{quickstart.201a03f9.js → quickstart.32ded9dd.js} +0 -0
- package/dist/assets/{quickstart.3100f2dd.js → quickstart.af8e8736.js} +0 -0
- package/dist/assets/{r.fca045ca.js → r.a0811921.js} +1 -1
- package/dist/assets/{readme.0d1fcb96.js → readme.7025b81e.js} +0 -0
- package/dist/assets/{relations.7376d309.js → relations.6ee9ce9f.js} +0 -0
- package/dist/assets/{relationship.ab5f0275.js → relationship.64556fd6.js} +0 -0
- package/dist/assets/{relationships.e2bafbbf.js → relationships.d2f6778f.js} +0 -0
- package/dist/assets/{resources.2d897512.js → resources.5d271ab4.js} +0 -0
- package/dist/assets/{revisions.863f9f66.js → revisions.daaa161e.js} +0 -0
- package/dist/assets/{roles.04e8ea81.js → roles.f6764b96.js} +0 -0
- package/dist/assets/{rpm.74be1341.js → rpm.fd4d4c2f.js} +1 -1
- package/dist/assets/{rst.1075f07b.js → rst.1fa996b0.js} +1 -1
- package/dist/assets/{ruby.005b57b6.js → ruby.bfb78149.js} +1 -1
- package/dist/assets/{running-locally.fb36c457.js → running-locally.04510a25.js} +0 -0
- package/dist/assets/{rust.b8d37e48.js → rust.937b3011.js} +1 -1
- package/dist/assets/{sas.fa24634e.js → sas.283bf6a6.js} +1 -1
- package/dist/assets/{sass.d1c49f8d.js → sass.e2226201.js} +1 -1
- package/dist/assets/{schema.8e32049c.js → schema.3d63691c.js} +0 -0
- package/dist/assets/{scheme.85067917.js → scheme.0b9bf780.js} +1 -1
- package/dist/assets/{sdk.0ca11dd7.js → sdk.164e8e29.js} +0 -0
- package/dist/assets/{security.58255f29.js → security.d2b3ee17.js} +0 -0
- package/dist/assets/{server.5813c983.js → server.665f7fc5.js} +0 -0
- package/dist/assets/{settings.2f2d9d07.js → settings.359b2c2f.js} +0 -0
- package/dist/assets/{settings.be7bd7a9.js → settings.a5d95e00.js} +0 -0
- package/dist/assets/{shares.67587723.js → shares.8e2f899f.js} +0 -0
- package/dist/assets/{shell.d9fdc11e.js → shell.45fdc311.js} +1 -1
- package/dist/assets/{show-hint.171c04f8.js → show-hint.a9a96af2.js} +1 -1
- package/dist/assets/{sieve.ff164b0b.js → sieve.af694fa4.js} +1 -1
- package/dist/assets/{slim.1dbe2ad9.js → slim.c4f5c572.js} +1 -1
- package/dist/assets/{smalltalk.38f4a19d.js → smalltalk.24c87344.js} +1 -1
- package/dist/assets/{smarty.6bf2109d.js → smarty.0573be3e.js} +1 -1
- package/dist/assets/{solr.9f8c452a.js → solr.2fa44e70.js} +1 -1
- package/dist/assets/{soy.3cc4da2e.js → soy.0cc76308.js} +1 -1
- package/dist/assets/{sparql.acdbc2d8.js → sparql.c3173654.js} +1 -1
- package/dist/assets/{spreadsheet.bf49ef06.js → spreadsheet.782585e1.js} +1 -1
- package/dist/assets/{sql.29edb4d0.js → sql.a6374984.js} +1 -1
- package/dist/assets/{sso-examples.2edd5333.js → sso-examples.16508b47.js} +0 -0
- package/dist/assets/{sso.ab351691.js → sso.d864beab.js} +0 -0
- package/dist/assets/{stex.3048d500.js → stex.7ad89553.js} +1 -1
- package/dist/assets/{stylus.52abcd6c.js → stylus.9946bfbc.js} +1 -1
- package/dist/assets/{support.2cf630ee.js → support.7663419d.js} +0 -0
- package/dist/assets/{swift.02829e08.js → swift.54a9c95b.js} +1 -1
- package/dist/assets/{tcl.6e683546.js → tcl.b7a78bf6.js} +1 -1
- package/dist/assets/{teams.93174356.js → teams.a82a9891.js} +0 -0
- package/dist/assets/{textile.a09fd9ad.js → textile.ccaad89e.js} +1 -1
- package/dist/assets/{themes.fe6e4643.js → themes.d1c43c85.js} +0 -0
- package/dist/assets/{tiddlywiki.d5d25ddb.js → tiddlywiki.1f6e9724.js} +1 -1
- package/dist/assets/{tiki.1d7f58bb.js → tiki.e563e2fe.js} +1 -1
- package/dist/assets/{toml.3d77154c.js → toml.d8ffc03c.js} +1 -1
- package/dist/assets/{tornado.8a397b70.js → tornado.e56be2d0.js} +1 -1
- package/dist/assets/tr-TR.1d37f3a3.js +1 -0
- package/dist/assets/{translation-strings.26af3c6c.js → translation-strings.817aa829.js} +0 -0
- package/dist/assets/{translations.66d93538.js → translations.2bd44244.js} +0 -0
- package/dist/assets/{translations.cf7899de.js → translations.ccd22f7d.js} +0 -0
- package/dist/assets/{triggers.44a5a854.js → triggers.27d1ac9d.js} +0 -0
- package/dist/assets/{troff.92562e68.js → troff.8969e17b.js} +1 -1
- package/dist/assets/{ttcn-cfg.e5a53700.js → ttcn-cfg.c39e18bd.js} +1 -1
- package/dist/assets/{ttcn.7f1f754b.js → ttcn.d9aa218d.js} +1 -1
- package/dist/assets/{turtle.51524455.js → turtle.0f986361.js} +1 -1
- package/dist/assets/{twig.89a84729.js → twig.7b1c7eed.js} +1 -1
- package/dist/assets/{ubuntu.a7387698.js → ubuntu.4dbcd1ec.js} +0 -0
- package/dist/assets/{upgrades-migrations.bbc67ded.js → upgrades-migrations.427c056e.js} +0 -0
- package/dist/assets/{user-directory.f0896e64.js → user-directory.9f141cda.js} +0 -0
- package/dist/assets/{users-roles-permissions.7927c828.js → users-roles-permissions.2cd3107d.js} +0 -0
- package/dist/assets/{users.3cc007e0.js → users.b10bd9b8.js} +1 -1
- package/dist/assets/{utilities.8261b4d1.js → utilities.c2b860c0.js} +0 -0
- package/dist/assets/{validation.cd82a063.js → validation.41f2b055.js} +0 -0
- package/dist/assets/{vb.b81124a8.js → vb.366e82d0.js} +1 -1
- package/dist/assets/{vbscript.1a0cbf8b.js → vbscript.b2c0aa1c.js} +1 -1
- package/dist/assets/{velocity.858a93fe.js → velocity.9565ee76.js} +1 -1
- package/dist/assets/{verilog.3700575f.js → verilog.dceddfdd.js} +1 -1
- package/dist/assets/{vhdl.92ce280a.js → vhdl.ef4e169a.js} +1 -1
- package/dist/assets/{vue.71f69bd6.js → vue.e1dd1e87.js} +1 -1
- package/dist/assets/{wast.c7344701.js → wast.ff819a1d.js} +1 -1
- package/dist/assets/{webhooks.b8a326da.js → webhooks.181676a2.js} +0 -0
- package/dist/assets/{webhooks.386f26e6.js → webhooks.755a1b1d.js} +0 -0
- package/dist/assets/{webidl.fb4b704e.js → webidl.85bf246b.js} +1 -1
- package/dist/assets/{xquery.16be6aeb.js → xquery.0886a550.js} +1 -1
- package/dist/assets/{yacas.9a9120e4.js → yacas.4b0493cd.js} +1 -1
- package/dist/assets/{yaml-frontmatter.d13cf57a.js → yaml-frontmatter.8bb24d07.js} +1 -1
- package/dist/assets/{yaml.31d9fe54.js → yaml.67357436.js} +1 -1
- package/dist/assets/{z80.f6888cf2.js → z80.c04eab83.js} +1 -1
- package/dist/assets/zh-TW.b34294b3.js +1 -0
- package/dist/index.html +1 -1
- package/package.json +3 -3
- package/dist/assets/ar-SA.c29622aa.js +0 -1
- package/dist/assets/iis.0b757725.js +0 -24
- package/dist/assets/it-IT.ad5e2aec.js +0 -1
- package/dist/assets/localization.1d4f1acf.js +0 -1
- package/dist/assets/overview.13ed0fc0.js +0 -1
- package/dist/assets/pl-PL.dbe24e4d.js +0 -1
- package/dist/assets/pt-PT.84bbe8cd.js +0 -1
- package/dist/assets/tr-TR.c50cf4dc.js +0 -1
- package/dist/assets/zh-TW.45e046d4.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{y as _}from"./index.
|
|
1
|
+
import{y as _}from"./index.dfa694ae.entry.js";import{a as $}from"./css.73e17222.js";function M(v,g){return g.forEach(function(i){i&&typeof i!="string"&&!Array.isArray(i)&&Object.keys(i).forEach(function(t){if(t!=="default"&&!(t in v)){var p=Object.getOwnPropertyDescriptor(i,t);Object.defineProperty(v,t,p.get?p:{enumerable:!0,get:function(){return i[t]}})}})}),Object.freeze(Object.defineProperty(v,Symbol.toStringTag,{value:"Module"}))}var O={exports:{}};(function(v,g){(function(i){i(_.exports,$.exports)})(function(i){i.defineMode("sass",function(t){var p=i.mimeModes["text/css"],y=p.propertyKeywords||{},E=p.colorKeywords||{},T=p.valueKeywords||{},j=p.fontProperties||{};function A(r){return new RegExp("^"+r.join("|"))}var K=["true","false","null","auto"],z=new RegExp("^"+K.join("|")),L=["\\(","\\)","=",">","<","==",">=","<=","\\+","-","\\!=","/","\\*","%","and","or","not",";","\\{","\\}",":"],b=A(L),R=/^::?[a-zA-Z_][\w\-]*/,u;function f(r){return!r.peek()||r.match(/\s+$/,!1)}function s(r,n){var e=r.peek();return e===")"?(r.next(),n.tokenizer=l,"operator"):e==="("?(r.next(),r.eatSpace(),"operator"):e==="'"||e==='"'?(n.tokenizer=a(r.next()),"string"):(n.tokenizer=a(")",!1),"string")}function H(r,n){return function(e,o){return e.sol()&&e.indentation()<=r?(o.tokenizer=l,l(e,o)):(n&&e.skipTo("*/")?(e.next(),e.next(),o.tokenizer=l):e.skipToEnd(),"comment")}}function a(r,n){n==null&&(n=!0);function e(o,d){var h=o.next(),k=o.peek(),x=o.string.charAt(o.pos-2),w=h!=="\\"&&k===r||h===r&&x!=="\\";return w?(h!==r&&n&&o.next(),f(o)&&(d.cursorHalf=0),d.tokenizer=l,"string"):h==="#"&&k==="{"?(d.tokenizer=P(e),o.next(),"operator"):"string"}return e}function P(r){return function(n,e){return n.peek()==="}"?(n.next(),e.tokenizer=r,"operator"):l(n,e)}}function c(r){if(r.indentCount==0){r.indentCount++;var n=r.scopes[0].offset,e=n+t.indentUnit;r.scopes.unshift({offset:e})}}function C(r){r.scopes.length!=1&&r.scopes.shift()}function l(r,n){var e=r.peek();if(r.match("/*"))return n.tokenizer=H(r.indentation(),!0),n.tokenizer(r,n);if(r.match("//"))return n.tokenizer=H(r.indentation(),!1),n.tokenizer(r,n);if(r.match("#{"))return n.tokenizer=P(l),"operator";if(e==='"'||e==="'")return r.next(),n.tokenizer=a(e),"string";if(n.cursorHalf){if(e==="#"&&(r.next(),r.match(/[0-9a-fA-F]{6}|[0-9a-fA-F]{3}/))||r.match(/^-?[0-9\.]+/))return f(r)&&(n.cursorHalf=0),"number";if(r.match(/^(px|em|in)\b/))return f(r)&&(n.cursorHalf=0),"unit";if(r.match(z))return f(r)&&(n.cursorHalf=0),"keyword";if(r.match(/^url/)&&r.peek()==="(")return n.tokenizer=s,f(r)&&(n.cursorHalf=0),"atom";if(e==="$")return r.next(),r.eatWhile(/[\w-]/),f(r)&&(n.cursorHalf=0),"variable-2";if(e==="!")return r.next(),n.cursorHalf=0,r.match(/^[\w]+/)?"keyword":"operator";if(r.match(b))return f(r)&&(n.cursorHalf=0),"operator";if(r.eatWhile(/[\w-]/))return f(r)&&(n.cursorHalf=0),u=r.current().toLowerCase(),T.hasOwnProperty(u)?"atom":E.hasOwnProperty(u)?"keyword":y.hasOwnProperty(u)?(n.prevProp=r.current().toLowerCase(),"property"):"tag";if(f(r))return n.cursorHalf=0,null}else{if(e==="-"&&r.match(/^-\w+-/))return"meta";if(e==="."){if(r.next(),r.match(/^[\w-]+/))return c(n),"qualifier";if(r.peek()==="#")return c(n),"tag"}if(e==="#"){if(r.next(),r.match(/^[\w-]+/))return c(n),"builtin";if(r.peek()==="#")return c(n),"tag"}if(e==="$")return r.next(),r.eatWhile(/[\w-]/),"variable-2";if(r.match(/^-?[0-9\.]+/))return"number";if(r.match(/^(px|em|in)\b/))return"unit";if(r.match(z))return"keyword";if(r.match(/^url/)&&r.peek()==="(")return n.tokenizer=s,"atom";if(e==="="&&r.match(/^=[\w-]+/))return c(n),"meta";if(e==="+"&&r.match(/^\+[\w-]+/))return"variable-3";if(e==="@"&&r.match("@extend")&&(r.match(/\s*[\w]/)||C(n)),r.match(/^@(else if|if|media|else|for|each|while|mixin|function)/))return c(n),"def";if(e==="@")return r.next(),r.eatWhile(/[\w-]/),"def";if(r.eatWhile(/[\w-]/))if(r.match(/ *: *[\w-\+\$#!\("']/,!1)){u=r.current().toLowerCase();var o=n.prevProp+"-"+u;return y.hasOwnProperty(o)?"property":y.hasOwnProperty(u)?(n.prevProp=u,"property"):j.hasOwnProperty(u)?"property":"tag"}else return r.match(/ *:/,!1)?(c(n),n.cursorHalf=1,n.prevProp=r.current().toLowerCase(),"property"):(r.match(/ *,/,!1)||c(n),"tag");if(e===":")return r.match(R)?"variable-3":(r.next(),n.cursorHalf=1,"operator")}return r.match(b)?"operator":(r.next(),null)}function S(r,n){r.sol()&&(n.indentCount=0);var e=n.tokenizer(r,n),o=r.current();if((o==="@return"||o==="}")&&C(n),e!==null){for(var d=r.pos-o.length,h=d+t.indentUnit*n.indentCount,k=[],x=0;x<n.scopes.length;x++){var w=n.scopes[x];w.offset<=h&&k.push(w)}n.scopes=k}return e}return{startState:function(){return{tokenizer:l,scopes:[{offset:0,type:"sass"}],indentCount:0,cursorHalf:0,definedVars:[],definedMixins:[]}},token:function(r,n){var e=S(r,n);return n.lastToken={style:e,content:r.current()},e},indent:function(r){return r.scopes[0].offset},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//",fold:"indent"}},"css"),i.defineMIME("text/x-sass","sass")})})();var W=O.exports,U=M({__proto__:null,default:W},[O.exports]);export{O as a,U as s};
|
|
File without changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{y as A}from"./index.
|
|
1
|
+
import{y as A}from"./index.dfa694ae.entry.js";function D(u,x){return x.forEach(function(t){t&&typeof t!="string"&&!Array.isArray(t)&&Object.keys(t).forEach(function(a){if(a!=="default"&&!(a in u)){var l=Object.getOwnPropertyDescriptor(t,a);Object.defineProperty(u,a,l.get?l:{enumerable:!0,get:function(){return t[a]}})}})}),Object.freeze(Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}))}var M={exports:{}};(function(u,x){(function(t){t(A.exports)})(function(t){t.defineMode("scheme",function(){var a="builtin",l="comment",v="string",f="atom",b="number",y="bracket",N=2;function w(e){for(var i={},n=e.split(" "),c=0;c<n.length;++c)i[n[c]]=!0;return i}var k=w("\u03BB 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?"),C=w("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 O(e,i,n){this.indent=e,this.type=i,this.prev=n}function s(e,i,n){e.indentStack=new O(i,n,e.indentStack)}function Q(e){e.indentStack=e.indentStack.prev}var _=new RegExp(/^(?:[-+]i|[-+][01]+#*(?:\/[01]+#*)?i|[-+]?[01]+#*(?:\/[01]+#*)?@[-+]?[01]+#*(?:\/[01]+#*)?|[-+]?[01]+#*(?:\/[01]+#*)?[-+](?:[01]+#*(?:\/[01]+#*)?)?i|[-+]?[01]+#*(?:\/[01]+#*)?)(?=[()\s;"]|$)/i),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),$=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),j=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 R(e){return e.match(_)}function B(e){return e.match(I)}function p(e,i){return i===!0&&e.backUp(1),e.match(j)}function U(e){return e.match($)}return{startState:function(){return{indentStack:null,indentation:0,mode:!1,sExprComment:!1,sExprQuote:!1}},token:function(e,i){if(i.indentStack==null&&e.sol()&&(i.indentation=e.indentation()),e.eatSpace())return null;var n=null;switch(i.mode){case"string":for(var o,c=!1;(o=e.next())!=null;){if(o=='"'&&!c){i.mode=!1;break}c=!c&&o=="\\"}n=v;break;case"comment":for(var o,E=!1;(o=e.next())!=null;){if(o=="#"&&E){i.mode=!1;break}E=o=="|"}n=l;break;case"s-expr-comment":if(i.mode=!1,e.peek()=="("||e.peek()=="[")i.sExprComment=0;else{e.eatWhile(/[^\s\(\)\[\]]/),n=l;break}default:var r=e.next();if(r=='"')i.mode="string",n=v;else if(r=="'")e.peek()=="("||e.peek()=="["?(typeof i.sExprQuote!="number"&&(i.sExprQuote=0),n=f):(e.eatWhile(/[\w_\-!$%&*+\.\/:<=>?@\^~]/),n=f);else if(r=="#")if(e.eat("|"))i.mode="comment",n=l;else if(e.eat(/[tf]/i))n=f;else if(e.eat(";"))i.mode="s-expr-comment",n=l;else{var d=null,m=!1,S=!0;e.eat(/[ei]/i)?m=!0:e.backUp(1),e.match(/^#b/i)?d=R:e.match(/^#o/i)?d=B:e.match(/^#x/i)?d=U:e.match(/^#d/i)?d=p:e.match(/^[-+0-9.]/,!1)?(S=!1,d=p):m||e.eat("#"),d!=null&&(S&&!m&&e.match(/^#[ei]/i),d(e)&&(n=b))}else if(/^[-+0-9.]/.test(r)&&p(e,!0))n=b;else if(r==";")e.skipToEnd(),n=l;else if(r=="("||r=="["){for(var h="",g=e.column(),q;(q=e.eat(/[^\s\(\[\;\)\]]/))!=null;)h+=q;h.length>0&&C.propertyIsEnumerable(h)?s(i,g+N,r):(e.eatSpace(),e.eol()||e.peek()==";"?s(i,g+1,r):s(i,g+e.current().length,r)),e.backUp(e.current().length-1),typeof i.sExprComment=="number"&&i.sExprComment++,typeof i.sExprQuote=="number"&&i.sExprQuote++,n=y}else r==")"||r=="]"?(n=y,i.indentStack!=null&&i.indentStack.type==(r==")"?"(":"[")&&(Q(i),typeof i.sExprComment=="number"&&--i.sExprComment==0&&(n=l,i.sExprComment=!1),typeof i.sExprQuote=="number"&&--i.sExprQuote==0&&(n=f,i.sExprQuote=!1))):(e.eatWhile(/[\w_\-!$%&*+\.\/:<=>?@\^~]/),k&&k.propertyIsEnumerable(e.current())?n=a:n="variable")}return typeof i.sExprComment=="number"?l:typeof i.sExprQuote=="number"?f:n},indent:function(e){return e.indentStack==null?e.indentation:e.indentStack.indent},closeBrackets:{pairs:'()[]{}""'},lineComment:";;"}}),t.defineMIME("text/x-scheme","scheme")})})();var K=M.exports,z=D({__proto__:null,default:K},[M.exports]);export{z as s};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{y as E}from"./index.
|
|
1
|
+
import{y as E}from"./index.dfa694ae.entry.js";function O(h,a){return a.forEach(function(o){o&&typeof o!="string"&&!Array.isArray(o)&&Object.keys(o).forEach(function(f){if(f!=="default"&&!(f in h)){var c=Object.getOwnPropertyDescriptor(o,f);Object.defineProperty(h,f,c.get?c:{enumerable:!0,get:function(){return o[f]}})}})}),Object.freeze(Object.defineProperty(h,Symbol.toStringTag,{value:"Module"}))}var w={exports:{}};(function(h,a){(function(o){o(E.exports)})(function(o){o.defineMode("shell",function(){var f={};function c(e,n){for(var r=0;r<n.length;r++)f[n[r]]=e}var k=["true","false"],d=["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"];o.registerHelper("hintWords","shell",k.concat(d,g)),c("atom",k),c("keyword",d),c("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(p(t,t==="`"?"quote":"string")),s(e,n);if(t==="#")return r&&e.eat("!")?(e.skipToEnd(),"meta"):(e.skipToEnd(),"comment");if(t==="$")return n.tokens.unshift(v),s(e,n);if(t==="+"||t==="=")return"operator";if(t==="-")return e.eat("-"),e.eatWhile(/\w/),"attribute";if(t=="<"){if(e.match("<<"))return"operator";var u=e.match(/^<-?\s*['"]?([^'"]*)['"]?/);if(u)return n.tokens.unshift(y(u[1])),"string-2"}if(/\d/.test(t)&&(e.eatWhile(/\d/),e.eol()||!/\w/.test(e.peek())))return"number";e.eatWhile(/[\w-]/);var i=e.current();return e.peek()==="="&&/\w+/.test(i)?"def":f.hasOwnProperty(i)?f[i]:null}function p(e,n){var r=e=="("?")":e=="{"?"}":e;return function(t,u){for(var i,l=!1;(i=t.next())!=null;){if(i===r&&!l){u.tokens.shift();break}else if(i==="$"&&!l&&e!=="'"&&t.peek()!=r){l=!0,t.backUp(1),u.tokens.unshift(v);break}else{if(!l&&e!==r&&i===e)return u.tokens.unshift(p(e,n)),s(t,u);if(!l&&/['"]/.test(i)&&!/['"]/.test(e)){u.tokens.unshift(x(i,"string")),t.backUp(1);break}}l=!l&&i==="\\"}return n}}function x(e,n){return function(r,t){return t.tokens[0]=p(e,n),r.next(),s(r,t)}}var v=function(e,n){n.tokens.length>1&&e.eat("$");var r=e.next();return/['"({]/.test(r)?(n.tokens[0]=p(r,r=="("?"quote":r=="{"?"def":"string"),s(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 s(e,n){return(n.tokens[0]||b)(e,n)}return{startState:function(){return{tokens:[]}},token:function(e,n){return s(e,n)},closeBrackets:"()[]{}''\"\"``",lineComment:"#",fold:"brace"}}),o.defineMIME("text/x-sh","shell"),o.defineMIME("application/x-sh","shell")})})();var S=w.exports,j=O({__proto__:null,default:S},[w.exports]);export{j as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{y as ot}from"./index.7f8a0ace.entry.js";function rt(A,L){return L.forEach(function(r){r&&typeof r!="string"&&!Array.isArray(r)&&Object.keys(r).forEach(function(v){if(v!=="default"&&!(v in A)){var y=Object.getOwnPropertyDescriptor(r,v);Object.defineProperty(A,v,y.get?y:{enumerable:!0,get:function(){return r[v]}})}})}),Object.freeze(Object.defineProperty(A,Symbol.toStringTag,{value:"Module"}))}var X={exports:{}};(function(A,L){(function(r){r(ot.exports)})(function(r){var v="CodeMirror-hint",y="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 P(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 P(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;P.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(R(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;K(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 U)s[c]=U[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 R(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 h;typeof l!="string"?h=function(w){return l(w,e)}:i.hasOwnProperty(l)?h=i[l]:h=l,c[u]=h}if(s)for(var f in s)s.hasOwnProperty(f)&&o(f,s[f]);var a=t.options.extraKeys;if(a)for(var f in a)a.hasOwnProperty(f)&&o(f,a[f]);return c}function _(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 a=e.list,u=0;u<a.length;++u){var l=o.appendChild(s.createElement("li")),h=a[u],w=v+(u!=this.selectedHint?"":" "+y);h.className!=null&&(w=h.className+" "+w),l.className=w,u==this.selectedHint&&l.setAttribute("aria-selected","true"),l.id=this.id+"-"+u,l.setAttribute("role","option"),h.render?h.render(l,e,h):l.appendChild(s.createTextNode(h.displayText||R(h))),l.hintId=u}var H=t.options.container||s.body,m=n.cursorCoords(t.options.alignWithWord?e.from:null),S=m.left,x=m.bottom,D=!0,T=0,O=0;if(H!==s.body){var it=["absolute","relative","fixed"].indexOf(c.getComputedStyle(H).position)!==-1,N=it?H:H.offsetParent,j=N.getBoundingClientRect(),M=s.body.getBoundingClientRect();T=j.left-M.left-N.scrollLeft,O=j.top-M.top-N.scrollTop}o.style.left=S-T+"px",o.style.top=x-O+"px";var k=c.innerWidth||Math.max(s.body.offsetWidth,s.documentElement.offsetWidth),I=c.innerHeight||Math.max(s.body.offsetHeight,s.documentElement.offsetHeight);H.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,z=t.options.paddingForScrollbar?o.scrollHeight>o.clientHeight+1:!1,b;setTimeout(function(){b=n.getScrollInfo()});var nt=g.bottom-I;if(nt>0){var C=g.bottom-g.top,st=m.top-(m.bottom-g.top);if(st-C>0)o.style.top=(x=m.top-C-O)+"px",D=!1;else if(C>I){o.style.height=I-5+"px",o.style.top=(x=m.bottom-g.top-O)+"px";var V=n.getCursor();e.from.ch!=V.ch&&(m=n.cursorCoords(V),o.style.left=(S=m.left-T)+"px",g=o.getBoundingClientRect())}}var F=g.right-k;if(z&&(F+=n.display.nativeBarWidth),F>0&&(g.right-g.left>k&&(o.style.width=k-5+"px",F-=g.right-g.left-k),o.style.left=(S=m.left-F-T)+"px"),z)for(var E=o.firstChild;E;E=E.nextSibling)E.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:a.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 $=x+b.top-p.top,W=$-(c.pageYOffset||(s.documentElement||s.body).scrollTop);if(D||(W+=o.offsetHeight),W<=d.top||W>=d.bottom)return t.close();o.style.top=$+"px",o.style.left=S+b.left-p.left+"px"}),r.on(o,"dblclick",function(p){var d=_(o,p.target||p.srcElement);d&&d.hintId!=null&&(i.changeActive(d.hintId),i.pick())}),r.on(o,"click",function(p){var d=_(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",a[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(" "+y,""),i.removeAttribute("aria-selected")),i=this.hints.childNodes[this.selectedHint=t],i.className+=" "+y,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 K(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 a=tt(c,i);function u(l){if(l==a.length)return o(null);K(a[l],c,f,function(h){h&&h.list.length>0?o(h):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=[],a=0;a<e.words.length;a++){var u=e.words[a];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 U={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 ct=X.exports,at=rt({__proto__:null,default:ct},[X.exports]);export{at as s};
|
|
1
|
+
import{y as ot}from"./index.dfa694ae.entry.js";function rt(A,L){return L.forEach(function(r){r&&typeof r!="string"&&!Array.isArray(r)&&Object.keys(r).forEach(function(v){if(v!=="default"&&!(v in A)){var y=Object.getOwnPropertyDescriptor(r,v);Object.defineProperty(A,v,y.get?y:{enumerable:!0,get:function(){return r[v]}})}})}),Object.freeze(Object.defineProperty(A,Symbol.toStringTag,{value:"Module"}))}var X={exports:{}};(function(A,L){(function(r){r(ot.exports)})(function(r){var v="CodeMirror-hint",y="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 P(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 P(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;P.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(R(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;K(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 U)s[c]=U[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 R(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 h;typeof l!="string"?h=function(w){return l(w,e)}:i.hasOwnProperty(l)?h=i[l]:h=l,c[u]=h}if(s)for(var f in s)s.hasOwnProperty(f)&&o(f,s[f]);var a=t.options.extraKeys;if(a)for(var f in a)a.hasOwnProperty(f)&&o(f,a[f]);return c}function _(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 a=e.list,u=0;u<a.length;++u){var l=o.appendChild(s.createElement("li")),h=a[u],w=v+(u!=this.selectedHint?"":" "+y);h.className!=null&&(w=h.className+" "+w),l.className=w,u==this.selectedHint&&l.setAttribute("aria-selected","true"),l.id=this.id+"-"+u,l.setAttribute("role","option"),h.render?h.render(l,e,h):l.appendChild(s.createTextNode(h.displayText||R(h))),l.hintId=u}var H=t.options.container||s.body,m=n.cursorCoords(t.options.alignWithWord?e.from:null),S=m.left,x=m.bottom,D=!0,T=0,O=0;if(H!==s.body){var it=["absolute","relative","fixed"].indexOf(c.getComputedStyle(H).position)!==-1,N=it?H:H.offsetParent,j=N.getBoundingClientRect(),M=s.body.getBoundingClientRect();T=j.left-M.left-N.scrollLeft,O=j.top-M.top-N.scrollTop}o.style.left=S-T+"px",o.style.top=x-O+"px";var k=c.innerWidth||Math.max(s.body.offsetWidth,s.documentElement.offsetWidth),I=c.innerHeight||Math.max(s.body.offsetHeight,s.documentElement.offsetHeight);H.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,z=t.options.paddingForScrollbar?o.scrollHeight>o.clientHeight+1:!1,b;setTimeout(function(){b=n.getScrollInfo()});var nt=g.bottom-I;if(nt>0){var C=g.bottom-g.top,st=m.top-(m.bottom-g.top);if(st-C>0)o.style.top=(x=m.top-C-O)+"px",D=!1;else if(C>I){o.style.height=I-5+"px",o.style.top=(x=m.bottom-g.top-O)+"px";var V=n.getCursor();e.from.ch!=V.ch&&(m=n.cursorCoords(V),o.style.left=(S=m.left-T)+"px",g=o.getBoundingClientRect())}}var F=g.right-k;if(z&&(F+=n.display.nativeBarWidth),F>0&&(g.right-g.left>k&&(o.style.width=k-5+"px",F-=g.right-g.left-k),o.style.left=(S=m.left-F-T)+"px"),z)for(var E=o.firstChild;E;E=E.nextSibling)E.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:a.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 $=x+b.top-p.top,W=$-(c.pageYOffset||(s.documentElement||s.body).scrollTop);if(D||(W+=o.offsetHeight),W<=d.top||W>=d.bottom)return t.close();o.style.top=$+"px",o.style.left=S+b.left-p.left+"px"}),r.on(o,"dblclick",function(p){var d=_(o,p.target||p.srcElement);d&&d.hintId!=null&&(i.changeActive(d.hintId),i.pick())}),r.on(o,"click",function(p){var d=_(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",a[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(" "+y,""),i.removeAttribute("aria-selected")),i=this.hints.childNodes[this.selectedHint=t],i.className+=" "+y,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 K(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 a=tt(c,i);function u(l){if(l==a.length)return o(null);K(a[l],c,f,function(h){h&&h.list.length>0?o(h):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=[],a=0;a<e.words.length;a++){var u=e.words[a];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 U={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 ct=X.exports,at=rt({__proto__:null,default:ct},[X.exports]);export{at as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{y as _}from"./index.
|
|
1
|
+
import{y as _}from"./index.dfa694ae.entry.js";function b(l,p){return p.forEach(function(t){t&&typeof t!="string"&&!Array.isArray(t)&&Object.keys(t).forEach(function(o){if(o!=="default"&&!(o in l)){var u=Object.getOwnPropertyDescriptor(t,o);Object.defineProperty(l,o,u.get?u:{enumerable:!0,get:function(){return t[o]}})}})}),Object.freeze(Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}))}var a={exports:{}};(function(l,p){(function(t){t(_.exports)})(function(t){t.defineMode("sieve",function(o){function u(n){for(var e={},r=n.split(" "),i=0;i<r.length;++i)e[r[i]]=!0;return e}var v=u("if elsif else stop require"),k=u("true false not"),s=o.indentUnit;function f(n,e){var r=n.next();if(r=="/"&&n.eat("*"))return e.tokenize=d,d(n,e);if(r==="#")return n.skipToEnd(),"comment";if(r=='"')return e.tokenize=h(r),e.tokenize(n,e);if(r=="(")return e._indent.push("("),e._indent.push("{"),null;if(r==="{")return e._indent.push("{"),null;if(r==")"&&(e._indent.pop(),e._indent.pop()),r==="}")return e._indent.pop(),null;if(r==","||r==";"||/[{}\(\),;]/.test(r))return null;if(/\d/.test(r))return n.eatWhile(/[\d]/),n.eat(/[KkMmGg]/),"number";if(r==":")return n.eatWhile(/[a-zA-Z_]/),n.eatWhile(/[a-zA-Z0-9_]/),"operator";n.eatWhile(/\w/);var i=n.current();return i=="text"&&n.eat(":")?(e.tokenize=g,"string"):v.propertyIsEnumerable(i)?"keyword":k.propertyIsEnumerable(i)?"atom":null}function g(n,e){return e._multiLineString=!0,n.sol()?(n.next()=="."&&n.eol()&&(e._multiLineString=!1,e.tokenize=f),"string"):(n.eatSpace(),n.peek()=="#"?(n.skipToEnd(),"comment"):(n.skipToEnd(),"string"))}function d(n,e){for(var r=!1,i;(i=n.next())!=null;){if(r&&i=="/"){e.tokenize=f;break}r=i=="*"}return"comment"}function h(n){return function(e,r){for(var i=!1,c;(c=e.next())!=null&&!(c==n&&!i);)i=!i&&c=="\\";return i||(r.tokenize=f),"string"}}return{startState:function(n){return{tokenize:f,baseIndent:n||0,_indent:[]}},token:function(n,e){return n.eatSpace()?null:(e.tokenize||f)(n,e)},indent:function(n,e){var r=n._indent.length;return e&&e[0]=="}"&&r--,r<0&&(r=0),r*s},electricChars:"}"}}),t.defineMIME("application/sieve","sieve")})})();var y=a.exports,x=b({__proto__:null,default:y},[a.exports]);export{x as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{y as pn}from"./index.
|
|
1
|
+
import{y as pn}from"./index.dfa694ae.entry.js";import{a as an}from"./htmlmixed.200b6fde.js";import{a as xn}from"./ruby.bfb78149.js";function zn(h,L){return L.forEach(function(t){t&&typeof t!="string"&&!Array.isArray(t)&&Object.keys(t).forEach(function(l){if(l!=="default"&&!(l in h)){var d=Object.getOwnPropertyDescriptor(t,l);Object.defineProperty(h,l,d.get?d:{enumerable:!0,get:function(){return t[l]}})}})}),Object.freeze(Object.defineProperty(h,Symbol.toStringTag,{value:"Module"}))}var s={exports:{}};(function(h,L){(function(t){t(pn.exports,an.exports,xn.exports)})(function(t){t.defineMode("slim",function(l){var d=t.getMode(l,{name:"htmlmixed"}),p=t.getMode(l,"ruby"),g={html:d,ruby:p},R={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"},C=function(n){var e=[];for(var i in n)e.push(i);return new RegExp("^("+e.join("|")+"):")}(R),D={commentLine:"comment",slimSwitch:"operator special",slimTag:"tag",slimId:"attribute def",slimClass:"attribute qualifier",slimAttribute:"attribute",slimSubmode:"keyword special",closeAttributeTag:null,slimDoctype:null,lineContinuation:null},N={"{":"}","[":"]","(":")"},y="_a-zA-Z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD",m=y+"\\-0-9\xB7\u0300-\u036F\u203F-\u2040",Q=new RegExp("^[:"+y+"](?::["+m+"]|["+m+"]*)"),V=new RegExp("^[:"+y+"][:\\."+m+"]*(?=\\s*=)"),W=new RegExp("^[:"+y+"][:\\."+m+"]*"),Z=/^\.-?[_a-zA-Z]+[\w\-]*/,q=/^#[_a-zA-Z]+[\w\-]*/;function B(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 H(n,e,i,u,r){var o=n.current(),c=o.search(i);return c>-1&&(e.tokenize=B(n.pos,e.tokenize,r),n.backUp(o.length-c-u)),r}function w(n,e){n.stack={parent:n.stack,style:"continuation",indented:e,tokenize:n.line},n.line=n.tokenize}function F(n){n.line==n.tokenize&&(n.line=n.stack.tokenize,n.stack=n.stack.parent)}function G(n,e){return function(i,u){if(F(u),i.match(/^\\$/))return w(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){F(u);var r=e(i,u);return i.eol()&&i.current().match(/,$/)&&w(u,n),r}}function A(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 f(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(p),r.tokenize=i,a(u,r)}}function a(n,e){return p.token(n,e.rubyState)}function K(n,e){return n.match(/^\\$/)?"lineContinuation":O(n,e)}function O(n,e){return n.match(/^#\{/)?(e.tokenize=A("}",e.tokenize),null):H(n,e,/[^\\]#\{/,1,d.token(n,e.htmlState))}function X(n){return function(e,i){var u=K(e,i);return e.eol()&&(i.tokenize=n),u}}function T(n,e,i){return e.stack={parent:e.stack,style:"html",indented:n.column()+i,tokenize:e.line},e.line=e.tokenize=O,null}function _(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=_,_(n,e)}function b(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(W)?(e.tokenize=nn,"slimAttribute"):(n.next(),null)}function nn(n,e){return n.match(/^==?/)?(e.tokenize=en,null):b(n,e)}function en(n,e){var i=n.peek();return i=='"'||i=="'"?(e.tokenize=P(i,"string",!0,!1,b),n.next(),e.tokenize(n,e)):i=="["?f(b)(n,e):n.match(/^(true|false|nil)\b/)?(e.tokenize=b,"keyword"):f(b)(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=b,null}function rn(n,e){if(n.match(/^#\{/))return e.tokenize=A("}",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=R[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 g.hasOwnProperty(n)?g[n]:g[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 T(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(C);return u?cn(u[1],e):E(n,e)}function M(n,e){return e.startOfLine?kn(n,e):E(n,e)}function E(n,e){return n.eat("*")?(e.tokenize=f($),null):n.match(Q)?(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(q)?(e.tokenize=x,"slimId"):n.match(Z)?(e.tokenize=x,"slimClass"):k(n,e)}function k(n,e){return n.match(/^([\[\{\(])/)?un(e,N[RegExp.$1],k):n.match(V)?(e.tokenize=dn,"slimAttribute"):n.peek()=="*"?(n.next(),e.tokenize=f(I),null):I(n,e)}function dn(n,e){return n.match(/^==?/)?(e.tokenize=bn,null):k(n,e)}function bn(n,e){var i=n.peek();return i=='"'||i=="'"?(e.tokenize=P(i,"string",!0,!1,k),n.next(),e.tokenize(n,e)):i=="["?f(k)(n,e):i==":"?f(j)(n,e):n.match(/^(true|false|nil)\b/)?(e.tokenize=k,"keyword"):f(k)(n,e)}function j(n,e){return n.backUp(1),n.match(/^[^\s],(?=:)/)?(e.tokenize=f(j),null):(n.next(),k(n,e))}function P(n,e,i,u,r){return function(o,c){F(c);var S=o.current().length==0;if(o.match(/^\\$/,S))return S?(w(c,c.indented),"lineContinuation"):e;if(o.match(/^#\{/,S))return S?(c.tokenize=A("}",c.tokenize),null):e;for(var z=!1,v;(v=o.next())!=null;){if(v==n&&(u||!z)){c.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 I(n,e){return n.match(/^==?/)?(e.tokenize=a,"slimSwitch"):n.match(/^\/$/)?(e.tokenize=M,null):n.match(/^:/)?(e.tokenize=E,"slimSwitch"):(T(n,e,0),e.tokenize(n,e))}var U={startState:function(){var n=t.startState(d),e=t.startState(p);return{htmlState:n,rubyState:e,stack:null,last:null,tokenize:M,line:M,indented:0}},copyState:function(n){return{htmlState:t.copyState(d,n.htmlState),rubyState:t.copyState(p,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),D.hasOwnProperty(i)?D[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:U}}};return U},"htmlmixed","ruby"),t.defineMIME("text/x-slim","slim"),t.defineMIME("application/x-slim","slim")})})();var hn=s.exports,vn=zn({__proto__:null,default:hn},[s.exports]);export{vn as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{y}from"./index.
|
|
1
|
+
import{y}from"./index.dfa694ae.entry.js";function k(s,c){return c.forEach(function(a){a&&typeof a!="string"&&!Array.isArray(a)&&Object.keys(a).forEach(function(l){if(l!=="default"&&!(l in s)){var o=Object.getOwnPropertyDescriptor(a,l);Object.defineProperty(s,l,o.get?o:{enumerable:!0,get:function(){return a[l]}})}})}),Object.freeze(Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}))}var b={exports:{}};(function(s,c){(function(a){a(y.exports)})(function(a){a.defineMode("smalltalk",function(l){var o=/[+\-\/\\*~<>=@%|&?!.,:;^]/,w=/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},p=function(){this.context=new u(h,null),this.expectVariable=!0,this.indentation=0,this.userIndentationDelta=0};p.prototype.userIndent=function(e){this.userIndentationDelta=e>0?e/l.indentUnit-this.indentation:0};var h=function(e,n,t){var i=new f(null,n,!1),r=e.next();return r==='"'?i=x(e,new u(x,n)):r==="'"?i=d(e,new u(d,n)):r==="#"?e.peek()==="'"?(e.next(),i=v(e,new u(v,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(m,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?w.test(e.current())?"keyword":"variable":null):i.eos=t.expectVariable,i},x=function(e,n){return e.eatWhile(/[^"]/),new f("comment",e.eat('"')?n.parent:n,!0)},d=function(e,n){return e.eatWhile(/[^']/),new f("string",e.eat("'")?n.parent:n,!1)},v=function(e,n){return e.eatWhile(/[^']/),new f("string-2",e.eat("'")?n.parent:n,!1)},m=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 p},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===h&&n&&n.charAt(0)==="]"?-1:e.userIndentationDelta;return(e.indentation+t)*l.indentUnit},electricChars:"]"}}),a.defineMIME("text/x-stsrc",{name:"smalltalk"})})})();var g=b.exports,I=k({__proto__:null,default:g},[b.exports]);export{I as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{y as O}from"./index.
|
|
1
|
+
import{y as O}from"./index.dfa694ae.entry.js";function _(v,b){return b.forEach(function(i){i&&typeof i!="string"&&!Array.isArray(i)&&Object.keys(i).forEach(function(f){if(f!=="default"&&!(f in v)){var a=Object.getOwnPropertyDescriptor(i,f);Object.defineProperty(v,f,a.get?a:{enumerable:!0,get:function(){return i[f]}})}})}),Object.freeze(Object.defineProperty(v,Symbol.toStringTag,{value:"Module"}))}var m={exports:{}};(function(v,b){(function(i){i(O.exports)})(function(i){i.defineMode("smarty",function(f,a){var g=a.rightDelimiter||"}",c=a.leftDelimiter||"{",k=a.version||2,d=i.getMode(f,a.baseMode||"null"),y=["debug","extends","function","include","literal"],u={operatorChars:/[+\-*&%=<>!?]/,validIdentifier:/[a-zA-Z0-9_]/,stringChar:/['"]/},h;function n(e,r){return h=r,e}function I(e,r,t){return r.tokenize=t,t(e,r)}function w(e,r){return r==null&&(r=e.pos),k===3&&c=="{"&&(r==e.string.length||/\s/.test(e.string.charAt(r)))}function p(e,r){for(var t=e.string,l=e.pos;;){var o=t.indexOf(c,l);if(l=o+c.length,o==-1||!w(e,o+c.length))break}if(o==e.pos)return e.match(c),e.eat("*")?I(e,r,W("comment","*"+g)):(r.depth++,r.tokenize=z,h="startTag","tag");o>-1&&(e.string=t.slice(0,o));var s=d.token(e,r.base);return o>-1&&(e.string=t),s}function z(e,r){if(e.match(g,!0))return k===3?(r.depth--,r.depth<=0&&(r.tokenize=p)):r.tokenize=p,n("tag",null);if(e.match(c,!0))return r.depth++,n("tag","startTag");var t=e.next();if(t=="$")return e.eatWhile(u.validIdentifier),n("variable-2","variable");if(t=="|")return n("operator","pipe");if(t==".")return n("operator","property");if(u.stringChar.test(t))return r.tokenize=S(t),n("string","string");if(u.operatorChars.test(t))return e.eatWhile(u.operatorChars),n("operator","operator");if(t=="["||t=="]")return n("bracket","bracket");if(t=="("||t==")")return n("bracket","operator");if(/\d/.test(t))return e.eatWhile(/\d/),n("number","number");if(r.last=="variable"){if(t=="@")return e.eatWhile(u.validIdentifier),n("property","property");if(t=="|")return e.eatWhile(u.validIdentifier),n("qualifier","modifier")}else{if(r.last=="pipe")return e.eatWhile(u.validIdentifier),n("qualifier","modifier");if(r.last=="whitespace")return e.eatWhile(u.validIdentifier),n("attribute","modifier")}if(r.last=="property")return e.eatWhile(u.validIdentifier),n("property",null);if(/\s/.test(t))return h="whitespace",null;var l="";t!="/"&&(l+=t);for(var o=null;o=e.eat(u.validIdentifier);)l+=o;for(var s=0,x=y.length;s<x;s++)if(y[s]==l)return n("keyword","keyword");return/\s/.test(t)?null:n("tag","tag")}function S(e){return function(r,t){for(var l=null,o=null;!r.eol();){if(o=r.peek(),r.next()==e&&l!=="\\"){t.tokenize=z;break}l=o}return"string"}}function W(e,r){return function(t,l){for(;!t.eol();){if(t.match(r)){l.tokenize=p;break}t.next()}return e}}return{startState:function(){return{base:i.startState(d),tokenize:p,last:null,depth:0}},copyState:function(e){return{base:i.copyState(d,e.base),tokenize:e.tokenize,last:e.last,depth:e.depth}},innerMode:function(e){if(e.tokenize==p)return{mode:d,state:e.base}},token:function(e,r){var t=r.tokenize(e,r);return r.last=h,t},indent:function(e,r,t){return e.tokenize==p&&d.indent?d.indent(e.base,r,t):i.Pass},blockCommentStart:c+"*",blockCommentEnd:"*"+g}}),i.defineMIME("text/x-smarty","smarty")})})();var j=m.exports,D=_({__proto__:null,default:j},[m.exports]);export{D as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{y as O}from"./index.
|
|
1
|
+
import{y as O}from"./index.dfa694ae.entry.js";function b(f,a){return a.forEach(function(i){i&&typeof i!="string"&&!Array.isArray(i)&&Object.keys(i).forEach(function(o){if(o!=="default"&&!(o in f)){var l=Object.getOwnPropertyDescriptor(i,o);Object.defineProperty(f,o,l.get?l:{enumerable:!0,get:function(){return i[o]}})}})}),Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}var c={exports:{}};(function(f,a){(function(i){i(O.exports)})(function(i){i.defineMode("solr",function(){var o=/[^\s\|\!\+\-\*\?\~\^\&\:\(\)\[\]\{\}\"\\]/,l=/[\|\!\+\-\*\?\~\^\&]/,p=/^(OR|AND|NOT|TO)$/i;function k(e){return parseFloat(e).toString()===e}function g(e){return function(t,r){for(var n=!1,s;(s=t.next())!=null&&!(s==e&&!n);)n=!n&&s=="\\";return n||(r.tokenize=u),"string"}}function v(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=u,n}}function x(e){return function(t,r){for(var n=e;(e=t.peek())&&e.match(o)!=null;)n+=t.next();return r.tokenize=u,p.test(n)?"operator":k(n)?"number":t.peek()==":"?"field":"string"}}function u(e,t){var r=e.next();return r=='"'?t.tokenize=g(r):l.test(r)?t.tokenize=v(r):o.test(r)&&(t.tokenize=x(r)),t.tokenize!=u?t.tokenize(e,t):null}return{startState:function(){return{tokenize:u}},token:function(e,t){return e.eatSpace()?null:t.tokenize(e,t)}}}),i.defineMIME("text/x-solr","solr")})})();var d=c.exports,y=b({__proto__:null,default:d},[c.exports]);export{y as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{y as P}from"./index.7f8a0ace.entry.js";import{a as z}from"./htmlmixed.70796939.js";function F(m,k){return k.forEach(function(r){r&&typeof r!="string"&&!Array.isArray(r)&&Object.keys(r).forEach(function(o){if(o!=="default"&&!(o in m)){var c=Object.getOwnPropertyDescriptor(r,o);Object.defineProperty(m,o,c.get?c:{enumerable:!0,get:function(){return r[o]}})}})}),Object.freeze(Object.defineProperty(m,Symbol.toStringTag,{value:"Module"}))}var O={exports:{}};(function(m,k){(function(r){r(P.exports,z.exports)})(function(r){var o={noEndTag:!0,soyState:"param-def"},c={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"}},$=Object.keys(c).filter(function(l){return!c[l].noEndTag||c[l].reduceIndent});r.defineMode("soy",function(l){var v=r.getMode(l,"text/plain"),b={html:r.getMode(l,{name:"text/html",multilineTagIndentFactor:2,multilineTagIndentPastTag:!1,allowMissingTagName:!0}),attributes:v,text:v,uri:v,trusted_resource_uri:v,css:r.getMode(l,"text/css"),js:r.getMode(l,{name:"text/javascript",statementIndent:2*l.indentUnit})};function f(n){return n[n.length-1]}function T(n,e,t){if(n.sol()){for(var i=0;i<e.indent&&n.eat(/\s/);i++);if(i)return null}var d=n.string,u=t.exec(d.substr(n.pos));u&&(n.string=d.substr(0,n.pos+u.index));var a=n.hideFirstChars(e.indent,function(){var p=f(e.localStates);return p.mode.token(n,p.state)});return n.string=d,a}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 x(n){!n.context||(n.context.scope&&(n.variables=n.context.scope),n.context=n.context.previousContext)}function E(n,e,t){return _(n,e)?"variable-2":t?"variable":"variable-2 error"}function g(n,e,t){this.previousContext=n,this.tag=e,this.kind=null,this.scope=t}function S(n,e){var t;return n.match(/[[]/)?(e.soyState.push("list-literal"),e.context=new g(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]+)/))?E(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:r.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:r.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 i=/@param\??\s+(\S+)/g,d=n.current(),t;t=i.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(),E(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):S(n,e);case"param-type":var u=n.peek();return"}]=>,".indexOf(u)!=-1?(e.soyState.pop(),null):u=="["?(e.soyState.push("param-type-record"),null):u=="("?(e.soyState.push("param-type-template"),null):u=="<"?(e.soyState.push("param-type-parameter"),null):(t=n.match(/^([\w]+|[?])/))?"type":(n.next(),null);case"param-type-record":var u=n.peek();return u=="]"?(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,x(e),null):n.match(/\bfor\b/)?(e.lookupVariables=!0,e.soyState.push("for-loop"),"keyword"):S(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):S(n,e);case"import":return n.eat(";")?(e.soyState.pop(),e.indent-=2*l.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 a,p;e.tag===void 0?(a=!0,p=""):(a=e.tag[0]=="/",p=a?e.tag.substring(1):e.tag);var y=c[p];if(n.match(/^\/?}/)){var j=n.current()=="/}";return j&&!a&&x(e),e.tag=="/template"||e.tag=="/deltemplate"?(e.variables=s(null,"ij"),e.indent=0):e.indent-=l.indentUnit*(j||$.indexOf(e.tag)==-1?2:1),e.soyState.pop(),"keyword"}else if(n.match(/^([\w?]+)(?==)/)){if(e.context&&e.context.tag==p&&n.current()=="kind"&&(t=n.match(/^="([^"]+)/,!1))){var I=t[1];e.context.kind=I;var U=b[I]||b.html,h=f(e.localStates);h.mode.indent&&(e.indent+=h.mode.indent(h.state,"","")),e.localStates.push({mode:U,state:r.startState(U)})}return"attribute"}return S(n,e);case"template-call-expression":return n.match(/^([\w-?]+)(?==)/)?"attribute":n.eat(">")||n.eat("/>")?(e.soyState.pop(),"keyword"):S(n,e);case"literal":return n.match("{/literal}",!1)?(e.soyState.pop(),this.token(n,e)):T(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+=l.indentUnit,e.soyState.push("literal"),e.context=new g(e.context,"literal",e.variables),"keyword";if(t=n.match(/^\{([/@\\]?\w+\??)(?=$|[\s}]|\/[/*])/)){var V=e.tag;e.tag=t[1];var a=e.tag[0]=="/",q=!!c[e.tag],p=a?e.tag.substring(1):e.tag,y=c[p];e.tag!="/switch"&&(e.indent+=((a||y&&y.reduceIndent)&&V!="switch"?1:2)*l.indentUnit),e.soyState.push("tag");var w=!1;if(y){if(a||y.soyState&&e.soyState.push(y.soyState),!y.noEndTag&&(q||!a))e.context=new g(e.context,e.tag,y.variableScope?e.variables:null);else if(a){var K=p=="extern"&&e.context&&e.context.tag=="export";if(!e.context||e.context.tag!=p&&!K)w=!0;else if(e.context){if(e.context.kind){e.localStates.pop();var h=f(e.localStates);h.mode.indent&&(e.indent-=h.mode.indent(h.state,"",""))}x(e)}}}else a&&(w=!0);return(w?"error ":"")+"keyword"}else{if(n.eat("{"))return e.tag="print",e.indent+=2*l.indentUnit,e.soyState.push("tag"),"keyword";if(!e.context&&n.sol()&&n.match(/import\b/))return e.soyState.push("import"),e.indent+=2*l.indentUnit,"keyword";if(t=n.match("<{"))return e.soyState.push("template-call-expression"),e.indent+=2*l.indentUnit,e.soyState.push("tag"),"keyword";if(t=n.match("</>"))return e.indent-=1*l.indentUnit,"keyword"}return T(n,e,/\{|\s+\/\/|\/\*/)},indent:function(n,e,t){var i=n.indent,d=f(n.soyState);if(d=="comment")return r.Pass;if(d=="literal")/^\{\/literal}/.test(e)&&(i-=l.indentUnit);else{if(/^\s*\{\/(template|deltemplate)\b/.test(e))return 0;/^\{(\/|(fallbackmsg|elseif|else|ifempty)\b)/.test(e)&&(i-=l.indentUnit),n.tag!="switch"&&/^\{(case|default)\b/.test(e)&&(i-=l.indentUnit),/^\{\/switch\b/.test(e)&&(i-=l.indentUnit)}var u=f(n.localStates);return i&&u.mode.indent&&(i+=u.mode.indent(u.state,e,t)),i},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"),r.registerHelper("wordChars","soy",/[\w$]/),r.registerHelper("hintWords","soy",Object.keys(c).concat(["css","debugger"])),r.defineMIME("text/x-soy","soy")})})();var D=O.exports,W=F({__proto__:null,default:D},[O.exports]);export{W as s};
|
|
1
|
+
import{y as P}from"./index.dfa694ae.entry.js";import{a as z}from"./htmlmixed.200b6fde.js";function F(m,k){return k.forEach(function(r){r&&typeof r!="string"&&!Array.isArray(r)&&Object.keys(r).forEach(function(o){if(o!=="default"&&!(o in m)){var c=Object.getOwnPropertyDescriptor(r,o);Object.defineProperty(m,o,c.get?c:{enumerable:!0,get:function(){return r[o]}})}})}),Object.freeze(Object.defineProperty(m,Symbol.toStringTag,{value:"Module"}))}var O={exports:{}};(function(m,k){(function(r){r(P.exports,z.exports)})(function(r){var o={noEndTag:!0,soyState:"param-def"},c={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"}},$=Object.keys(c).filter(function(l){return!c[l].noEndTag||c[l].reduceIndent});r.defineMode("soy",function(l){var v=r.getMode(l,"text/plain"),b={html:r.getMode(l,{name:"text/html",multilineTagIndentFactor:2,multilineTagIndentPastTag:!1,allowMissingTagName:!0}),attributes:v,text:v,uri:v,trusted_resource_uri:v,css:r.getMode(l,"text/css"),js:r.getMode(l,{name:"text/javascript",statementIndent:2*l.indentUnit})};function f(n){return n[n.length-1]}function T(n,e,t){if(n.sol()){for(var i=0;i<e.indent&&n.eat(/\s/);i++);if(i)return null}var d=n.string,u=t.exec(d.substr(n.pos));u&&(n.string=d.substr(0,n.pos+u.index));var a=n.hideFirstChars(e.indent,function(){var p=f(e.localStates);return p.mode.token(n,p.state)});return n.string=d,a}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 x(n){!n.context||(n.context.scope&&(n.variables=n.context.scope),n.context=n.context.previousContext)}function E(n,e,t){return _(n,e)?"variable-2":t?"variable":"variable-2 error"}function g(n,e,t){this.previousContext=n,this.tag=e,this.kind=null,this.scope=t}function S(n,e){var t;return n.match(/[[]/)?(e.soyState.push("list-literal"),e.context=new g(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]+)/))?E(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:r.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:r.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 i=/@param\??\s+(\S+)/g,d=n.current(),t;t=i.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(),E(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):S(n,e);case"param-type":var u=n.peek();return"}]=>,".indexOf(u)!=-1?(e.soyState.pop(),null):u=="["?(e.soyState.push("param-type-record"),null):u=="("?(e.soyState.push("param-type-template"),null):u=="<"?(e.soyState.push("param-type-parameter"),null):(t=n.match(/^([\w]+|[?])/))?"type":(n.next(),null);case"param-type-record":var u=n.peek();return u=="]"?(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,x(e),null):n.match(/\bfor\b/)?(e.lookupVariables=!0,e.soyState.push("for-loop"),"keyword"):S(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):S(n,e);case"import":return n.eat(";")?(e.soyState.pop(),e.indent-=2*l.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 a,p;e.tag===void 0?(a=!0,p=""):(a=e.tag[0]=="/",p=a?e.tag.substring(1):e.tag);var y=c[p];if(n.match(/^\/?}/)){var j=n.current()=="/}";return j&&!a&&x(e),e.tag=="/template"||e.tag=="/deltemplate"?(e.variables=s(null,"ij"),e.indent=0):e.indent-=l.indentUnit*(j||$.indexOf(e.tag)==-1?2:1),e.soyState.pop(),"keyword"}else if(n.match(/^([\w?]+)(?==)/)){if(e.context&&e.context.tag==p&&n.current()=="kind"&&(t=n.match(/^="([^"]+)/,!1))){var I=t[1];e.context.kind=I;var U=b[I]||b.html,h=f(e.localStates);h.mode.indent&&(e.indent+=h.mode.indent(h.state,"","")),e.localStates.push({mode:U,state:r.startState(U)})}return"attribute"}return S(n,e);case"template-call-expression":return n.match(/^([\w-?]+)(?==)/)?"attribute":n.eat(">")||n.eat("/>")?(e.soyState.pop(),"keyword"):S(n,e);case"literal":return n.match("{/literal}",!1)?(e.soyState.pop(),this.token(n,e)):T(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+=l.indentUnit,e.soyState.push("literal"),e.context=new g(e.context,"literal",e.variables),"keyword";if(t=n.match(/^\{([/@\\]?\w+\??)(?=$|[\s}]|\/[/*])/)){var V=e.tag;e.tag=t[1];var a=e.tag[0]=="/",q=!!c[e.tag],p=a?e.tag.substring(1):e.tag,y=c[p];e.tag!="/switch"&&(e.indent+=((a||y&&y.reduceIndent)&&V!="switch"?1:2)*l.indentUnit),e.soyState.push("tag");var w=!1;if(y){if(a||y.soyState&&e.soyState.push(y.soyState),!y.noEndTag&&(q||!a))e.context=new g(e.context,e.tag,y.variableScope?e.variables:null);else if(a){var K=p=="extern"&&e.context&&e.context.tag=="export";if(!e.context||e.context.tag!=p&&!K)w=!0;else if(e.context){if(e.context.kind){e.localStates.pop();var h=f(e.localStates);h.mode.indent&&(e.indent-=h.mode.indent(h.state,"",""))}x(e)}}}else a&&(w=!0);return(w?"error ":"")+"keyword"}else{if(n.eat("{"))return e.tag="print",e.indent+=2*l.indentUnit,e.soyState.push("tag"),"keyword";if(!e.context&&n.sol()&&n.match(/import\b/))return e.soyState.push("import"),e.indent+=2*l.indentUnit,"keyword";if(t=n.match("<{"))return e.soyState.push("template-call-expression"),e.indent+=2*l.indentUnit,e.soyState.push("tag"),"keyword";if(t=n.match("</>"))return e.indent-=1*l.indentUnit,"keyword"}return T(n,e,/\{|\s+\/\/|\/\*/)},indent:function(n,e,t){var i=n.indent,d=f(n.soyState);if(d=="comment")return r.Pass;if(d=="literal")/^\{\/literal}/.test(e)&&(i-=l.indentUnit);else{if(/^\s*\{\/(template|deltemplate)\b/.test(e))return 0;/^\{(\/|(fallbackmsg|elseif|else|ifempty)\b)/.test(e)&&(i-=l.indentUnit),n.tag!="switch"&&/^\{(case|default)\b/.test(e)&&(i-=l.indentUnit),/^\{\/switch\b/.test(e)&&(i-=l.indentUnit)}var u=f(n.localStates);return i&&u.mode.indent&&(i+=u.mode.indent(u.state,e,t)),i},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"),r.registerHelper("wordChars","soy",/[\w$]/),r.registerHelper("hintWords","soy",Object.keys(c).concat(["css","debugger"])),r.defineMIME("text/x-soy","soy")})})();var D=O.exports,W=F({__proto__:null,default:D},[O.exports]);export{W as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{y as m}from"./index.
|
|
1
|
+
import{y as m}from"./index.dfa694ae.entry.js";function D(l,d){return d.forEach(function(i){i&&typeof i!="string"&&!Array.isArray(i)&&Object.keys(i).forEach(function(u){if(u!=="default"&&!(u in l)){var a=Object.getOwnPropertyDescriptor(i,u);Object.defineProperty(l,u,a.get?a:{enumerable:!0,get:function(){return i[u]}})}})}),Object.freeze(Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}))}var g={exports:{}};(function(l,d){(function(i){i(m.exports)})(function(i){i.defineMode("sparql",function(u){var a=u.indentUnit,o;function x(e){return new RegExp("^(?:"+e.join("|")+")$","i")}var y=x(["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"]),v=x(["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"]),s=/[*+\-<>=&|\^\/!\?]/;function F(e,n){var t=e.next();if(o=null,t=="$"||t=="?")return t=="?"&&e.match(/\s/,!1)?"operator":(e.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=="<"&&!e.match(/^[\s\u00a0=]/,!1))return e.match(/^[^\s\u00a0>]*>?/),"atom";if(t=='"'||t=="'")return n.tokenize=b(t),n.tokenize(e,n);if(/[{}\(\),\.;\[\]]/.test(t))return o=t,"bracket";if(t=="#")return e.skipToEnd(),"comment";if(t==="^")return t=e.peek(),t==="^"?e.eat("^"):e.eatWhile(s),"operator";if(s.test(t))return e.eatWhile(s),"operator";if(t==":")return h(e),"atom";if(t=="@")return e.eatWhile(/[a-z\d\-]/i),"meta";if(e.eatWhile(/[_\w\d]/),e.eat(":"))return h(e),"atom";var r=e.current();return y.test(r)?"builtin":v.test(r)?"keyword":"variable"}function h(e){e.match(/(\.(?=[\w_\-\\%])|[:\w_-]|\\[-\\_~.!$&'()*+,;=/?#@%]|%[a-f\d][a-f\d])+/i)}function b(e){return function(n,t){for(var r=!1,c;(c=n.next())!=null;){if(c==e&&!r){t.tokenize=F;break}r=!r&&c=="\\"}return"string"}}function f(e,n,t){e.context={prev:e.context,indent:e.indent,col:t,type:n}}function p(e){e.indent=e.context.indent,e.context=e.context.prev}return{startState:function(){return{tokenize:F,context:null,indent:0,col:0}},token:function(e,n){if(e.sol()&&(n.context&&n.context.align==null&&(n.context.align=!1),n.indent=e.indentation()),e.eatSpace())return null;var t=n.tokenize(e,n);if(t!="comment"&&n.context&&n.context.align==null&&n.context.type!="pattern"&&(n.context.align=!0),o=="(")f(n,")",e.column());else if(o=="[")f(n,"]",e.column());else if(o=="{")f(n,"}",e.column());else if(/[\]\}\)]/.test(o)){for(;n.context&&n.context.type=="pattern";)p(n);n.context&&o==n.context.type&&(p(n),o=="}"&&n.context&&n.context.type=="pattern"&&p(n))}else o=="."&&n.context&&n.context.type=="pattern"?p(n):/atom|string|variable/.test(t)&&n.context&&(/[\}\]]/.test(n.context.type)?f(n,"pattern",e.column()):n.context.type=="pattern"&&!n.context.align&&(n.context.align=!0,n.context.col=e.column()));return t},indent:function(e,n){var t=n&&n.charAt(0),r=e.context;if(/[\]\}]/.test(t))for(;r&&r.type=="pattern";)r=r.prev;var c=r&&t==r.type;return r?r.type=="pattern"?r.col:r.align?r.col+(c?0:1):r.indent+(c?0:a):0},lineComment:"#"}}),i.defineMIME("application/sparql-query","sparql")})})();var _=g.exports,w=D({__proto__:null,default:_},[g.exports]);export{w as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{y as o}from"./index.
|
|
1
|
+
import{y as o}from"./index.dfa694ae.entry.js";function u(n,c){return c.forEach(function(t){t&&typeof t!="string"&&!Array.isArray(t)&&Object.keys(t).forEach(function(e){if(e!=="default"&&!(e in n)){var r=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(n,e,r.get?r:{enumerable:!0,get:function(){return t[e]}})}})}),Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}var a={exports:{}};(function(n,c){(function(t){t(o.exports)})(function(t){t.defineMode("spreadsheet",function(){return{startState:function(){return{stringType:null,stack:[]}},token:function(e,r){if(!!e){switch(r.stack.length===0&&(e.peek()=='"'||e.peek()=="'")&&(r.stringType=e.peek(),e.next(),r.stack.unshift("string")),r.stack[0]){case"string":for(;r.stack[0]==="string"&&!e.eol();)e.peek()===r.stringType?(e.next(),r.stack.shift()):e.peek()==="\\"?(e.next(),e.next()):e.match(/^.[^\\\"\']*/);return"string";case"characterClass":for(;r.stack[0]==="characterClass"&&!e.eol();)e.match(/^[^\]\\]+/)||e.match(/^\\./)||r.stack.shift();return"operator"}var i=e.peek();switch(i){case"[":return e.next(),r.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(i)!=-1?(e.next(),"bracket"):(e.eatSpace()||e.next(),null)}}}}),t.defineMIME("text/x-spreadsheet","spreadsheet")})})();var s=a.exports,p=u({__proto__:null,default:s},[a.exports]);export{p as s};
|