@glodon-aiot/react-components 3.3.0-beta.15 → 3.3.0-beta.17
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/es/_virtual/_commonjsHelpers.mjs +8 -0
- package/dist/es/_virtual/index.mjs +4 -0
- package/dist/es/_virtual/index2.mjs +4 -0
- package/dist/es/_virtual/index3.mjs +4 -0
- package/dist/es/_virtual/lib.mjs +4 -0
- package/dist/es/_virtual/prism-core.mjs +4 -0
- package/dist/es/_virtual/types.mjs +4 -0
- package/dist/es/_virtual/ua-parser.min.mjs +4 -0
- package/dist/es/components/Copy/index.mjs +44 -0
- package/dist/es/components/Copy/style.less.mjs +4 -0
- package/dist/es/components/Markdown/ATag/index.mjs +47 -0
- package/dist/es/components/Markdown/Code/index.mjs +69 -0
- package/dist/es/components/Markdown/Image/index.mjs +60 -0
- package/dist/es/components/Markdown/Video/index.mjs +22 -0
- package/dist/es/components/Markdown/index.mjs +75 -0
- package/dist/es/components/Markdown/style.less.mjs +4 -0
- package/dist/es/index.mjs +30 -25
- package/dist/es/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.mjs +9 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.mjs +8 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/defineProperty.mjs +12 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/extends.mjs +13 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/iterableToArray.mjs +7 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.mjs +7 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.mjs +15 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.mjs +15 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/toConsumableArray.mjs +10 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/toPrimitive.mjs +16 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/toPropertyKey.mjs +9 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/typeof.mjs +11 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.mjs +12 -0
- package/dist/es/node_modules/@react-spring/animated/dist/react-spring-animated.esm.mjs +201 -0
- package/dist/es/node_modules/@react-spring/core/dist/react-spring-core.esm.mjs +1087 -0
- package/dist/es/node_modules/@react-spring/rafz/dist/react-spring-rafz.esm.mjs +104 -0
- package/dist/es/node_modules/@react-spring/shared/dist/react-spring-shared.esm.mjs +568 -0
- package/dist/es/node_modules/@react-spring/web/dist/react-spring-web.esm.mjs +158 -0
- package/dist/es/node_modules/@use-gesture/core/dist/actions-fe213e88.esm.mjs +908 -0
- package/dist/es/node_modules/@use-gesture/core/dist/maths-0ab39ae9.esm.mjs +35 -0
- package/dist/es/node_modules/@use-gesture/core/dist/use-gesture-core.esm.mjs +242 -0
- package/dist/es/node_modules/@use-gesture/react/dist/use-gesture-react.esm.mjs +33 -0
- package/dist/es/node_modules/antd-mobile/es/components/config-provider/config-provider.mjs +20 -0
- package/dist/es/node_modules/antd-mobile/es/components/image-viewer/image-viewer.css.mjs +4 -0
- package/dist/es/node_modules/antd-mobile/es/components/image-viewer/image-viewer.mjs +78 -0
- package/dist/es/node_modules/antd-mobile/es/components/image-viewer/index.mjs +14 -0
- package/dist/es/node_modules/antd-mobile/es/components/image-viewer/methods.mjs +34 -0
- package/dist/es/node_modules/antd-mobile/es/components/image-viewer/slide.mjs +178 -0
- package/dist/es/node_modules/antd-mobile/es/components/image-viewer/slides.mjs +83 -0
- package/dist/es/node_modules/antd-mobile/es/components/mask/index.mjs +5 -0
- package/dist/es/node_modules/antd-mobile/es/components/mask/mask.css.mjs +4 -0
- package/dist/es/node_modules/antd-mobile/es/components/mask/mask.mjs +84 -0
- package/dist/es/node_modules/antd-mobile/es/components/safe-area/index.mjs +5 -0
- package/dist/es/node_modules/antd-mobile/es/components/safe-area/safe-area.css.mjs +4 -0
- package/dist/es/node_modules/antd-mobile/es/components/safe-area/safe-area.mjs +9 -0
- package/dist/es/node_modules/antd-mobile/es/global/global.css.mjs +4 -0
- package/dist/es/node_modules/antd-mobile/es/global/index.mjs +4 -0
- package/dist/es/node_modules/antd-mobile/es/locales/zh-CN.mjs +141 -0
- package/dist/es/node_modules/antd-mobile/es/utils/attach-properties-to-component.mjs +9 -0
- package/dist/es/node_modules/antd-mobile/es/utils/bound.mjs +7 -0
- package/dist/es/node_modules/antd-mobile/es/utils/can-use-dom.mjs +4 -0
- package/dist/es/node_modules/antd-mobile/es/utils/convert-px.mjs +11 -0
- package/dist/es/node_modules/antd-mobile/es/utils/dev-log.mjs +7 -0
- package/dist/es/node_modules/antd-mobile/es/utils/get-container.mjs +6 -0
- package/dist/es/node_modules/antd-mobile/es/utils/get-scroll-parent.mjs +22 -0
- package/dist/es/node_modules/antd-mobile/es/utils/is-dev.mjs +4 -0
- package/dist/es/node_modules/antd-mobile/es/utils/matrix.mjs +11 -0
- package/dist/es/node_modules/antd-mobile/es/utils/native-props.mjs +12 -0
- package/dist/es/node_modules/antd-mobile/es/utils/render-imperatively.mjs +47 -0
- package/dist/es/node_modules/antd-mobile/es/utils/render-to-body.mjs +12 -0
- package/dist/es/node_modules/antd-mobile/es/utils/render-to-container.mjs +13 -0
- package/dist/es/node_modules/antd-mobile/es/utils/render.mjs +52 -0
- package/dist/es/node_modules/antd-mobile/es/utils/rubberband.mjs +11 -0
- package/dist/es/node_modules/antd-mobile/es/utils/should-render.mjs +10 -0
- package/dist/es/node_modules/antd-mobile/es/utils/supports-passive.mjs +15 -0
- package/dist/es/node_modules/antd-mobile/es/utils/use-drag-and-pinch.mjs +6 -0
- package/dist/es/node_modules/antd-mobile/es/utils/use-initialized.mjs +8 -0
- package/dist/es/node_modules/antd-mobile/es/utils/use-lock-scroll.mjs +54 -0
- package/dist/es/node_modules/antd-mobile/es/utils/use-touch.mjs +32 -0
- package/dist/es/node_modules/antd-mobile/es/utils/with-default-props.mjs +11 -0
- package/dist/es/node_modules/antd-mobile/es/utils/with-stop-propagation.mjs +19 -0
- package/dist/es/node_modules/character-reference-invalid/index.json.mjs +33 -0
- package/dist/es/node_modules/classnames/index.mjs +42 -0
- package/dist/es/node_modules/hast-util-parse-selector/index.mjs +14 -0
- package/dist/es/node_modules/is-alphabetical/index.mjs +8 -0
- package/dist/es/node_modules/is-alphanumerical/index.mjs +9 -0
- package/dist/es/node_modules/is-decimal/index.mjs +8 -0
- package/dist/es/node_modules/is-hexadecimal/index.mjs +8 -0
- package/dist/es/node_modules/parse-entities/decode-entity.browser.mjs +8 -0
- package/dist/es/node_modules/parse-entities/index.mjs +83 -0
- package/dist/es/node_modules/parse-entities/node_modules/character-entities-legacy/index.json.mjs +217 -0
- package/dist/es/node_modules/property-information/find.mjs +25 -0
- package/dist/es/node_modules/property-information/html.mjs +10 -0
- package/dist/es/node_modules/property-information/lib/aria.mjs +63 -0
- package/dist/es/node_modules/property-information/lib/html.mjs +354 -0
- package/dist/es/node_modules/property-information/lib/util/case-insensitive-transform.mjs +8 -0
- package/dist/es/node_modules/property-information/lib/util/case-sensitive-transform.mjs +7 -0
- package/dist/es/node_modules/property-information/lib/util/create.mjs +13 -0
- package/dist/es/node_modules/property-information/lib/util/defined-info.mjs +18 -0
- package/dist/es/node_modules/property-information/lib/util/info.mjs +19 -0
- package/dist/es/node_modules/property-information/lib/util/merge.mjs +11 -0
- package/dist/es/node_modules/property-information/lib/util/schema.mjs +10 -0
- package/dist/es/node_modules/property-information/lib/util/types.mjs +15 -0
- package/dist/es/node_modules/property-information/lib/xlink.mjs +20 -0
- package/dist/es/node_modules/property-information/lib/xml.mjs +16 -0
- package/dist/es/node_modules/property-information/lib/xmlns.mjs +16 -0
- package/dist/es/node_modules/property-information/normalize.mjs +7 -0
- package/dist/es/node_modules/react-device-detect/dist/lib.mjs +723 -0
- package/dist/es/node_modules/react-syntax-highlighter/dist/esm/checkForListedLanguage.mjs +7 -0
- package/dist/es/node_modules/react-syntax-highlighter/dist/esm/create-element.mjs +101 -0
- package/dist/es/node_modules/react-syntax-highlighter/dist/esm/highlight.mjs +283 -0
- package/dist/es/node_modules/react-syntax-highlighter/dist/esm/languages/prism/supported-languages.mjs +4 -0
- package/dist/es/node_modules/react-syntax-highlighter/dist/esm/prism.mjs +10 -0
- package/dist/es/node_modules/react-syntax-highlighter/dist/esm/styles/prism/prism.mjs +195 -0
- package/dist/es/node_modules/refractor/core.mjs +111 -0
- package/dist/es/node_modules/refractor/index.mjs +553 -0
- package/dist/es/node_modules/refractor/lang/abap.mjs +60 -0
- package/dist/es/node_modules/refractor/lang/abnf.mjs +63 -0
- package/dist/es/node_modules/refractor/lang/actionscript.mjs +22 -0
- package/dist/es/node_modules/refractor/lang/ada.mjs +28 -0
- package/dist/es/node_modules/refractor/lang/agda.mjs +35 -0
- package/dist/es/node_modules/refractor/lang/al.mjs +35 -0
- package/dist/es/node_modules/refractor/lang/antlr4.mjs +72 -0
- package/dist/es/node_modules/refractor/lang/apacheconf.mjs +59 -0
- package/dist/es/node_modules/refractor/lang/apex.mjs +69 -0
- package/dist/es/node_modules/refractor/lang/apl.mjs +44 -0
- package/dist/es/node_modules/refractor/lang/applescript.mjs +26 -0
- package/dist/es/node_modules/refractor/lang/aql.mjs +57 -0
- package/dist/es/node_modules/refractor/lang/arduino.mjs +20 -0
- package/dist/es/node_modules/refractor/lang/arff.mjs +22 -0
- package/dist/es/node_modules/refractor/lang/asciidoc.mjs +208 -0
- package/dist/es/node_modules/refractor/lang/asm6502.mjs +41 -0
- package/dist/es/node_modules/refractor/lang/asmatmel.mjs +53 -0
- package/dist/es/node_modules/refractor/lang/aspnet.mjs +53 -0
- package/dist/es/node_modules/refractor/lang/autohotkey.mjs +40 -0
- package/dist/es/node_modules/refractor/lang/autoit.mjs +43 -0
- package/dist/es/node_modules/refractor/lang/avisynth.mjs +167 -0
- package/dist/es/node_modules/refractor/lang/avro-idl.mjs +50 -0
- package/dist/es/node_modules/refractor/lang/bash.mjs +206 -0
- package/dist/es/node_modules/refractor/lang/basic.mjs +29 -0
- package/dist/es/node_modules/refractor/lang/batch.mjs +95 -0
- package/dist/es/node_modules/refractor/lang/bbcode.mjs +36 -0
- package/dist/es/node_modules/refractor/lang/bicep.mjs +72 -0
- package/dist/es/node_modules/refractor/lang/birb.mjs +32 -0
- package/dist/es/node_modules/refractor/lang/bison.mjs +52 -0
- package/dist/es/node_modules/refractor/lang/bnf.mjs +31 -0
- package/dist/es/node_modules/refractor/lang/brainfuck.mjs +32 -0
- package/dist/es/node_modules/refractor/lang/brightscript.mjs +55 -0
- package/dist/es/node_modules/refractor/lang/bro.mjs +39 -0
- package/dist/es/node_modules/refractor/lang/bsl.mjs +77 -0
- package/dist/es/node_modules/refractor/lang/c.mjs +78 -0
- package/dist/es/node_modules/refractor/lang/cfscript.mjs +44 -0
- package/dist/es/node_modules/refractor/lang/chaiscript.mjs +65 -0
- package/dist/es/node_modules/refractor/lang/cil.mjs +31 -0
- package/dist/es/node_modules/refractor/lang/clike.mjs +36 -0
- package/dist/es/node_modules/refractor/lang/clojure.mjs +42 -0
- package/dist/es/node_modules/refractor/lang/cmake.mjs +41 -0
- package/dist/es/node_modules/refractor/lang/cobol.mjs +58 -0
- package/dist/es/node_modules/refractor/lang/coffeescript.mjs +86 -0
- package/dist/es/node_modules/refractor/lang/concurnas.mjs +69 -0
- package/dist/es/node_modules/refractor/lang/coq.mjs +52 -0
- package/dist/es/node_modules/refractor/lang/cpp.mjs +98 -0
- package/dist/es/node_modules/refractor/lang/crystal.mjs +63 -0
- package/dist/es/node_modules/refractor/lang/csharp.mjs +277 -0
- package/dist/es/node_modules/refractor/lang/cshtml.mjs +104 -0
- package/dist/es/node_modules/refractor/lang/csp.mjs +61 -0
- package/dist/es/node_modules/refractor/lang/css-extras.mjs +109 -0
- package/dist/es/node_modules/refractor/lang/css.mjs +63 -0
- package/dist/es/node_modules/refractor/lang/csv.mjs +16 -0
- package/dist/es/node_modules/refractor/lang/cypher.mjs +44 -0
- package/dist/es/node_modules/refractor/lang/d.mjs +77 -0
- package/dist/es/node_modules/refractor/lang/dart.mjs +72 -0
- package/dist/es/node_modules/refractor/lang/dataweave.mjs +49 -0
- package/dist/es/node_modules/refractor/lang/dax.mjs +39 -0
- package/dist/es/node_modules/refractor/lang/dhall.mjs +74 -0
- package/dist/es/node_modules/refractor/lang/diff.mjs +54 -0
- package/dist/es/node_modules/refractor/lang/django.mjs +60 -0
- package/dist/es/node_modules/refractor/lang/dns-zone-file.mjs +40 -0
- package/dist/es/node_modules/refractor/lang/docker.mjs +83 -0
- package/dist/es/node_modules/refractor/lang/dot.mjs +75 -0
- package/dist/es/node_modules/refractor/lang/ebnf.mjs +32 -0
- package/dist/es/node_modules/refractor/lang/editorconfig.mjs +39 -0
- package/dist/es/node_modules/refractor/lang/eiffel.mjs +46 -0
- package/dist/es/node_modules/refractor/lang/ejs.mjs +33 -0
- package/dist/es/node_modules/refractor/lang/elixir.mjs +100 -0
- package/dist/es/node_modules/refractor/lang/elm.mjs +54 -0
- package/dist/es/node_modules/refractor/lang/erb.mjs +35 -0
- package/dist/es/node_modules/refractor/lang/erlang.mjs +47 -0
- package/dist/es/node_modules/refractor/lang/etlua.mjs +33 -0
- package/dist/es/node_modules/refractor/lang/excel-formula.mjs +74 -0
- package/dist/es/node_modules/refractor/lang/factor.mjs +569 -0
- package/dist/es/node_modules/refractor/lang/false.mjs +39 -0
- package/dist/es/node_modules/refractor/lang/firestore-security-rules.mjs +43 -0
- package/dist/es/node_modules/refractor/lang/flow.mjs +31 -0
- package/dist/es/node_modules/refractor/lang/fortran.mjs +49 -0
- package/dist/es/node_modules/refractor/lang/fsharp.mjs +76 -0
- package/dist/es/node_modules/refractor/lang/ftl.mjs +102 -0
- package/dist/es/node_modules/refractor/lang/gap.mjs +57 -0
- package/dist/es/node_modules/refractor/lang/gcode.mjs +28 -0
- package/dist/es/node_modules/refractor/lang/gdscript.mjs +36 -0
- package/dist/es/node_modules/refractor/lang/gedcom.mjs +40 -0
- package/dist/es/node_modules/refractor/lang/gherkin.mjs +94 -0
- package/dist/es/node_modules/refractor/lang/git.mjs +75 -0
- package/dist/es/node_modules/refractor/lang/glsl.mjs +18 -0
- package/dist/es/node_modules/refractor/lang/gml.mjs +19 -0
- package/dist/es/node_modules/refractor/lang/gn.mjs +55 -0
- package/dist/es/node_modules/refractor/lang/go-module.mjs +34 -0
- package/dist/es/node_modules/refractor/lang/go.mjs +36 -0
- package/dist/es/node_modules/refractor/lang/graphql.mjs +133 -0
- package/dist/es/node_modules/refractor/lang/groovy.mjs +58 -0
- package/dist/es/node_modules/refractor/lang/haml.mjs +132 -0
- package/dist/es/node_modules/refractor/lang/handlebars.mjs +46 -0
- package/dist/es/node_modules/refractor/lang/haskell.mjs +76 -0
- package/dist/es/node_modules/refractor/lang/haxe.mjs +84 -0
- package/dist/es/node_modules/refractor/lang/hcl.mjs +68 -0
- package/dist/es/node_modules/refractor/lang/hlsl.mjs +31 -0
- package/dist/es/node_modules/refractor/lang/hoon.mjs +26 -0
- package/dist/es/node_modules/refractor/lang/hpkp.mjs +20 -0
- package/dist/es/node_modules/refractor/lang/hsts.mjs +20 -0
- package/dist/es/node_modules/refractor/lang/http.mjs +126 -0
- package/dist/es/node_modules/refractor/lang/ichigojam.mjs +25 -0
- package/dist/es/node_modules/refractor/lang/icon.mjs +32 -0
- package/dist/es/node_modules/refractor/lang/icu-message-format.mjs +136 -0
- package/dist/es/node_modules/refractor/lang/idris.mjs +30 -0
- package/dist/es/node_modules/refractor/lang/iecst.mjs +38 -0
- package/dist/es/node_modules/refractor/lang/ignore.mjs +30 -0
- package/dist/es/node_modules/refractor/lang/inform7.mjs +69 -0
- package/dist/es/node_modules/refractor/lang/ini.mjs +52 -0
- package/dist/es/node_modules/refractor/lang/io.mjs +34 -0
- package/dist/es/node_modules/refractor/lang/j.mjs +40 -0
- package/dist/es/node_modules/refractor/lang/java.mjs +86 -0
- package/dist/es/node_modules/refractor/lang/javadoc.mjs +89 -0
- package/dist/es/node_modules/refractor/lang/javadoclike.mjs +60 -0
- package/dist/es/node_modules/refractor/lang/javascript.mjs +114 -0
- package/dist/es/node_modules/refractor/lang/javastacktrace.mjs +146 -0
- package/dist/es/node_modules/refractor/lang/jexl.mjs +26 -0
- package/dist/es/node_modules/refractor/lang/jolie.mjs +51 -0
- package/dist/es/node_modules/refractor/lang/jq.mjs +71 -0
- package/dist/es/node_modules/refractor/lang/js-extras.mjs +104 -0
- package/dist/es/node_modules/refractor/lang/js-templates.mjs +153 -0
- package/dist/es/node_modules/refractor/lang/jsdoc.mjs +83 -0
- package/dist/es/node_modules/refractor/lang/json.mjs +36 -0
- package/dist/es/node_modules/refractor/lang/json5.mjs +32 -0
- package/dist/es/node_modules/refractor/lang/jsonp.mjs +20 -0
- package/dist/es/node_modules/refractor/lang/jsstacktrace.mjs +53 -0
- package/dist/es/node_modules/refractor/lang/jsx.mjs +61 -0
- package/dist/es/node_modules/refractor/lang/julia.mjs +47 -0
- package/dist/es/node_modules/refractor/lang/keepalived.mjs +54 -0
- package/dist/es/node_modules/refractor/lang/keyman.mjs +55 -0
- package/dist/es/node_modules/refractor/lang/kotlin.mjs +81 -0
- package/dist/es/node_modules/refractor/lang/kumir.mjs +85 -0
- package/dist/es/node_modules/refractor/lang/kusto.mjs +47 -0
- package/dist/es/node_modules/refractor/lang/latex.mjs +68 -0
- package/dist/es/node_modules/refractor/lang/latte.mjs +68 -0
- package/dist/es/node_modules/refractor/lang/less.mjs +51 -0
- package/dist/es/node_modules/refractor/lang/lilypond.mjs +77 -0
- package/dist/es/node_modules/refractor/lang/liquid.mjs +68 -0
- package/dist/es/node_modules/refractor/lang/lisp.mjs +158 -0
- package/dist/es/node_modules/refractor/lang/livescript.mjs +119 -0
- package/dist/es/node_modules/refractor/lang/llvm.mjs +31 -0
- package/dist/es/node_modules/refractor/lang/log.mjs +103 -0
- package/dist/es/node_modules/refractor/lang/lolcode.mjs +57 -0
- package/dist/es/node_modules/refractor/lang/lua.mjs +29 -0
- package/dist/es/node_modules/refractor/lang/magma.mjs +42 -0
- package/dist/es/node_modules/refractor/lang/makefile.mjs +42 -0
- package/dist/es/node_modules/refractor/lang/markdown.mjs +306 -0
- package/dist/es/node_modules/refractor/lang/markup-templating.mjs +74 -0
- package/dist/es/node_modules/refractor/lang/markup.mjs +154 -0
- package/dist/es/node_modules/refractor/lang/matlab.mjs +25 -0
- package/dist/es/node_modules/refractor/lang/maxscript.mjs +70 -0
- package/dist/es/node_modules/refractor/lang/mel.mjs +49 -0
- package/dist/es/node_modules/refractor/lang/mermaid.mjs +116 -0
- package/dist/es/node_modules/refractor/lang/mizar.mjs +24 -0
- package/dist/es/node_modules/refractor/lang/mongodb.mjs +287 -0
- package/dist/es/node_modules/refractor/lang/monkey.mjs +40 -0
- package/dist/es/node_modules/refractor/lang/moonscript.mjs +63 -0
- package/dist/es/node_modules/refractor/lang/n1ql.mjs +34 -0
- package/dist/es/node_modules/refractor/lang/n4js.mjs +22 -0
- package/dist/es/node_modules/refractor/lang/nand2tetris-hdl.mjs +21 -0
- package/dist/es/node_modules/refractor/lang/naniscript.mjs +140 -0
- package/dist/es/node_modules/refractor/lang/nasm.mjs +31 -0
- package/dist/es/node_modules/refractor/lang/neon.mjs +52 -0
- package/dist/es/node_modules/refractor/lang/nevod.mjs +125 -0
- package/dist/es/node_modules/refractor/lang/nginx.mjs +61 -0
- package/dist/es/node_modules/refractor/lang/nim.mjs +54 -0
- package/dist/es/node_modules/refractor/lang/nix.mjs +45 -0
- package/dist/es/node_modules/refractor/lang/nsis.mjs +37 -0
- package/dist/es/node_modules/refractor/lang/objectivec.mjs +23 -0
- package/dist/es/node_modules/refractor/lang/ocaml.mjs +64 -0
- package/dist/es/node_modules/refractor/lang/opencl.mjs +62 -0
- package/dist/es/node_modules/refractor/lang/openqasm.mjs +29 -0
- package/dist/es/node_modules/refractor/lang/oz.mjs +37 -0
- package/dist/es/node_modules/refractor/lang/parigp.mjs +36 -0
- package/dist/es/node_modules/refractor/lang/parser.mjs +80 -0
- package/dist/es/node_modules/refractor/lang/pascal.mjs +66 -0
- package/dist/es/node_modules/refractor/lang/pascaligo.mjs +70 -0
- package/dist/es/node_modules/refractor/lang/pcaxis.mjs +63 -0
- package/dist/es/node_modules/refractor/lang/peoplecode.mjs +51 -0
- package/dist/es/node_modules/refractor/lang/perl.mjs +134 -0
- package/dist/es/node_modules/refractor/lang/php-extras.mjs +29 -0
- package/dist/es/node_modules/refractor/lang/php.mjs +301 -0
- package/dist/es/node_modules/refractor/lang/phpdoc.mjs +34 -0
- package/dist/es/node_modules/refractor/lang/plsql.mjs +30 -0
- package/dist/es/node_modules/refractor/lang/powerquery.mjs +44 -0
- package/dist/es/node_modules/refractor/lang/powershell.mjs +58 -0
- package/dist/es/node_modules/refractor/lang/processing.mjs +25 -0
- package/dist/es/node_modules/refractor/lang/prolog.mjs +31 -0
- package/dist/es/node_modules/refractor/lang/promql.mjs +74 -0
- package/dist/es/node_modules/refractor/lang/properties.mjs +21 -0
- package/dist/es/node_modules/refractor/lang/protobuf.mjs +47 -0
- package/dist/es/node_modules/refractor/lang/psl.mjs +47 -0
- package/dist/es/node_modules/refractor/lang/pug.mjs +173 -0
- package/dist/es/node_modules/refractor/lang/puppet.mjs +140 -0
- package/dist/es/node_modules/refractor/lang/pure.mjs +72 -0
- package/dist/es/node_modules/refractor/lang/purebasic.mjs +63 -0
- package/dist/es/node_modules/refractor/lang/purescript.mjs +41 -0
- package/dist/es/node_modules/refractor/lang/python.mjs +73 -0
- package/dist/es/node_modules/refractor/lang/q.mjs +62 -0
- package/dist/es/node_modules/refractor/lang/qml.mjs +67 -0
- package/dist/es/node_modules/refractor/lang/qore.mjs +32 -0
- package/dist/es/node_modules/refractor/lang/qsharp.mjs +93 -0
- package/dist/es/node_modules/refractor/lang/r.mjs +31 -0
- package/dist/es/node_modules/refractor/lang/racket.mjs +29 -0
- package/dist/es/node_modules/refractor/lang/reason.mjs +33 -0
- package/dist/es/node_modules/refractor/lang/regex.mjs +97 -0
- package/dist/es/node_modules/refractor/lang/rego.mjs +37 -0
- package/dist/es/node_modules/refractor/lang/renpy.mjs +30 -0
- package/dist/es/node_modules/refractor/lang/rest.mjs +199 -0
- package/dist/es/node_modules/refractor/lang/rip.mjs +41 -0
- package/dist/es/node_modules/refractor/lang/roboconf.mjs +39 -0
- package/dist/es/node_modules/refractor/lang/robotframework.mjs +95 -0
- package/dist/es/node_modules/refractor/lang/ruby.mjs +159 -0
- package/dist/es/node_modules/refractor/lang/rust.mjs +122 -0
- package/dist/es/node_modules/refractor/lang/sas.mjs +305 -0
- package/dist/es/node_modules/refractor/lang/sass.mjs +69 -0
- package/dist/es/node_modules/refractor/lang/scala.mjs +59 -0
- package/dist/es/node_modules/refractor/lang/scheme.mjs +120 -0
- package/dist/es/node_modules/refractor/lang/scss.mjs +82 -0
- package/dist/es/node_modules/refractor/lang/shell-session.mjs +69 -0
- package/dist/es/node_modules/refractor/lang/smali.mjs +84 -0
- package/dist/es/node_modules/refractor/lang/smalltalk.mjs +47 -0
- package/dist/es/node_modules/refractor/lang/smarty.mjs +106 -0
- package/dist/es/node_modules/refractor/lang/sml.mjs +64 -0
- package/dist/es/node_modules/refractor/lang/solidity.mjs +28 -0
- package/dist/es/node_modules/refractor/lang/solution-file.mjs +58 -0
- package/dist/es/node_modules/refractor/lang/soy.mjs +77 -0
- package/dist/es/node_modules/refractor/lang/sparql.mjs +24 -0
- package/dist/es/node_modules/refractor/lang/splunk-spl.mjs +36 -0
- package/dist/es/node_modules/refractor/lang/sqf.mjs +42 -0
- package/dist/es/node_modules/refractor/lang/sql.mjs +42 -0
- package/dist/es/node_modules/refractor/lang/squirrel.mjs +50 -0
- package/dist/es/node_modules/refractor/lang/stan.mjs +63 -0
- package/dist/es/node_modules/refractor/lang/stylus.mjs +141 -0
- package/dist/es/node_modules/refractor/lang/swift.mjs +125 -0
- package/dist/es/node_modules/refractor/lang/systemd.mjs +65 -0
- package/dist/es/node_modules/refractor/lang/t4-cs.mjs +17 -0
- package/dist/es/node_modules/refractor/lang/t4-templating.mjs +57 -0
- package/dist/es/node_modules/refractor/lang/t4-vb.mjs +17 -0
- package/dist/es/node_modules/refractor/lang/tap.mjs +35 -0
- package/dist/es/node_modules/refractor/lang/tcl.mjs +51 -0
- package/dist/es/node_modules/refractor/lang/textile.mjs +248 -0
- package/dist/es/node_modules/refractor/lang/toml.mjs +54 -0
- package/dist/es/node_modules/refractor/lang/tremor.mjs +67 -0
- package/dist/es/node_modules/refractor/lang/tsx.mjs +22 -0
- package/dist/es/node_modules/refractor/lang/tt2.mjs +53 -0
- package/dist/es/node_modules/refractor/lang/turtle.mjs +62 -0
- package/dist/es/node_modules/refractor/lang/twig.mjs +48 -0
- package/dist/es/node_modules/refractor/lang/typescript.mjs +57 -0
- package/dist/es/node_modules/refractor/lang/typoscript.mjs +81 -0
- package/dist/es/node_modules/refractor/lang/unrealscript.mjs +50 -0
- package/dist/es/node_modules/refractor/lang/uorazor.mjs +57 -0
- package/dist/es/node_modules/refractor/lang/uri.mjs +92 -0
- package/dist/es/node_modules/refractor/lang/v.mjs +85 -0
- package/dist/es/node_modules/refractor/lang/vala.mjs +87 -0
- package/dist/es/node_modules/refractor/lang/vbnet.mjs +34 -0
- package/dist/es/node_modules/refractor/lang/velocity.mjs +75 -0
- package/dist/es/node_modules/refractor/lang/verilog.mjs +38 -0
- package/dist/es/node_modules/refractor/lang/vhdl.mjs +35 -0
- package/dist/es/node_modules/refractor/lang/vim.mjs +22 -0
- package/dist/es/node_modules/refractor/lang/visual-basic.mjs +38 -0
- package/dist/es/node_modules/refractor/lang/warpscript.mjs +33 -0
- package/dist/es/node_modules/refractor/lang/wasm.mjs +36 -0
- package/dist/es/node_modules/refractor/lang/web-idl.mjs +89 -0
- package/dist/es/node_modules/refractor/lang/wiki.mjs +86 -0
- package/dist/es/node_modules/refractor/lang/wolfram.mjs +37 -0
- package/dist/es/node_modules/refractor/lang/wren.mjs +97 -0
- package/dist/es/node_modules/refractor/lang/xeora.mjs +121 -0
- package/dist/es/node_modules/refractor/lang/xml-doc.mjs +35 -0
- package/dist/es/node_modules/refractor/lang/xojo.mjs +30 -0
- package/dist/es/node_modules/refractor/lang/xquery.mjs +89 -0
- package/dist/es/node_modules/refractor/lang/yaml.mjs +78 -0
- package/dist/es/node_modules/refractor/lang/yang.mjs +32 -0
- package/dist/es/node_modules/refractor/lang/zig.mjs +80 -0
- package/dist/es/node_modules/refractor/node_modules/comma-separated-tokens/index.mjs +16 -0
- package/dist/es/node_modules/refractor/node_modules/hastscript/factory.mjs +77 -0
- package/dist/es/node_modules/refractor/node_modules/hastscript/html.mjs +8 -0
- package/dist/es/node_modules/refractor/node_modules/hastscript/index.mjs +5 -0
- package/dist/es/node_modules/refractor/node_modules/prismjs/components/prism-core.mjs +720 -0
- package/dist/es/node_modules/refractor/node_modules/space-separated-tokens/index.mjs +14 -0
- package/dist/es/node_modules/tslib/tslib.es6.mjs +30 -0
- package/dist/es/node_modules/ua-parser-js/dist/ua-parser.min.mjs +123 -0
- package/dist/es/node_modules/xtend/immutable.mjs +12 -0
- package/dist/es/utils/clipboard.mjs +38 -0
- package/dist/es/utils/markdown/index.mjs +29 -0
- package/dist/lib/index.js +25 -1
- package/dist/src/components/Copy/index.d.ts +5 -0
- package/dist/src/components/Markdown/ATag/index.d.ts +2 -0
- package/dist/src/components/Markdown/Code/index.d.ts +2 -0
- package/dist/src/components/Markdown/Image/index.d.ts +2 -0
- package/dist/src/components/Markdown/Video/index.d.ts +2 -0
- package/dist/src/components/Markdown/index.d.ts +9 -0
- package/dist/src/index.d.ts +2 -0
- package/dist/src/utils/clipboard.d.ts +11 -0
- package/dist/src/utils/markdown/index.d.ts +10 -0
- package/package.json +18 -2
- package/dist/es/style.css +0 -1
- package/dist/lib/style.css +0 -1
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
var l, u;
|
|
2
|
+
function d() {
|
|
3
|
+
if (u)
|
|
4
|
+
return l;
|
|
5
|
+
u = 1, l = o, o.displayName = "asciidoc", o.aliases = ["adoc"];
|
|
6
|
+
function o(c) {
|
|
7
|
+
(function(e) {
|
|
8
|
+
var a = {
|
|
9
|
+
pattern: /(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,
|
|
10
|
+
lookbehind: !0,
|
|
11
|
+
inside: {
|
|
12
|
+
quoted: {
|
|
13
|
+
pattern: /([$`])(?:(?!\1)[^\\]|\\.)*\1/,
|
|
14
|
+
inside: {
|
|
15
|
+
punctuation: /^[$`]|[$`]$/
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
interpreted: {
|
|
19
|
+
pattern: /'(?:[^'\\]|\\.)*'/,
|
|
20
|
+
inside: {
|
|
21
|
+
punctuation: /^'|'$/
|
|
22
|
+
// See rest below
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
string: /"(?:[^"\\]|\\.)*"/,
|
|
26
|
+
variable: /\w+(?==)/,
|
|
27
|
+
punctuation: /^\[|\]$|,/,
|
|
28
|
+
operator: /=/,
|
|
29
|
+
// The negative look-ahead prevents blank matches
|
|
30
|
+
"attr-value": /(?!^\s+$).+/
|
|
31
|
+
}
|
|
32
|
+
}, n = e.languages.asciidoc = {
|
|
33
|
+
"comment-block": {
|
|
34
|
+
pattern: /^(\/{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1/m,
|
|
35
|
+
alias: "comment"
|
|
36
|
+
},
|
|
37
|
+
table: {
|
|
38
|
+
pattern: /^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m,
|
|
39
|
+
inside: {
|
|
40
|
+
specifiers: {
|
|
41
|
+
pattern: /(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/,
|
|
42
|
+
alias: "attr-value"
|
|
43
|
+
},
|
|
44
|
+
punctuation: {
|
|
45
|
+
pattern: /(^|[^\\])[|!]=*/,
|
|
46
|
+
lookbehind: !0
|
|
47
|
+
}
|
|
48
|
+
// See rest below
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"passthrough-block": {
|
|
52
|
+
pattern: /^(\+{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,
|
|
53
|
+
inside: {
|
|
54
|
+
punctuation: /^\++|\++$/
|
|
55
|
+
// See rest below
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
// Literal blocks and listing blocks
|
|
59
|
+
"literal-block": {
|
|
60
|
+
pattern: /^(-{4,}|\.{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,
|
|
61
|
+
inside: {
|
|
62
|
+
punctuation: /^(?:-+|\.+)|(?:-+|\.+)$/
|
|
63
|
+
// See rest below
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
// Sidebar blocks, quote blocks, example blocks and open blocks
|
|
67
|
+
"other-block": {
|
|
68
|
+
pattern: /^(--|\*{4,}|_{4,}|={4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,
|
|
69
|
+
inside: {
|
|
70
|
+
punctuation: /^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/
|
|
71
|
+
// See rest below
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
// list-punctuation and list-label must appear before indented-block
|
|
75
|
+
"list-punctuation": {
|
|
76
|
+
pattern: /(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,
|
|
77
|
+
lookbehind: !0,
|
|
78
|
+
alias: "punctuation"
|
|
79
|
+
},
|
|
80
|
+
"list-label": {
|
|
81
|
+
pattern: /(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,
|
|
82
|
+
lookbehind: !0,
|
|
83
|
+
alias: "symbol"
|
|
84
|
+
},
|
|
85
|
+
"indented-block": {
|
|
86
|
+
pattern: /((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,
|
|
87
|
+
lookbehind: !0
|
|
88
|
+
},
|
|
89
|
+
comment: /^\/\/.*/m,
|
|
90
|
+
title: {
|
|
91
|
+
pattern: /^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m,
|
|
92
|
+
alias: "important",
|
|
93
|
+
inside: {
|
|
94
|
+
punctuation: /^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/
|
|
95
|
+
// See rest below
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"attribute-entry": {
|
|
99
|
+
pattern: /^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,
|
|
100
|
+
alias: "tag"
|
|
101
|
+
},
|
|
102
|
+
attributes: a,
|
|
103
|
+
hr: {
|
|
104
|
+
pattern: /^'{3,}$/m,
|
|
105
|
+
alias: "punctuation"
|
|
106
|
+
},
|
|
107
|
+
"page-break": {
|
|
108
|
+
pattern: /^<{3,}$/m,
|
|
109
|
+
alias: "punctuation"
|
|
110
|
+
},
|
|
111
|
+
admonition: {
|
|
112
|
+
pattern: /^(?:CAUTION|IMPORTANT|NOTE|TIP|WARNING):/m,
|
|
113
|
+
alias: "keyword"
|
|
114
|
+
},
|
|
115
|
+
callout: [{
|
|
116
|
+
pattern: /(^[ \t]*)<?\d*>/m,
|
|
117
|
+
lookbehind: !0,
|
|
118
|
+
alias: "symbol"
|
|
119
|
+
}, {
|
|
120
|
+
pattern: /<\d+>/,
|
|
121
|
+
alias: "symbol"
|
|
122
|
+
}],
|
|
123
|
+
macro: {
|
|
124
|
+
pattern: /\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,
|
|
125
|
+
inside: {
|
|
126
|
+
function: /^[a-z\d-]+(?=:)/,
|
|
127
|
+
punctuation: /^::?/,
|
|
128
|
+
attributes: {
|
|
129
|
+
pattern: /(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,
|
|
130
|
+
inside: a.inside
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
inline: {
|
|
135
|
+
/*
|
|
136
|
+
The initial look-behind prevents the highlighting of escaped quoted text.
|
|
137
|
+
Quoted text can be multi-line but cannot span an empty line.
|
|
138
|
+
All quoted text can have attributes before [foobar, 'foobar', baz="bar"].
|
|
139
|
+
First, we handle the constrained quotes.
|
|
140
|
+
Those must be bounded by non-word chars and cannot have spaces between the delimiter and the first char.
|
|
141
|
+
They are, in order: _emphasis_, ``double quotes'', `single quotes', `monospace`, 'emphasis', *strong*, +monospace+ and #unquoted#
|
|
142
|
+
Then we handle the unconstrained quotes.
|
|
143
|
+
Those do not have the restrictions of the constrained quotes.
|
|
144
|
+
They are, in order: __emphasis__, **strong**, ++monospace++, +++passthrough+++, ##unquoted##, $$passthrough$$, ~subscript~, ^superscript^, {attribute-reference}, [[anchor]], [[[bibliography anchor]]], <<xref>>, (((indexes))) and ((indexes))
|
|
145
|
+
*/
|
|
146
|
+
pattern: /(^|[^\\])(?:(?:\B\[(?:[^\]\\"']|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?:[^`'\s]|\s+\S)+['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"']|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m,
|
|
147
|
+
lookbehind: !0,
|
|
148
|
+
inside: {
|
|
149
|
+
attributes: a,
|
|
150
|
+
url: {
|
|
151
|
+
pattern: /^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,
|
|
152
|
+
inside: {
|
|
153
|
+
punctuation: /^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
"attribute-ref": {
|
|
157
|
+
pattern: /^\{.+\}$/,
|
|
158
|
+
inside: {
|
|
159
|
+
variable: {
|
|
160
|
+
pattern: /(^\{)[a-z\d,+_-]+/,
|
|
161
|
+
lookbehind: !0
|
|
162
|
+
},
|
|
163
|
+
operator: /^[=?!#%@$]|!(?=[:}])/,
|
|
164
|
+
punctuation: /^\{|\}$|::?/
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
italic: {
|
|
168
|
+
pattern: /^(['_])[\s\S]+\1$/,
|
|
169
|
+
inside: {
|
|
170
|
+
punctuation: /^(?:''?|__?)|(?:''?|__?)$/
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
bold: {
|
|
174
|
+
pattern: /^\*[\s\S]+\*$/,
|
|
175
|
+
inside: {
|
|
176
|
+
punctuation: /^\*\*?|\*\*?$/
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
punctuation: /^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
replacement: {
|
|
183
|
+
pattern: /\((?:C|R|TM)\)/,
|
|
184
|
+
alias: "builtin"
|
|
185
|
+
},
|
|
186
|
+
entity: /&#?[\da-z]{1,8};/i,
|
|
187
|
+
"line-continuation": {
|
|
188
|
+
pattern: /(^| )\+$/m,
|
|
189
|
+
lookbehind: !0,
|
|
190
|
+
alias: "punctuation"
|
|
191
|
+
}
|
|
192
|
+
};
|
|
193
|
+
function i(t) {
|
|
194
|
+
t = t.split(" ");
|
|
195
|
+
for (var s = {}, r = 0, p = t.length; r < p; r++)
|
|
196
|
+
s[t[r]] = n[t[r]];
|
|
197
|
+
return s;
|
|
198
|
+
}
|
|
199
|
+
a.inside.interpreted.inside.rest = i("macro inline replacement entity"), n["passthrough-block"].inside.rest = i("macro"), n["literal-block"].inside.rest = i("callout"), n.table.inside.rest = i("comment-block passthrough-block literal-block other-block list-punctuation indented-block comment title attribute-entry attributes hr page-break admonition list-label callout macro inline replacement entity line-continuation"), n["other-block"].inside.rest = i("table list-punctuation indented-block comment attribute-entry attributes hr page-break admonition list-label macro inline replacement entity line-continuation"), n.title.inside.rest = i("macro inline replacement entity"), e.hooks.add("wrap", function(t) {
|
|
200
|
+
t.type === "entity" && (t.attributes.title = t.content.value.replace(/&/, "&"));
|
|
201
|
+
}), e.languages.adoc = e.languages.asciidoc;
|
|
202
|
+
})(c);
|
|
203
|
+
}
|
|
204
|
+
return l;
|
|
205
|
+
}
|
|
206
|
+
export {
|
|
207
|
+
d as __require
|
|
208
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
var e, r;
|
|
2
|
+
function s() {
|
|
3
|
+
if (r)
|
|
4
|
+
return e;
|
|
5
|
+
r = 1, e = a, a.displayName = "asm6502", a.aliases = [];
|
|
6
|
+
function a(t) {
|
|
7
|
+
t.languages.asm6502 = {
|
|
8
|
+
comment: /;.*/,
|
|
9
|
+
directive: {
|
|
10
|
+
pattern: /\.\w+(?= )/,
|
|
11
|
+
alias: "property"
|
|
12
|
+
},
|
|
13
|
+
string: /(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,
|
|
14
|
+
"op-code": {
|
|
15
|
+
pattern: /\b(?:ADC|AND|ASL|BCC|BCS|BEQ|BIT|BMI|BNE|BPL|BRK|BVC|BVS|CLC|CLD|CLI|CLV|CMP|CPX|CPY|DEC|DEX|DEY|EOR|INC|INX|INY|JMP|JSR|LDA|LDX|LDY|LSR|NOP|ORA|PHA|PHP|PLA|PLP|ROL|ROR|RTI|RTS|SBC|SEC|SED|SEI|STA|STX|STY|TAX|TAY|TSX|TXA|TXS|TYA|adc|and|asl|bcc|bcs|beq|bit|bmi|bne|bpl|brk|bvc|bvs|clc|cld|cli|clv|cmp|cpx|cpy|dec|dex|dey|eor|inc|inx|iny|jmp|jsr|lda|ldx|ldy|lsr|nop|ora|pha|php|pla|plp|rol|ror|rti|rts|sbc|sec|sed|sei|sta|stx|sty|tax|tay|tsx|txa|txs|tya)\b/,
|
|
16
|
+
alias: "keyword"
|
|
17
|
+
},
|
|
18
|
+
"hex-number": {
|
|
19
|
+
pattern: /#?\$[\da-f]{1,4}\b/i,
|
|
20
|
+
alias: "number"
|
|
21
|
+
},
|
|
22
|
+
"binary-number": {
|
|
23
|
+
pattern: /#?%[01]+\b/,
|
|
24
|
+
alias: "number"
|
|
25
|
+
},
|
|
26
|
+
"decimal-number": {
|
|
27
|
+
pattern: /#?\b\d+\b/,
|
|
28
|
+
alias: "number"
|
|
29
|
+
},
|
|
30
|
+
register: {
|
|
31
|
+
pattern: /\b[xya]\b/i,
|
|
32
|
+
alias: "variable"
|
|
33
|
+
},
|
|
34
|
+
punctuation: /[(),:]/
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
return e;
|
|
38
|
+
}
|
|
39
|
+
export {
|
|
40
|
+
s as __require
|
|
41
|
+
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
var e, s;
|
|
2
|
+
function b() {
|
|
3
|
+
if (s)
|
|
4
|
+
return e;
|
|
5
|
+
s = 1, e = r, r.displayName = "asmatmel", r.aliases = [];
|
|
6
|
+
function r(a) {
|
|
7
|
+
a.languages.asmatmel = {
|
|
8
|
+
comment: {
|
|
9
|
+
pattern: /;.*/,
|
|
10
|
+
greedy: !0
|
|
11
|
+
},
|
|
12
|
+
string: {
|
|
13
|
+
pattern: /(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,
|
|
14
|
+
greedy: !0
|
|
15
|
+
},
|
|
16
|
+
constant: /\b(?:PORT[A-Z]|DDR[A-Z]|(?:DD|P)[A-Z](?:\d|[0-2]\d|3[01]))\b/,
|
|
17
|
+
directive: {
|
|
18
|
+
pattern: /\.\w+(?= )/,
|
|
19
|
+
alias: "property"
|
|
20
|
+
},
|
|
21
|
+
"r-register": {
|
|
22
|
+
pattern: /\br(?:\d|[12]\d|3[01])\b/,
|
|
23
|
+
alias: "variable"
|
|
24
|
+
},
|
|
25
|
+
"op-code": {
|
|
26
|
+
pattern: /\b(?:ADC|ADD|ADIW|AND|ANDI|ASR|BCLR|BLD|BRBC|BRBS|BRCC|BRCS|BREAK|BREQ|BRGE|BRHC|BRHS|BRID|BRIE|BRLO|BRLT|BRMI|BRNE|BRPL|BRSH|BRTC|BRTS|BRVC|BRVS|BSET|BST|CALL|CBI|CBR|CLC|CLH|CLI|CLN|CLR|CLS|CLT|CLV|CLZ|COM|CP|CPC|CPI|CPSE|DEC|DES|EICALL|EIJMP|ELPM|EOR|FMUL|FMULS|FMULSU|ICALL|IJMP|IN|INC|JMP|LAC|LAS|LAT|LD|LD[A-Za-z0-9]|LPM|LSL|LSR|MOV|MOVW|MUL|MULS|MULSU|NEG|NOP|OR|ORI|OUT|POP|PUSH|RCALL|RET|RETI|RJMP|ROL|ROR|SBC|SBCI|SBI|SBIC|SBIS|SBIW|SBR|SBRC|SBRS|SEC|SEH|SEI|SEN|SER|SES|SET|SEV|SEZ|SLEEP|SPM|ST|ST[A-Z0-9]|SUB|SUBI|SWAP|TST|WDR|XCH|adc|add|adiw|and|andi|asr|bclr|bld|brbc|brbs|brcc|brcs|break|breq|brge|brhc|brhs|brid|brie|brlo|brlt|brmi|brne|brpl|brsh|brtc|brts|brvc|brvs|bset|bst|call|cbi|cbr|clc|clh|cli|cln|clr|cls|clt|clv|clz|com|cp|cpc|cpi|cpse|dec|des|eicall|eijmp|elpm|eor|fmul|fmuls|fmulsu|icall|ijmp|in|inc|jmp|lac|las|lat|ld|ld[a-z0-9]|lpm|lsl|lsr|mov|movw|mul|muls|mulsu|neg|nop|or|ori|out|pop|push|rcall|ret|reti|rjmp|rol|ror|sbc|sbci|sbi|sbic|sbis|sbiw|sbr|sbrc|sbrs|sec|seh|sei|sen|ser|ses|set|sev|sez|sleep|spm|st|st[a-zA-Z0-9]|sub|subi|swap|tst|wdr|xch)\b/,
|
|
27
|
+
alias: "keyword"
|
|
28
|
+
},
|
|
29
|
+
"hex-number": {
|
|
30
|
+
pattern: /#?\$[\da-f]{2,4}\b/i,
|
|
31
|
+
alias: "number"
|
|
32
|
+
},
|
|
33
|
+
"binary-number": {
|
|
34
|
+
pattern: /#?%[01]+\b/,
|
|
35
|
+
alias: "number"
|
|
36
|
+
},
|
|
37
|
+
"decimal-number": {
|
|
38
|
+
pattern: /#?\b\d+\b/,
|
|
39
|
+
alias: "number"
|
|
40
|
+
},
|
|
41
|
+
register: {
|
|
42
|
+
pattern: /\b[acznvshtixy]\b/i,
|
|
43
|
+
alias: "variable"
|
|
44
|
+
},
|
|
45
|
+
operator: />>=?|<<=?|&&?|\|\|?|[-+*/%&|^!=<>?]=?/,
|
|
46
|
+
punctuation: /[(),:]/
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
return e;
|
|
50
|
+
}
|
|
51
|
+
export {
|
|
52
|
+
b as __require
|
|
53
|
+
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { __require as r } from "./csharp.mjs";
|
|
2
|
+
var t, s;
|
|
3
|
+
function p() {
|
|
4
|
+
if (s)
|
|
5
|
+
return t;
|
|
6
|
+
s = 1;
|
|
7
|
+
var n = r();
|
|
8
|
+
t = a, a.displayName = "aspnet", a.aliases = [];
|
|
9
|
+
function a(e) {
|
|
10
|
+
e.register(n), e.languages.aspnet = e.languages.extend("markup", {
|
|
11
|
+
"page-directive": {
|
|
12
|
+
pattern: /<%\s*@.*%>/,
|
|
13
|
+
alias: "tag",
|
|
14
|
+
inside: {
|
|
15
|
+
"page-directive": {
|
|
16
|
+
pattern: /<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,
|
|
17
|
+
alias: "tag"
|
|
18
|
+
},
|
|
19
|
+
rest: e.languages.markup.tag.inside
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
directive: {
|
|
23
|
+
pattern: /<%.*%>/,
|
|
24
|
+
alias: "tag",
|
|
25
|
+
inside: {
|
|
26
|
+
directive: {
|
|
27
|
+
pattern: /<%\s*?[$=%#:]{0,2}|%>/,
|
|
28
|
+
alias: "tag"
|
|
29
|
+
},
|
|
30
|
+
rest: e.languages.csharp
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}), e.languages.aspnet.tag.pattern = /<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/, e.languages.insertBefore("inside", "punctuation", {
|
|
34
|
+
directive: e.languages.aspnet.directive
|
|
35
|
+
}, e.languages.aspnet.tag.inside["attr-value"]), e.languages.insertBefore("aspnet", "comment", {
|
|
36
|
+
"asp-comment": {
|
|
37
|
+
pattern: /<%--[\s\S]*?--%>/,
|
|
38
|
+
alias: ["asp", "comment"]
|
|
39
|
+
}
|
|
40
|
+
}), e.languages.insertBefore("aspnet", e.languages.javascript ? "script" : "tag", {
|
|
41
|
+
"asp-script": {
|
|
42
|
+
pattern: /(<script(?=.*runat=['"]?server\b)[^>]*>)[\s\S]*?(?=<\/script>)/i,
|
|
43
|
+
lookbehind: !0,
|
|
44
|
+
alias: ["asp", "script"],
|
|
45
|
+
inside: e.languages.csharp || {}
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
return t;
|
|
50
|
+
}
|
|
51
|
+
export {
|
|
52
|
+
p as __require
|
|
53
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
var t, o;
|
|
2
|
+
function i() {
|
|
3
|
+
if (o)
|
|
4
|
+
return t;
|
|
5
|
+
o = 1, t = e, e.displayName = "autohotkey", e.aliases = [];
|
|
6
|
+
function e(a) {
|
|
7
|
+
a.languages.autohotkey = {
|
|
8
|
+
comment: [{
|
|
9
|
+
pattern: /(^|\s);.*/,
|
|
10
|
+
lookbehind: !0
|
|
11
|
+
}, {
|
|
12
|
+
pattern: /(^[\t ]*)\/\*(?:[\r\n](?![ \t]*\*\/)|[^\r\n])*(?:[\r\n][ \t]*\*\/)?/m,
|
|
13
|
+
lookbehind: !0,
|
|
14
|
+
greedy: !0
|
|
15
|
+
}],
|
|
16
|
+
tag: {
|
|
17
|
+
// labels
|
|
18
|
+
pattern: /^([ \t]*)[^\s,`":]+(?=:[ \t]*$)/m,
|
|
19
|
+
lookbehind: !0
|
|
20
|
+
},
|
|
21
|
+
string: /"(?:[^"\n\r]|"")*"/,
|
|
22
|
+
variable: /%\w+%/,
|
|
23
|
+
number: /\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,
|
|
24
|
+
operator: /\?|\/\/?=?|:=|\|[=|]?|&[=&]?|\+[=+]?|-[=-]?|\*[=*]?|<(?:<=?|>|=)?|>>?=?|[.^!=~]=?|\b(?:AND|NOT|OR)\b/,
|
|
25
|
+
boolean: /\b(?:false|true)\b/,
|
|
26
|
+
selector: /\b(?:AutoTrim|BlockInput|Break|Click|ClipWait|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|CoordMode|Critical|DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|DriveSpaceFree|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|GuiControlGet|Hotkey|ImageSearch|IniDelete|IniRead|IniWrite|Input|InputBox|KeyWait|ListHotkeys|ListLines|ListVars|Loop|Menu|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|PixelSearch|PostMessage|Process|Progress|Random|RegDelete|RegRead|RegWrite|Reload|Repeat|Return|Run|RunAs|RunWait|Send|SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapslockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumlockState|SetRegView|SetScrollLockState|SetStoreCapslockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|Transform|TrayTip|URLDownloadToFile|WinActivate|WinActivateBottom|WinClose|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\b/i,
|
|
27
|
+
constant: /\b(?:a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_fileencoding|a_formatfloat|a_formatinteger|a_gui|a_guicontrol|a_guicontrolevent|a_guievent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_is64bitos|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|a_priorkey|a_programfiles|a_programs|a_programscommon|a_ptrsize|a_regview|a_screendpi|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scripthwnd|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel|programfiles)\b/i,
|
|
28
|
+
builtin: /\b(?:abs|acos|asc|asin|atan|ceil|chr|class|comobjactive|comobjarray|comobjconnect|comobjcreate|comobjerror|comobjflags|comobjget|comobjquery|comobjtype|comobjvalue|cos|dllcall|exp|fileexist|Fileopen|floor|format|il_add|il_create|il_destroy|instr|isfunc|islabel|IsObject|ln|log|ltrim|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|numget|numput|onmessage|regexmatch|regexreplace|registercallback|round|rtrim|sb_seticon|sb_setparts|sb_settext|sin|sqrt|strlen|strreplace|strsplit|substr|tan|tv_add|tv_delete|tv_get|tv_getchild|tv_getcount|tv_getnext|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist|__Call|__Get|__New|__Set)\b/i,
|
|
29
|
+
symbol: /\b(?:alt|altdown|altup|appskey|backspace|browser_back|browser_favorites|browser_forward|browser_home|browser_refresh|browser_search|browser_stop|bs|capslock|ctrl|ctrlbreak|ctrldown|ctrlup|del|delete|down|end|enter|esc|escape|f1|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f2|f20|f21|f22|f23|f24|f3|f4|f5|f6|f7|f8|f9|home|ins|insert|joy1|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy2|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy3|joy30|joy31|joy32|joy4|joy5|joy6|joy7|joy8|joy9|joyaxes|joybuttons|joyinfo|joyname|joypov|joyr|joyu|joyv|joyx|joyy|joyz|lalt|launch_app1|launch_app2|launch_mail|launch_media|lbutton|lcontrol|lctrl|left|lshift|lwin|lwindown|lwinup|mbutton|media_next|media_play_pause|media_prev|media_stop|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadadd|numpadclear|numpaddel|numpaddiv|numpaddot|numpaddown|numpadend|numpadenter|numpadhome|numpadins|numpadleft|numpadmult|numpadpgdn|numpadpgup|numpadright|numpadsub|numpadup|pgdn|pgup|printscreen|ralt|rbutton|rcontrol|rctrl|right|rshift|rwin|rwindown|rwinup|scrolllock|shift|shiftdown|shiftup|space|tab|up|volume_down|volume_mute|volume_up|wheeldown|wheelleft|wheelright|wheelup|xbutton1|xbutton2)\b/i,
|
|
30
|
+
important: /#\b(?:AllowSameLineComments|ClipboardTimeout|CommentFlag|DerefChar|ErrorStdOut|EscapeChar|HotkeyInterval|HotkeyModifierTimeout|Hotstring|If|IfTimeout|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Include|IncludeAgain|InputLevel|InstallKeybdHook|InstallMouseHook|KeyHistory|MaxHotkeysPerInterval|MaxMem|MaxThreads|MaxThreadsBuffer|MaxThreadsPerHotkey|MenuMaskKey|NoEnv|NoTrayIcon|Persistent|SingleInstance|UseHook|Warn|WinActivateForce)\b/i,
|
|
31
|
+
keyword: /\b(?:Abort|AboveNormal|Add|ahk_class|ahk_exe|ahk_group|ahk_id|ahk_pid|All|Alnum|Alpha|AltSubmit|AltTab|AltTabAndMenu|AltTabMenu|AltTabMenuDismiss|AlwaysOnTop|AutoSize|Background|BackgroundTrans|BelowNormal|between|BitAnd|BitNot|BitOr|BitShiftLeft|BitShiftRight|BitXOr|Bold|Border|Button|ByRef|Catch|Checkbox|Checked|CheckedGray|Choose|ChooseString|Close|Color|ComboBox|Contains|ControlList|Count|Date|DateTime|Days|DDL|Default|DeleteAll|Delimiter|Deref|Destroy|Digit|Disable|Disabled|DropDownList|Edit|Eject|Else|Enable|Enabled|Error|Exist|Expand|ExStyle|FileSystem|Finally|First|Flash|Float|FloatFast|Focus|Font|for|global|Grid|Group|GroupBox|GuiClose|GuiContextMenu|GuiDropFiles|GuiEscape|GuiSize|Hdr|Hidden|Hide|High|HKCC|HKCR|HKCU|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_LOCAL_MACHINE|HKEY_USERS|HKLM|HKU|Hours|HScroll|Icon|IconSmall|ID|IDLast|If|IfEqual|IfExist|IfGreater|IfGreaterOrEqual|IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Ignore|ImageList|in|Integer|IntegerFast|Interrupt|is|italic|Join|Label|LastFound|LastFoundExist|Limit|Lines|List|ListBox|ListView|local|Lock|Logoff|Low|Lower|Lowercase|MainWindow|Margin|Maximize|MaximizeBox|MaxSize|Minimize|MinimizeBox|MinMax|MinSize|Minutes|MonthCal|Mouse|Move|Multi|NA|No|NoActivate|NoDefault|NoHide|NoIcon|NoMainWindow|norm|Normal|NoSort|NoSortHdr|NoStandard|Not|NoTab|NoTimers|Number|Off|Ok|On|OwnDialogs|Owner|Parse|Password|Picture|Pixel|Pos|Pow|Priority|ProcessName|Radio|Range|Read|ReadOnly|Realtime|Redraw|Region|REG_BINARY|REG_DWORD|REG_EXPAND_SZ|REG_MULTI_SZ|REG_SZ|Relative|Rename|Report|Resize|Restore|Retry|RGB|Screen|Seconds|Section|Serial|SetLabel|ShiftAltTab|Show|Single|Slider|SortDesc|Standard|static|Status|StatusBar|StatusCD|strike|Style|Submit|SysMenu|Tab2|TabStop|Text|Theme|Throw|Tile|ToggleCheck|ToggleEnable|ToolWindow|Top|Topmost|TransColor|Transparent|Tray|TreeView|Try|TryAgain|Type|UnCheck|underline|Unicode|Unlock|Until|UpDown|Upper|Uppercase|UseErrorLevel|Vis|VisFirst|Visible|VScroll|Wait|WaitClose|WantCtrlA|WantF2|WantReturn|While|Wrap|Xdigit|xm|xp|xs|Yes|ym|yp|ys)\b/i,
|
|
32
|
+
function: /[^(); \t,\n+*\-=?>:\\\/<&%\[\]]+(?=\()/,
|
|
33
|
+
punctuation: /[{}[\]():,]/
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
return t;
|
|
37
|
+
}
|
|
38
|
+
export {
|
|
39
|
+
i as __require
|
|
40
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
var e, i;
|
|
2
|
+
function o() {
|
|
3
|
+
if (i)
|
|
4
|
+
return e;
|
|
5
|
+
i = 1, e = t, t.displayName = "autoit", t.aliases = [];
|
|
6
|
+
function t(n) {
|
|
7
|
+
n.languages.autoit = {
|
|
8
|
+
comment: [/;.*/, {
|
|
9
|
+
// The multi-line comments delimiters can actually be commented out with ";"
|
|
10
|
+
pattern: /(^[\t ]*)#(?:comments-start|cs)[\s\S]*?^[ \t]*#(?:ce|comments-end)/m,
|
|
11
|
+
lookbehind: !0
|
|
12
|
+
}],
|
|
13
|
+
url: {
|
|
14
|
+
pattern: /(^[\t ]*#include\s+)(?:<[^\r\n>]+>|"[^\r\n"]+")/m,
|
|
15
|
+
lookbehind: !0
|
|
16
|
+
},
|
|
17
|
+
string: {
|
|
18
|
+
pattern: /(["'])(?:\1\1|(?!\1)[^\r\n])*\1/,
|
|
19
|
+
greedy: !0,
|
|
20
|
+
inside: {
|
|
21
|
+
variable: /([%$@])\w+\1/
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
directive: {
|
|
25
|
+
pattern: /(^[\t ]*)#[\w-]+/m,
|
|
26
|
+
lookbehind: !0,
|
|
27
|
+
alias: "keyword"
|
|
28
|
+
},
|
|
29
|
+
function: /\b\w+(?=\()/,
|
|
30
|
+
// Variables and macros
|
|
31
|
+
variable: /[$@]\w+/,
|
|
32
|
+
keyword: /\b(?:Case|Const|Continue(?:Case|Loop)|Default|Dim|Do|Else(?:If)?|End(?:Func|If|Select|Switch|With)|Enum|Exit(?:Loop)?|For|Func|Global|If|In|Local|Next|Null|ReDim|Select|Static|Step|Switch|Then|To|Until|Volatile|WEnd|While|With)\b/i,
|
|
33
|
+
number: /\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,
|
|
34
|
+
boolean: /\b(?:False|True)\b/i,
|
|
35
|
+
operator: /<[=>]?|[-+*\/=&>]=?|[?^]|\b(?:And|Not|Or)\b/i,
|
|
36
|
+
punctuation: /[\[\]().,:]/
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
return e;
|
|
40
|
+
}
|
|
41
|
+
export {
|
|
42
|
+
o as __require
|
|
43
|
+
};
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
var n, l;
|
|
2
|
+
function v() {
|
|
3
|
+
if (l)
|
|
4
|
+
return n;
|
|
5
|
+
l = 1, n = e, e.displayName = "avisynth", e.aliases = ["avs"];
|
|
6
|
+
function e(u) {
|
|
7
|
+
(function(r) {
|
|
8
|
+
function c(t, o) {
|
|
9
|
+
return t.replace(/<<(\d+)>>/g, function(s, b) {
|
|
10
|
+
return o[+b];
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
function a(t, o, s) {
|
|
14
|
+
return RegExp(c(t, o), s || "");
|
|
15
|
+
}
|
|
16
|
+
var i = /bool|clip|float|int|string|val/.source, d = [
|
|
17
|
+
// bools
|
|
18
|
+
/is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/.source,
|
|
19
|
+
// control
|
|
20
|
+
/apply|assert|default|eval|import|nop|select|undefined/.source,
|
|
21
|
+
// global
|
|
22
|
+
/opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/.source,
|
|
23
|
+
// conv
|
|
24
|
+
/hex(?:value)?|value/.source,
|
|
25
|
+
// numeric
|
|
26
|
+
/abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/.source,
|
|
27
|
+
// trig
|
|
28
|
+
/a?sinh?|a?cosh?|a?tan[2h]?/.source,
|
|
29
|
+
// bit
|
|
30
|
+
/(?:bit(?:and|not|x?or|[lr]?shift[aslu]?|sh[lr]|sa[lr]|[lr]rotatel?|ro[rl]|te?st|set(?:count)?|cl(?:ea)?r|ch(?:an)?ge?))/.source,
|
|
31
|
+
// runtime
|
|
32
|
+
/average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/.source,
|
|
33
|
+
// script
|
|
34
|
+
/getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/.source,
|
|
35
|
+
// string
|
|
36
|
+
/chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/.source,
|
|
37
|
+
// version
|
|
38
|
+
/isversionorgreater|version(?:number|string)/.source,
|
|
39
|
+
// helper
|
|
40
|
+
/buildpixeltype|colorspacenametopixeltype/.source,
|
|
41
|
+
// avsplus
|
|
42
|
+
/addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source
|
|
43
|
+
].join("|"), p = [
|
|
44
|
+
// content
|
|
45
|
+
/has(?:audio|video)/.source,
|
|
46
|
+
// resolution
|
|
47
|
+
/height|width/.source,
|
|
48
|
+
// framerate
|
|
49
|
+
/frame(?:count|rate)|framerate(?:denominator|numerator)/.source,
|
|
50
|
+
// interlacing
|
|
51
|
+
/getparity|is(?:field|frame)based/.source,
|
|
52
|
+
// color format
|
|
53
|
+
/bitspercomponent|componentsize|hasalpha|is(?:planar(?:rgba?)?|interleaved|rgb(?:24|32|48|64)?|y(?:8|u(?:va?|y2))?|yv(?:12|16|24|411)|420|422|444|packedrgb)|numcomponents|pixeltype/.source,
|
|
54
|
+
// audio
|
|
55
|
+
/audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/.source
|
|
56
|
+
].join("|"), m = [
|
|
57
|
+
// source
|
|
58
|
+
/avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/.source,
|
|
59
|
+
// color
|
|
60
|
+
/coloryuv|convertbacktoyuy2|convertto(?:RGB(?:24|32|48|64)|(?:planar)?RGBA?|Y8?|YV(?:12|16|24|411)|YUVA?(?:411|420|422|444)|YUY2)|fixluminance|gr[ae]yscale|invert|levels|limiter|mergea?rgb|merge(?:chroma|luma)|rgbadjust|show(?:alpha|blue|green|red)|swapuv|tweak|[uv]toy8?|ytouv/.source,
|
|
61
|
+
// overlay
|
|
62
|
+
/(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source,
|
|
63
|
+
// geometry
|
|
64
|
+
/addborders|(?:bicubic|bilinear|blackman|gauss|lanczos4|lanczos|point|sinc|spline(?:16|36|64))resize|crop(?:bottom)?|flip(?:horizontal|vertical)|(?:horizontal|vertical)?reduceby2|letterbox|skewrows|turn(?:180|left|right)/.source,
|
|
65
|
+
// pixel
|
|
66
|
+
/blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/.source,
|
|
67
|
+
// timeline
|
|
68
|
+
/trim|(?:un)?alignedsplice|(?:assume|assumescaled|change|convert)FPS|(?:delete|duplicate)frame|dissolve|fade(?:in|io|out)[02]?|freezeframe|interleave|loop|reverse|select(?:even|odd|(?:range)?every)/.source,
|
|
69
|
+
// interlace
|
|
70
|
+
/assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/.source,
|
|
71
|
+
// audio
|
|
72
|
+
/amplify(?:db)?|assumesamplerate|audiodub(?:ex)?|audiotrim|convertaudioto(?:(?:8|16|24|32)bit|float)|converttomono|delayaudio|ensurevbrmp3sync|get(?:left|right)?channel|kill(?:audio|video)|mergechannels|mixaudio|monotostereo|normalize|resampleaudio|ssrc|supereq|timestretch/.source,
|
|
73
|
+
// conditional
|
|
74
|
+
/animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/.source,
|
|
75
|
+
// export
|
|
76
|
+
/imagewriter/.source,
|
|
77
|
+
// debug
|
|
78
|
+
/blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/.source
|
|
79
|
+
].join("|"), f = [d, p, m].join("|");
|
|
80
|
+
r.languages.avisynth = {
|
|
81
|
+
comment: [{
|
|
82
|
+
// Matches [* *] nestable block comments, but only supports 1 level of nested comments
|
|
83
|
+
// /\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|<self>)*\*\]/
|
|
84
|
+
pattern: /(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,
|
|
85
|
+
lookbehind: !0,
|
|
86
|
+
greedy: !0
|
|
87
|
+
}, {
|
|
88
|
+
// Matches /* */ block comments
|
|
89
|
+
pattern: /(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,
|
|
90
|
+
lookbehind: !0,
|
|
91
|
+
greedy: !0
|
|
92
|
+
}, {
|
|
93
|
+
// Matches # comments
|
|
94
|
+
pattern: /(^|[^\\$])#.*/,
|
|
95
|
+
lookbehind: !0,
|
|
96
|
+
greedy: !0
|
|
97
|
+
}],
|
|
98
|
+
// Handle before strings because optional arguments are surrounded by double quotes
|
|
99
|
+
argument: {
|
|
100
|
+
pattern: a(/\b(?:<<0>>)\s+("?)\w+\1/.source, [i], "i"),
|
|
101
|
+
inside: {
|
|
102
|
+
keyword: /^\w+/
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
// Optional argument assignment
|
|
106
|
+
"argument-label": {
|
|
107
|
+
pattern: /([,(][\s\\]*)\w+\s*=(?!=)/,
|
|
108
|
+
lookbehind: !0,
|
|
109
|
+
inside: {
|
|
110
|
+
"argument-name": {
|
|
111
|
+
pattern: /^\w+/,
|
|
112
|
+
alias: "punctuation"
|
|
113
|
+
},
|
|
114
|
+
punctuation: /=$/
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
string: [{
|
|
118
|
+
// triple double-quoted
|
|
119
|
+
pattern: /"""[\s\S]*?"""/,
|
|
120
|
+
greedy: !0
|
|
121
|
+
}, {
|
|
122
|
+
// single double-quoted
|
|
123
|
+
pattern: /"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,
|
|
124
|
+
greedy: !0,
|
|
125
|
+
inside: {
|
|
126
|
+
constant: {
|
|
127
|
+
// These *are* case-sensitive!
|
|
128
|
+
pattern: /\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}],
|
|
132
|
+
// The special "last" variable that takes the value of the last implicitly returned clip
|
|
133
|
+
variable: /\b(?:last)\b/i,
|
|
134
|
+
boolean: /\b(?:false|no|true|yes)\b/i,
|
|
135
|
+
keyword: /\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,
|
|
136
|
+
constant: /\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,
|
|
137
|
+
// AviSynth's internal functions, filters, and properties
|
|
138
|
+
"builtin-function": {
|
|
139
|
+
pattern: a(/\b(?:<<0>>)\b/.source, [f], "i"),
|
|
140
|
+
alias: "function"
|
|
141
|
+
},
|
|
142
|
+
"type-cast": {
|
|
143
|
+
pattern: a(/\b(?:<<0>>)(?=\s*\()/.source, [i], "i"),
|
|
144
|
+
alias: "keyword"
|
|
145
|
+
},
|
|
146
|
+
// External/user-defined filters
|
|
147
|
+
function: {
|
|
148
|
+
pattern: /\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,
|
|
149
|
+
lookbehind: !0
|
|
150
|
+
},
|
|
151
|
+
// Matches a \ as the first or last character on a line
|
|
152
|
+
"line-continuation": {
|
|
153
|
+
pattern: /(^[ \t]*)\\|\\(?=[ \t]*$)/m,
|
|
154
|
+
lookbehind: !0,
|
|
155
|
+
alias: "punctuation"
|
|
156
|
+
},
|
|
157
|
+
number: /\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,
|
|
158
|
+
operator: /\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,
|
|
159
|
+
punctuation: /[{}\[\]();,.]/
|
|
160
|
+
}, r.languages.avs = r.languages.avisynth;
|
|
161
|
+
})(u);
|
|
162
|
+
}
|
|
163
|
+
return n;
|
|
164
|
+
}
|
|
165
|
+
export {
|
|
166
|
+
v as __require
|
|
167
|
+
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
var t, a;
|
|
2
|
+
function n() {
|
|
3
|
+
if (a)
|
|
4
|
+
return t;
|
|
5
|
+
a = 1, t = e, e.displayName = "avroIdl", e.aliases = [];
|
|
6
|
+
function e(r) {
|
|
7
|
+
r.languages["avro-idl"] = {
|
|
8
|
+
comment: {
|
|
9
|
+
pattern: /\/\/.*|\/\*[\s\S]*?\*\//,
|
|
10
|
+
greedy: !0
|
|
11
|
+
},
|
|
12
|
+
string: {
|
|
13
|
+
pattern: /(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,
|
|
14
|
+
lookbehind: !0,
|
|
15
|
+
greedy: !0
|
|
16
|
+
},
|
|
17
|
+
annotation: {
|
|
18
|
+
pattern: /@(?:[$\w.-]|`[^\r\n`]+`)+/,
|
|
19
|
+
greedy: !0,
|
|
20
|
+
alias: "function"
|
|
21
|
+
},
|
|
22
|
+
"function-identifier": {
|
|
23
|
+
pattern: /`[^\r\n`]+`(?=\s*\()/,
|
|
24
|
+
greedy: !0,
|
|
25
|
+
alias: "function"
|
|
26
|
+
},
|
|
27
|
+
identifier: {
|
|
28
|
+
pattern: /`[^\r\n`]+`/,
|
|
29
|
+
greedy: !0
|
|
30
|
+
},
|
|
31
|
+
"class-name": {
|
|
32
|
+
pattern: /(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,
|
|
33
|
+
lookbehind: !0,
|
|
34
|
+
greedy: !0
|
|
35
|
+
},
|
|
36
|
+
keyword: /\b(?:array|boolean|bytes|date|decimal|double|enum|error|false|fixed|float|idl|import|int|local_timestamp_ms|long|map|null|oneway|protocol|record|schema|string|throws|time_ms|timestamp_ms|true|union|uuid|void)\b/,
|
|
37
|
+
function: /\b[a-z_]\w*(?=\s*\()/i,
|
|
38
|
+
number: [{
|
|
39
|
+
pattern: /(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,
|
|
40
|
+
lookbehind: !0
|
|
41
|
+
}, /-?\b(?:Infinity|NaN)\b/],
|
|
42
|
+
operator: /=/,
|
|
43
|
+
punctuation: /[()\[\]{}<>.:,;-]/
|
|
44
|
+
}, r.languages.avdl = r.languages["avro-idl"];
|
|
45
|
+
}
|
|
46
|
+
return t;
|
|
47
|
+
}
|
|
48
|
+
export {
|
|
49
|
+
n as __require
|
|
50
|
+
};
|