diff --git a/.eslintrc.cjs b/.eslintrc.cjs
new file mode 100644
index 00000000..478f28b7
--- /dev/null
+++ b/.eslintrc.cjs
@@ -0,0 +1,28 @@
+module.exports = {
+ root: true,
+ parser: '@typescript-eslint/parser',
+ extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'prettier'],
+ plugins: ['svelte3', 'tailwindcss', '@typescript-eslint'],
+ ignorePatterns: ['docs/*', '*.cjs', 'snapshots.js'],
+ overrides: [{ files: ['*.svelte'], processor: 'svelte3/svelte3' }],
+ settings: {
+ 'svelte3/typescript': () => require('typescript')
+ },
+ parserOptions: {
+ sourceType: 'module',
+ ecmaVersion: 2019
+ },
+ env: {
+ browser: true,
+ es2017: true,
+ node: true
+ },
+ rules: {
+ '@typescript-eslint/ban-ts-comment': [
+ 'error',
+ {
+ 'ts-ignore': 'allow-with-description'
+ }
+ ]
+ }
+};
diff --git a/.github/codeql/config.yml b/.github/codeql/config.yml
new file mode 100644
index 00000000..af2bab52
--- /dev/null
+++ b/.github/codeql/config.yml
@@ -0,0 +1,7 @@
+name: 'Mermaid CodeQL config'
+
+paths:
+ - src
+paths-ignore:
+ - node_modules
+ - '**/*.spec.js'
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index fba1c03e..3e562342 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -9,14 +9,14 @@
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
-name: "CodeQL"
+name: 'CodeQL'
on:
push:
- branches: [ master ]
+ branches: [master]
pull_request:
# The branches below must be a subset of the branches above
- branches: [ master ]
+ branches: [master]
schedule:
- cron: '36 1 * * 2'
@@ -28,40 +28,41 @@ jobs:
strategy:
fail-fast: false
matrix:
- language: [ 'javascript' ]
+ language: ['javascript']
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
# Learn more:
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
steps:
- - name: Checkout repository
- uses: actions/checkout@v2
+ - name: Checkout repository
+ uses: actions/checkout@v2
- # Initializes the CodeQL tools for scanning.
- - name: Initialize CodeQL
- uses: github/codeql-action/init@v1
- with:
- languages: ${{ matrix.language }}
- # If you wish to specify custom queries, you can do so here or in a config file.
- # By default, queries listed here will override any specified in a config file.
- # Prefix the list here with "+" to use these queries and those in the config file.
- # queries: ./path/to/local/query, your-org/your-repo/queries@main
+ # Initializes the CodeQL tools for scanning.
+ - name: Initialize CodeQL
+ uses: github/codeql-action/init@v1
+ with:
+ config-file: ./.github/codeql/config.yml
+ languages: ${{ matrix.language }}
+ # If you wish to specify custom queries, you can do so here or in a config file.
+ # By default, queries listed here will override any specified in a config file.
+ # Prefix the list here with "+" to use these queries and those in the config file.
+ # queries: ./path/to/local/query, your-org/your-repo/queries@main
- # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
- # If this step fails, then you should remove it and run the build manually (see below)
- - name: Autobuild
- uses: github/codeql-action/autobuild@v1
+ # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
+ # If this step fails, then you should remove it and run the build manually (see below)
+ # - name: Autobuild
+ # uses: github/codeql-action/autobuild@v1
- # âšī¸ Command-line programs to run using the OS shell.
- # đ https://git.io/JvXDl
+ # âšī¸ Command-line programs to run using the OS shell.
+ # đ https://git.io/JvXDl
- # âī¸ If the Autobuild fails above, remove it and uncomment the following three lines
- # and modify them (or add more) to build your code if your project
- # uses a compiled language
+ # âī¸ If the Autobuild fails above, remove it and uncomment the following three lines
+ # and modify them (or add more) to build your code if your project
+ # uses a compiled language
- #- run: |
- # make bootstrap
- # make release
+ #- run: |
+ # make bootstrap
+ # make release
- - name: Perform CodeQL Analysis
- uses: github/codeql-action/analyze@v1
+ - name: Perform CodeQL Analysis
+ uses: github/codeql-action/analyze@v1
diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml
new file mode 100644
index 00000000..da1be5df
--- /dev/null
+++ b/.github/workflows/cypress.yml
@@ -0,0 +1,37 @@
+name: Cypress Tests
+
+on: [push]
+
+jobs:
+ cypress-run:
+ runs-on: ubuntu-latest
+ container: cypress/browsers:node14.16.0-chrome90-ff88
+
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v2
+
+ - uses: actions/cache@v2
+ id: yarn-and-build-cache
+ with:
+ path: |
+ ~/.cache/Cypress
+ build
+ node_modules
+ key: ${{ runner.os }}-node_modules-build-${{ hashFiles('**/yarn.lock') }}
+ restore-keys: |
+ ${{ runner.os }}-node_modules-build-
+
+ # Install NPM dependencies, cache them correctly
+ # and run all Cypress tests
+ - name: Cypress run
+ uses: cypress-io/github-action@v2
+ with:
+ build: yarn build
+ start: yarn preview
+ wait-on: 'http://localhost:3000'
+ wait-on-timeout: 120
+ record: true
+ headless: true
+ env:
+ CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index 82ef1586..b1cfd8ba 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -14,14 +14,29 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
+ - uses: actions/cache@v2
+ id: yarn-and-build-cache
+ with:
+ path: |
+ node_modules
+ key: ${{ runner.os }}-node_modules-build-deploy-${{ hashFiles('**/yarn.lock') }}
+ restore-keys: |
+ ${{ runner.os }}-node_modules-build-deploy-
+
- name: Build & Deploy
run: |
npm i -g yarn
+ export DEPLOY=true
+ rm -rf docs/_app
yarn install
- yarn version --patch --no-git-tag-version
- yarn release
+ # yarn run lint
+ version=$(yarn version --patch --no-git-tag-version | grep "New version" | cut -d':' -f 2)
+ yarn build
+ cd bin
+ ./fix-path
+ cd ..
git config user.name github-actions
git config user.email github-actions@github.com
git add .
- git commit -m "Release $(yarn version --version)"
+ git commit -m "Release $version"
git push
diff --git a/.gitignore b/.gitignore
index f6139ecc..edc0e07e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,4 +4,10 @@ coverage/
build/
yarn-error.log
.npmrc
-*node_modules*
+.DS_Store
+/.svelte-kit
+/build
+/functions
+/snapshots.js
+/cypress/videos
+/cypress/screenshots
diff --git a/.nojekyll b/.nojekyll
new file mode 100644
index 00000000..e69de29b
diff --git a/.npmrc b/.npmrc
new file mode 100644
index 00000000..b6f27f13
--- /dev/null
+++ b/.npmrc
@@ -0,0 +1 @@
+engine-strict=true
diff --git a/.prettierignore b/.prettierignore
index 77738287..1a41f98d 100644
--- a/.prettierignore
+++ b/.prettierignore
@@ -1 +1,6 @@
-dist/
\ No newline at end of file
+docs/**
+.svelte-kit/**
+static/**
+build/**
+node_modules/**
+snapshots.js
\ No newline at end of file
diff --git a/.prettierrc b/.prettierrc
index c43bb68f..b193cb40 100644
--- a/.prettierrc
+++ b/.prettierrc
@@ -1,5 +1,8 @@
{
- "singleQuote": true,
- "svelteSortOrder": "scripts-styles-markup",
- "svelteBracketNewLine": false
-}
\ No newline at end of file
+ "singleQuote": true,
+ "svelteSortOrder": "options-scripts-markup-styles",
+ "svelteBracketNewLine": false,
+ "useTabs": true,
+ "trailingComma": "none",
+ "printWidth": 100
+}
diff --git a/Dockerfile b/Dockerfile
index 28fecb78..fcfaf19b 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -7,7 +7,6 @@
# or
# docker stop mermaid-live-editor
-
FROM node:14.16.0-alpine3.13 as mermaid-live-editor-builder
COPY --chown=node:node . /home
WORKDIR /home
diff --git a/README.md b/README.md
index 355f9f46..13b95909 100644
--- a/README.md
+++ b/README.md
@@ -46,11 +46,10 @@ registry=https://registry.npmjs.com/
## Development
```
-yarn dev
-open http://localhost:8080
+yarn dev -- --open
```
-This app is created with Svelte + svelte-spa-router.
+This app is created with Svelte Kit.
## Release
diff --git a/bin/fix-path b/bin/fix-path
new file mode 100755
index 00000000..6c0fdcc3
--- /dev/null
+++ b/bin/fix-path
@@ -0,0 +1,6 @@
+#!/bin/bash
+pushd ../docs
+# find ./ -type f -exec sed -i 's/service-worker.js/mermaid-live-editor\/service-worker.js/g' {} \;
+find ./ -type f -exec sed -i 's/manifest.json/\/mermaid-live-editor\/manifest.json/g' {} \;
+find ./ -type f -exec sed -i 's/favicon.png/\/mermaid-live-editor\/favicon.png/g' {} \;
+popd
\ No newline at end of file
diff --git a/cypress.json b/cypress.json
new file mode 100644
index 00000000..70b8e6bd
--- /dev/null
+++ b/cypress.json
@@ -0,0 +1,11 @@
+{
+ "projectId": "2ckppp",
+ "$schema": "https://on.cypress.io/cypress.schema.json",
+ "baseUrl": "http://localhost:3000",
+ "pluginsFile": "./cypress/plugins/index.cjs",
+ "viewportWidth": 1440,
+ "viewportHeight": 768,
+ "snapshotFileName": "./cypress/snapshots.js",
+ "defaultCommandTimeout": 16000,
+ "requestTimeout": 16000
+}
diff --git a/cypress/.eslintrc b/cypress/.eslintrc
new file mode 100644
index 00000000..2fc83573
--- /dev/null
+++ b/cypress/.eslintrc
@@ -0,0 +1,12 @@
+{
+ "plugins": ["cypress", "mocha"],
+ "extends": ["plugin:cypress/recommended", "plugin:mocha/recommended"],
+ "rules": {
+ "jest/expect-expect": "off",
+ "mocha/no-mocha-arrows": "off"
+ },
+ "env": {
+ "cypress/globals": true,
+ "mocha": true
+ }
+}
diff --git a/cypress/fixtures/example.json b/cypress/fixtures/example.json
new file mode 100644
index 00000000..0ff2d645
--- /dev/null
+++ b/cypress/fixtures/example.json
@@ -0,0 +1,5 @@
+{
+ "name": "Using fixtures to represent data",
+ "email": "hello@cypress.io",
+ "body": "Fixtures are a great way to mock data for responses to routes"
+}
diff --git a/cypress/integration/actions.spec.ts b/cypress/integration/actions.spec.ts
new file mode 100644
index 00000000..6a2a8268
--- /dev/null
+++ b/cypress/integration/actions.spec.ts
@@ -0,0 +1,20 @@
+describe('Check actions', () => {
+ // eslint-disable-next-line mocha/no-hooks-for-single-case
+ beforeEach(() => {
+ cy.clearLocalStorage();
+ cy.visit('/edit');
+ cy.contains('Actions').click();
+ });
+ it('should update markdown code', () => {
+ cy.get('#markdown')
+ .invoke('val')
+ .then((oldText) => {
+ cy.get('#editor').click('bottom').type('{enter}C --> HistoryTest');
+ cy.get('#markdown')
+ .invoke('val')
+ .then((newText) => {
+ expect(oldText).to.not.eq(newText);
+ });
+ });
+ });
+});
diff --git a/cypress/integration/diagramUpdate.spec.ts b/cypress/integration/diagramUpdate.spec.ts
new file mode 100644
index 00000000..0edcf569
--- /dev/null
+++ b/cypress/integration/diagramUpdate.spec.ts
@@ -0,0 +1,33 @@
+describe('Auto sync tests', () => {
+ beforeEach(() => {
+ cy.clearLocalStorage();
+ cy.visit('/');
+ });
+ it('should dim diagram when code is edited', () => {
+ cy.contains('Auto sync').click();
+ cy.get('#view').should('not.have.class', 'outOfSync');
+ cy.get('#editor').type(' C --> Test');
+ cy.get('#view').should('have.class', 'outOfSync');
+ cy.getLocalStorage('codeStore').snapshot();
+ });
+
+ it('should show/hide sync button with auto sync', () => {
+ cy.get('[data-cy=sync]').should('not.exist');
+ cy.contains('Auto sync').click();
+ cy.get('[data-cy=sync]').should('exist');
+ cy.get('#autoSync').check();
+ cy.get('[data-cy=sync]').should('not.exist');
+ });
+ it('should not dim diagram when code is in sync', () => {
+ cy.contains('Auto sync').click();
+ cy.get('#view').should('not.have.class', 'outOfSync');
+ cy.get('#editor').type(' C --> Test');
+ cy.get('#view').should('have.class', 'outOfSync');
+ cy.get('[data-cy=sync]').click();
+ cy.get('#view').should('not.have.class', 'outOfSync');
+ cy.get('#autoSync').check();
+ cy.get('#editor').type('ing');
+ cy.get('#view').should('not.have.class', 'outOfSync');
+ cy.getLocalStorage('codeStore').snapshot();
+ });
+});
diff --git a/cypress/integration/history.spec.ts b/cypress/integration/history.spec.ts
new file mode 100644
index 00000000..5bdedef0
--- /dev/null
+++ b/cypress/integration/history.spec.ts
@@ -0,0 +1,60 @@
+describe('Save History', () => {
+ beforeEach(() => {
+ cy.clearLocalStorage();
+ cy.visit('/edit');
+ });
+ it('should save when clicked', () => {
+ cy.get('#historyList').find('li').should('have.length', 0);
+ cy.get('#historyList').contains('No items in History');
+ cy.get('#saveHistory').click();
+ cy.get('#historyList').find('No items in History').should('not.exist');
+ cy.get('#historyList').find('li').should('have.length', 1);
+ cy.get('#saveHistory').click();
+ cy.on('window:alert', (str) => {
+ expect(str).to.equal('State already saved.');
+ });
+ cy.on('window:confirm', () => true);
+ cy.get('#editor').type(' C --> HistoryTest');
+ cy.get('#saveHistory').click();
+ cy.get('#historyList').find('li').should('have.length', 2);
+ });
+
+ it('should be able to restore and delete', () => {
+ cy.get('#saveHistory').click();
+ cy.get('#editor').type(' C --> HistoryTest');
+ cy.get('#historyList').find('No items in History').should('not.exist');
+ cy.get('#historyList').find('li').should('have.length', 1);
+ cy.contains('HistoryTest');
+ cy.contains('Restore').click();
+ cy.contains('HistoryTest').should('not.exist');
+ cy.contains('Delete').click();
+ cy.get('#historyList').find('li').should('have.length', 0);
+ cy.get('#historyList').contains('No items in History');
+ cy.get('#saveHistory').click();
+ cy.get('#editor').type(' C --> HistoryTest');
+ cy.get('#saveHistory').click();
+ cy.get('#editor').type('ing');
+ cy.get('#clearHistory').click();
+ cy.on('window:alert', (str) => {
+ expect(str).to.equal('Clear all saved items?');
+ });
+ cy.on('window:confirm', () => true);
+ cy.get('#historyList').contains('No items in History');
+ });
+
+ it('should auto save history', () => {
+ cy.clock();
+ cy.get('#editor').type(' C --> HistoryTest');
+ cy.tick(70000);
+ cy.contains('Timeline').click();
+ cy.get('#historyList').find('li').should('have.length', 1);
+ cy.get('#editor').type('ing');
+ cy.tick(70000);
+ cy.get('#historyList').find('li').should('have.length', 2);
+ for (let i = 0; i < 31; i++) {
+ cy.get('#editor').type('.');
+ cy.tick(70000);
+ }
+ cy.get('#historyList').find('li').should('have.length', 30);
+ });
+});
diff --git a/cypress/integration/loadSite.spec.ts b/cypress/integration/loadSite.spec.ts
new file mode 100644
index 00000000..0c58d373
--- /dev/null
+++ b/cypress/integration/loadSite.spec.ts
@@ -0,0 +1,32 @@
+describe('Site Loads', () => {
+ beforeEach(() => {
+ cy.clearLocalStorage();
+ });
+ it('Check Home page load', () => {
+ cy.visit('/');
+ cy.url().should('include', '/edit');
+ cy.contains('History').click();
+ cy.getLocalStorage('codeStore').snapshot();
+ });
+
+ it('Check Redirect from old URL', () => {
+ cy.visit(
+ '/#/edit/eyJjb2RlIjoiZ3JhcGggVERcbiAgICBBW0NocmlzdG1hc10gLS0-fEdldCBtb25leXwgQihHbyBzaG9wcGluZylcbiAgICBCIC0tPiBDe0xldCBtZSB0aGlua31cbiAgICBDIC0tPnxPbmV8IERbTGFwdG9wXVxuICAgIEMgLS0-fFR3b3wgRVtpUGhvbmVdXG4gICAgQyAtLT58VGhyZWV8IEZbZmE6ZmEtY2FyIENhcl0iLCJtZXJtYWlkIjp7InRoZW1lIjoiZGVmYXVsdCJ9LCJ1cGRhdGVFZGl0b3IiOmZhbHNlfQ'
+ );
+ cy.url().should(
+ 'include',
+ '/edit/eyJjb2RlIjoiZ3JhcGggVERcbiAgICBBW0NocmlzdG1hc10gLS0-fEdldCBtb25leXwgQihHbyBzaG9wcGluZylcbiAgICBCIC0tPiBDe0xldCBtZSB0aGlua31cbiAgICBDIC0tPnxPbmV8IERbTGFwdG9wXVxuICAgIEMgLS0-fFR3b3wgRVtpUGhvbmVdXG4gICAgQyAtLT58VGhyZWV8IEZbZmE6ZmEtY2FyIENhcl0iLCJtZXJtYWlkIjp7InRoZW1lIjoiZGVmYXVsdCJ9LCJ1cGRhdGVFZGl0b3IiOmZhbHNlfQ'
+ );
+
+ cy.contains('History').click();
+ cy.getLocalStorage('codeStore').snapshot();
+ });
+
+ it('should load sample diagrams when clicked', () => {
+ cy.contains('Sample Diagrams').click();
+ cy.contains('Pie Chart').click();
+ cy.contains('pie title Pets adopted by volunteers');
+ cy.contains('Class Diagram').click();
+ cy.contains('classDiagram');
+ });
+});
diff --git a/cypress/plugins/index.cjs b/cypress/plugins/index.cjs
new file mode 100644
index 00000000..f7ffbe14
--- /dev/null
+++ b/cypress/plugins/index.cjs
@@ -0,0 +1,31 @@
+///
+// ***********************************************************
+// This example plugins/index.js can be used to load plugins
+//
+// You can change the location of this file or turn off loading
+// the plugins file with the 'pluginsFile' configuration option.
+//
+// You can read more here:
+// https://on.cypress.io/plugins-guide
+// ***********************************************************
+
+// This function is called when a project is opened or re-opened (e.g. due to
+// the project's config changing)
+
+/**
+ * @type {Cypress.PluginConfig}
+ */
+// eslint-disable-next-line no-unused-vars
+import * as fs from 'fs';
+
+module.exports = (on, config) => {
+ on('task', {
+ readFileMaybe(filename) {
+ if (fs.existsSync(filename)) {
+ return fs.readFileSync(filename, 'utf8');
+ }
+
+ return null;
+ }
+ });
+};
diff --git a/cypress/snapshots.js b/cypress/snapshots.js
new file mode 100644
index 00000000..f94d5e4a
--- /dev/null
+++ b/cypress/snapshots.js
@@ -0,0 +1,19 @@
+module.exports = {
+ "Site Loads": {
+ "Check Home page load": {
+ "1": "{\"code\":\"graph TD\\n A[Christmas] -->|Get money| B(Go shopping)\\n B --> C{Let me think}\\n C -->|One| D[Laptop]\\n C -->|Two| E[iPhone]\\n C -->|Three| F[fa:fa-car Car]\\n \",\"mermaid\":\"{\\n \\\"theme\\\": \\\"default\\\"\\n}\",\"updateEditor\":true,\"autoSync\":true,\"updateDiagram\":true}"
+ },
+ "Check Redirect from old URL": {
+ "1": "{\"code\":\"graph TD\\n A[Christmas] -->|Get money| B(Go shopping)\\n B --> C{Let me think}\\n C -->|One| D[Laptop]\\n C -->|Two| E[iPhone]\\n C -->|Three| F[fa:fa-car Car]\",\"mermaid\":\"{\\n \\\"theme\\\": \\\"default\\\"\\n}\",\"updateEditor\":false,\"autoSync\":true,\"updateDiagram\":false}"
+ }
+ },
+ "__version": "7.3.0",
+ "Auto sync tests": {
+ "should dim diagram when code is edited": {
+ "1": "{\"code\":\"graph TD\\n A[Christmas] -->|Get money| B(Go shopping)\\n B --> C{Let me think}\\n C -->|One| D[Laptop]\\n C -->|Two| E[iPhone]\\n C -->|Three| F[fa:fa-car Car]\\n C --> Test\",\"mermaid\":\"{\\n \\\"theme\\\": \\\"default\\\"\\n}\",\"updateEditor\":false,\"autoSync\":false,\"updateDiagram\":false}"
+ },
+ "should not dim diagram when code is in sync": {
+ "1": "{\"code\":\"graph TD\\n A[Christmas] -->|Get money| B(Go shopping)\\n B --> C{Let me think}\\n C -->|One| D[Laptop]\\n C -->|Two| E[iPhone]\\n C -->|Three| F[fa:fa-car Car]\\n C --> Testing\",\"mermaid\":\"{\\n \\\"theme\\\": \\\"default\\\"\\n}\",\"updateEditor\":false,\"autoSync\":true,\"updateDiagram\":false}"
+ }
+ }
+}
diff --git a/cypress/support/commands.ts b/cypress/support/commands.ts
new file mode 100644
index 00000000..c80aaf8d
--- /dev/null
+++ b/cypress/support/commands.ts
@@ -0,0 +1,37 @@
+// ***********************************************
+// This example commands.js shows you how to
+// create various custom commands and overwrite
+// existing commands.
+//
+// For more comprehensive examples of custom
+// commands please read more here:
+// https://on.cypress.io/custom-commands
+// ***********************************************
+//
+//
+// -- This is a parent command --
+// Cypress.Commands.add('login', (email, password) => { ... })
+//
+//
+// -- This is a child command --
+// Cypress.Commands.add('drag', { prevSubject: 'element'}, (subject, options) => { ... })
+//
+//
+// -- This is a dual command --
+// Cypress.Commands.add('dismiss', { prevSubject: 'optional'}, (subject, options) => { ... })
+//
+//
+// -- This will overwrite an existing command --
+// Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... })
+import { register } from '@cypress/snapshot';
+register();
+declare global {
+ // eslint-disable-next-line @typescript-eslint/no-namespace
+ namespace Cypress {
+ interface Chainable {
+ snapshot(): void;
+ }
+ }
+}
+
+import 'cypress-localstorage-commands';
diff --git a/cypress/support/index.js b/cypress/support/index.js
new file mode 100644
index 00000000..01ff920f
--- /dev/null
+++ b/cypress/support/index.js
@@ -0,0 +1,27 @@
+// ***********************************************************
+// This example support/index.js is processed and
+// loaded automatically before your test files.
+//
+// This is a great place to put global configuration and
+// behavior that modifies Cypress.
+//
+// You can change the location of this file or turn off
+// automatically serving support files with the
+// 'supportFile' configuration option.
+//
+// You can read more here:
+// https://on.cypress.io/configuration
+// ***********************************************************
+
+// Import commands.js using ES2015 syntax:
+import './commands';
+
+// Alternatively you can use CommonJS syntax:
+// require('./commands')
+const resizeObserverLoopErrRe = /^[^(ResizeObserver loop limit exceeded)]/;
+Cypress.on('uncaught:exception', (err) => {
+ /* returning false here prevents Cypress from failing the test */
+ if (resizeObserverLoopErrRe.test(err.message)) {
+ return false;
+ }
+});
diff --git a/cypress/tsconfig.json b/cypress/tsconfig.json
new file mode 100644
index 00000000..77501744
--- /dev/null
+++ b/cypress/tsconfig.json
@@ -0,0 +1,7 @@
+{
+ "compilerOptions": {
+ "allowJs": true,
+ "types": ["cypress", "cypress-localstorage-commands"]
+ },
+ "include": ["**/*.ts"]
+}
diff --git a/docs/.nojekyll b/docs/.nojekyll
new file mode 100644
index 00000000..e69de29b
diff --git a/docs/1065.1065.js b/docs/1065.1065.js
deleted file mode 100644
index 8b00e04a..00000000
--- a/docs/1065.1065.js
+++ /dev/null
@@ -1,217 +0,0 @@
-(self.webpackChunkmermaid_live_editor =
- self.webpackChunkmermaid_live_editor || []).push([
- [1065],
- {
- 71065: (e, n, s) => {
- 'use strict';
- s.r(n), s.d(n, { conf: () => i, language: () => t });
- var i = {
- brackets: [
- ['{', '}'],
- ['[', ']'],
- ['(', ')'],
- ],
- autoClosingPairs: [
- { open: '{', close: '}' },
- { open: '[', close: ']' },
- { open: '(', close: ')' },
- { open: '<', close: '>', notIn: ['string'] },
- ],
- surroundingPairs: [
- { open: '(', close: ')' },
- { open: '[', close: ']' },
- { open: '`', close: '`' },
- ],
- folding: {
- markers: {
- start: new RegExp('^\\s*\x3c!--\\s*#?region\\b.*--\x3e'),
- end: new RegExp('^\\s*\x3c!--\\s*#?endregion\\b.*--\x3e'),
- },
- },
- },
- t = {
- defaultToken: '',
- tokenPostfix: '.rst',
- control: /[\\`*_\[\]{}()#+\-\.!]/,
- escapes: /\\(?:@control)/,
- empty: [
- 'area',
- 'base',
- 'basefont',
- 'br',
- 'col',
- 'frame',
- 'hr',
- 'img',
- 'input',
- 'isindex',
- 'link',
- 'meta',
- 'param',
- ],
- alphanumerics: /[A-Za-z0-9]/,
- alphanumericsplus: /[A-Za-z0-9-_+:.]/,
- simpleRefNameWithoutBq: /(?:@alphanumerics@alphanumericsplus*@alphanumerics)+|(?:@alphanumerics+)/,
- simpleRefName: /(?:`@simpleRefNameWithoutBq`|@simpleRefNameWithoutBq)/,
- phrase: /@simpleRefName(?:\s@simpleRefName)*/,
- citationName: /[A-Za-z][A-Za-z0-9-_.]*/,
- blockLiteralStart: /(?:[!"#$%&'()*+,-./:;<=>?@\[\]^_`{|}~]|[\s])/,
- precedingChars: /(?:[ -:/'"<([{])/,
- followingChars: /(?:[ -.,:;!?/'")\]}>]|$)/,
- punctuation: /(=|-|~|`|#|"|\^|\+|\*|:|\.|'|_|\+)/,
- tokenizer: {
- root: [
- [/^(@punctuation{3,}$){1,1}?/, 'keyword'],
- [
- /^\s*([\*\-+âŖâĸ]|[a-zA-Z0-9]+\.|\([a-zA-Z0-9]+\)|[a-zA-Z0-9]+\))\s/,
- 'keyword',
- ],
- [/([ ]::)\s*$/, 'keyword', '@blankLineOfLiteralBlocks'],
- [/(::)\s*$/, 'keyword', '@blankLineOfLiteralBlocks'],
- { include: '@tables' },
- { include: '@explicitMarkupBlocks' },
- { include: '@inlineMarkup' },
- ],
- explicitMarkupBlocks: [
- { include: '@citations' },
- { include: '@footnotes' },
- [
- /^(\.\.\s)(@simpleRefName)(::\s)(.*)$/,
- [{ token: '', next: 'subsequentLines' }, 'keyword', '', ''],
- ],
- [
- /^(\.\.)(\s+)(_)(@simpleRefName)(:)(\s+)(.*)/,
- [
- { token: '', next: 'hyperlinks' },
- '',
- '',
- 'string.link',
- '',
- '',
- 'string.link',
- ],
- ],
- [
- /^((?:(?:\.\.)(?:\s+))?)(__)(:)(\s+)(.*)/,
- [
- { token: '', next: 'subsequentLines' },
- '',
- '',
- '',
- 'string.link',
- ],
- ],
- [/^(__\s+)(.+)/, ['', 'string.link']],
- [
- /^(\.\.)( \|)([^| ]+[^|]*[^| ]*)(\| )(@simpleRefName)(:: .*)/,
- [
- { token: '', next: 'subsequentLines' },
- '',
- 'string.link',
- '',
- 'keyword',
- '',
- ],
- '@rawBlocks',
- ],
- [/(\|)([^| ]+[^|]*[^| ]*)(\|_{0,2})/, ['', 'string.link', '']],
- [
- /^(\.\.)([ ].*)$/,
- [{ token: '', next: '@comments' }, 'comment'],
- ],
- ],
- inlineMarkup: [
- { include: '@citationsReference' },
- { include: '@footnotesReference' },
- [/(@simpleRefName)(_{1,2})/, ['string.link', '']],
- [
- /(`)([^<`]+\s+)(<)(.*)(>)(`)(_)/,
- ['', 'string.link', '', 'string.link', '', '', ''],
- ],
- [/\*\*([^\\*]|\*(?!\*))+\*\*/, 'strong'],
- [/\*[^*]+\*/, 'emphasis'],
- [/(``)((?:[^`]|\`(?!`))+)(``)/, ['', 'keyword', '']],
- [/(__\s+)(.+)/, ['', 'keyword']],
- [
- /(:)((?:@simpleRefNameWithoutBq)?)(:`)([^`]+)(`)/,
- ['', 'keyword', '', '', ''],
- ],
- [
- /(`)([^`]+)(`:)((?:@simpleRefNameWithoutBq)?)(:)/,
- ['', '', '', 'keyword', ''],
- ],
- [/(`)([^`]+)(`)/, ''],
- [/(_`)(@phrase)(`)/, ['', 'string.link', '']],
- ],
- citations: [
- [
- /^(\.\.\s+\[)((?:@citationName))(\]\s+)(.*)/,
- [
- { token: '', next: '@subsequentLines' },
- 'string.link',
- '',
- '',
- ],
- ],
- ],
- citationsReference: [
- [/(\[)(@citationName)(\]_)/, ['', 'string.link', '']],
- ],
- footnotes: [
- [
- /^(\.\.\s+\[)((?:[0-9]+))(\]\s+.*)/,
- [{ token: '', next: '@subsequentLines' }, 'string.link', ''],
- ],
- [
- /^(\.\.\s+\[)((?:#@simpleRefName?))(\]\s+)(.*)/,
- [
- { token: '', next: '@subsequentLines' },
- 'string.link',
- '',
- '',
- ],
- ],
- [
- /^(\.\.\s+\[)((?:\*))(\]\s+)(.*)/,
- [
- { token: '', next: '@subsequentLines' },
- 'string.link',
- '',
- '',
- ],
- ],
- ],
- footnotesReference: [
- [/(\[)([0-9]+)(\])(_)/, ['', 'string.link', '', '']],
- [/(\[)(#@simpleRefName?)(\])(_)/, ['', 'string.link', '', '']],
- [/(\[)(\*)(\])(_)/, ['', 'string.link', '', '']],
- ],
- blankLineOfLiteralBlocks: [
- [/^$/, '', '@subsequentLinesOfLiteralBlocks'],
- [/^.*$/, '', '@pop'],
- ],
- subsequentLinesOfLiteralBlocks: [
- [/(@blockLiteralStart+)(.*)/, ['keyword', '']],
- [/^(?!blockLiteralStart)/, '', '@popall'],
- ],
- subsequentLines: [
- [/^[\s]+.*/, ''],
- [/^(?!\s)/, '', '@pop'],
- ],
- hyperlinks: [
- [/^[\s]+.*/, 'string.link'],
- [/^(?!\s)/, '', '@pop'],
- ],
- comments: [
- [/^[\s]+.*/, 'comment'],
- [/^(?!\s)/, '', '@pop'],
- ],
- tables: [
- [/\+-[+-]+/, 'keyword'],
- [/\+=[+=]+/, 'keyword'],
- ],
- },
- };
- },
- },
-]);
diff --git a/docs/1134.1134.js b/docs/1134.1134.js
deleted file mode 100644
index b71b278f..00000000
--- a/docs/1134.1134.js
+++ /dev/null
@@ -1,391 +0,0 @@
-(self.webpackChunkmermaid_live_editor =
- self.webpackChunkmermaid_live_editor || []).push([
- [1134, 6717],
- {
- 41134: (e, t, n) => {
- 'use strict';
- n.r(t), n.d(t, { conf: () => o, language: () => r });
- var i = n(96717),
- o = i.conf,
- r = {
- defaultToken: 'invalid',
- tokenPostfix: '.js',
- keywords: [
- 'break',
- 'case',
- 'catch',
- 'class',
- 'continue',
- 'const',
- 'constructor',
- 'debugger',
- 'default',
- 'delete',
- 'do',
- 'else',
- 'export',
- 'extends',
- 'false',
- 'finally',
- 'for',
- 'from',
- 'function',
- 'get',
- 'if',
- 'import',
- 'in',
- 'instanceof',
- 'let',
- 'new',
- 'null',
- 'return',
- 'set',
- 'super',
- 'switch',
- 'symbol',
- 'this',
- 'throw',
- 'true',
- 'try',
- 'typeof',
- 'undefined',
- 'var',
- 'void',
- 'while',
- 'with',
- 'yield',
- 'async',
- 'await',
- 'of',
- ],
- typeKeywords: [],
- operators: i.language.operators,
- symbols: i.language.symbols,
- escapes: i.language.escapes,
- digits: i.language.digits,
- octaldigits: i.language.octaldigits,
- binarydigits: i.language.binarydigits,
- hexdigits: i.language.hexdigits,
- regexpctl: i.language.regexpctl,
- regexpesc: i.language.regexpesc,
- tokenizer: i.language.tokenizer,
- };
- },
- 96717: (e, t, n) => {
- 'use strict';
- n.r(t), n.d(t, { conf: () => o, language: () => r });
- var i = n(89587),
- o = {
- wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,
- comments: { lineComment: '//', blockComment: ['/*', '*/'] },
- brackets: [
- ['{', '}'],
- ['[', ']'],
- ['(', ')'],
- ],
- onEnterRules: [
- {
- beforeText: /^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,
- afterText: /^\s*\*\/$/,
- action: {
- indentAction: i.Mj.IndentAction.IndentOutdent,
- appendText: ' * ',
- },
- },
- {
- beforeText: /^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,
- action: {
- indentAction: i.Mj.IndentAction.None,
- appendText: ' * ',
- },
- },
- {
- beforeText: /^(\t|(\ \ ))*\ \*(\ ([^\*]|\*(?!\/))*)?$/,
- action: {
- indentAction: i.Mj.IndentAction.None,
- appendText: '* ',
- },
- },
- {
- beforeText: /^(\t|(\ \ ))*\ \*\/\s*$/,
- action: { indentAction: i.Mj.IndentAction.None, removeText: 1 },
- },
- ],
- autoClosingPairs: [
- { open: '{', close: '}' },
- { open: '[', close: ']' },
- { open: '(', close: ')' },
- { open: '"', close: '"', notIn: ['string'] },
- { open: "'", close: "'", notIn: ['string', 'comment'] },
- { open: '`', close: '`', notIn: ['string', 'comment'] },
- { open: '/**', close: ' */', notIn: ['string'] },
- ],
- folding: {
- markers: {
- start: new RegExp('^\\s*//\\s*#?region\\b'),
- end: new RegExp('^\\s*//\\s*#?endregion\\b'),
- },
- },
- },
- r = {
- defaultToken: 'invalid',
- tokenPostfix: '.ts',
- keywords: [
- 'abstract',
- 'any',
- 'as',
- 'asserts',
- 'bigint',
- 'boolean',
- 'break',
- 'case',
- 'catch',
- 'class',
- 'continue',
- 'const',
- 'constructor',
- 'debugger',
- 'declare',
- 'default',
- 'delete',
- 'do',
- 'else',
- 'enum',
- 'export',
- 'extends',
- 'false',
- 'finally',
- 'for',
- 'from',
- 'function',
- 'get',
- 'if',
- 'implements',
- 'import',
- 'in',
- 'infer',
- 'instanceof',
- 'interface',
- 'is',
- 'keyof',
- 'let',
- 'module',
- 'namespace',
- 'never',
- 'new',
- 'null',
- 'number',
- 'object',
- 'package',
- 'private',
- 'protected',
- 'public',
- 'readonly',
- 'require',
- 'global',
- 'return',
- 'set',
- 'static',
- 'string',
- 'super',
- 'switch',
- 'symbol',
- 'this',
- 'throw',
- 'true',
- 'try',
- 'type',
- 'typeof',
- 'undefined',
- 'unique',
- 'unknown',
- 'var',
- 'void',
- 'while',
- 'with',
- 'yield',
- 'async',
- 'await',
- 'of',
- ],
- operators: [
- '<=',
- '>=',
- '==',
- '!=',
- '===',
- '!==',
- '=>',
- '+',
- '-',
- '**',
- '*',
- '/',
- '%',
- '++',
- '--',
- '<<',
- '',
- '>>',
- '>>>',
- '&',
- '|',
- '^',
- '!',
- '~',
- '&&',
- '||',
- '??',
- '?',
- ':',
- '=',
- '+=',
- '-=',
- '*=',
- '**=',
- '/=',
- '%=',
- '<<=',
- '>>=',
- '>>>=',
- '&=',
- '|=',
- '^=',
- '@',
- ],
- symbols: /[=>](?!@symbols)/, '@brackets'],
- [/!(?=([^=]|$))/, 'delimiter'],
- [
- /@symbols/,
- { cases: { '@operators': 'delimiter', '@default': '' } },
- ],
- [/(@digits)[eE]([\-+]?(@digits))?/, 'number.float'],
- [/(@digits)\.(@digits)([eE][\-+]?(@digits))?/, 'number.float'],
- [/0[xX](@hexdigits)n?/, 'number.hex'],
- [/0[oO]?(@octaldigits)n?/, 'number.octal'],
- [/0[bB](@binarydigits)n?/, 'number.binary'],
- [/(@digits)n?/, 'number'],
- [/[;,.]/, 'delimiter'],
- [/"([^"\\]|\\.)*$/, 'string.invalid'],
- [/'([^'\\]|\\.)*$/, 'string.invalid'],
- [/"/, 'string', '@string_double'],
- [/'/, 'string', '@string_single'],
- [/`/, 'string', '@string_backtick'],
- ],
- whitespace: [
- [/[ \t\r\n]+/, ''],
- [/\/\*\*(?!\/)/, 'comment.doc', '@jsdoc'],
- [/\/\*/, 'comment', '@comment'],
- [/\/\/.*$/, 'comment'],
- ],
- comment: [
- [/[^\/*]+/, 'comment'],
- [/\*\//, 'comment', '@pop'],
- [/[\/*]/, 'comment'],
- ],
- jsdoc: [
- [/[^\/*]+/, 'comment.doc'],
- [/\*\//, 'comment.doc', '@pop'],
- [/[\/*]/, 'comment.doc'],
- ],
- regexp: [
- [
- /(\{)(\d+(?:,\d*)?)(\})/,
- [
- 'regexp.escape.control',
- 'regexp.escape.control',
- 'regexp.escape.control',
- ],
- ],
- [
- /(\[)(\^?)(?=(?:[^\]\\\/]|\\.)+)/,
- [
- 'regexp.escape.control',
- { token: 'regexp.escape.control', next: '@regexrange' },
- ],
- ],
- [
- /(\()(\?:|\?=|\?!)/,
- ['regexp.escape.control', 'regexp.escape.control'],
- ],
- [/[()]/, 'regexp.escape.control'],
- [/@regexpctl/, 'regexp.escape.control'],
- [/[^\\\/]/, 'regexp'],
- [/@regexpesc/, 'regexp.escape'],
- [/\\\./, 'regexp.invalid'],
- [
- /(\/)([gimsuy]*)/,
- [
- { token: 'regexp', bracket: '@close', next: '@pop' },
- 'keyword.other',
- ],
- ],
- ],
- regexrange: [
- [/-/, 'regexp.escape.control'],
- [/\^/, 'regexp.invalid'],
- [/@regexpesc/, 'regexp.escape'],
- [/[^\]]/, 'regexp'],
- [
- /\]/,
- {
- token: 'regexp.escape.control',
- next: '@pop',
- bracket: '@close',
- },
- ],
- ],
- string_double: [
- [/[^\\"]+/, 'string'],
- [/@escapes/, 'string.escape'],
- [/\\./, 'string.escape.invalid'],
- [/"/, 'string', '@pop'],
- ],
- string_single: [
- [/[^\\']+/, 'string'],
- [/@escapes/, 'string.escape'],
- [/\\./, 'string.escape.invalid'],
- [/'/, 'string', '@pop'],
- ],
- string_backtick: [
- [
- /\$\{/,
- { token: 'delimiter.bracket', next: '@bracketCounting' },
- ],
- [/[^\\`$]+/, 'string'],
- [/@escapes/, 'string.escape'],
- [/\\./, 'string.escape.invalid'],
- [/`/, 'string', '@pop'],
- ],
- bracketCounting: [
- [/\{/, 'delimiter.bracket', '@bracketCounting'],
- [/\}/, 'delimiter.bracket', '@pop'],
- { include: 'common' },
- ],
- },
- };
- },
- },
-]);
diff --git a/docs/1147.1147.js b/docs/1147.1147.js
deleted file mode 100644
index 8d048c74..00000000
--- a/docs/1147.1147.js
+++ /dev/null
@@ -1,229 +0,0 @@
-(self.webpackChunkmermaid_live_editor =
- self.webpackChunkmermaid_live_editor || []).push([
- [1147],
- {
- 21147: (e, r, t) => {
- 'use strict';
- t.r(r), t.d(r, { conf: () => n, language: () => s });
- var n = {
- wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\@\#%\^\&\*\(\)\=\$\-\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,
- comments: { blockComment: ['###', '###'], lineComment: '#' },
- brackets: [
- ['{', '}'],
- ['[', ']'],
- ['(', ')'],
- ],
- autoClosingPairs: [
- { open: '{', close: '}' },
- { open: '[', close: ']' },
- { open: '(', close: ')' },
- { open: '"', close: '"' },
- { open: "'", close: "'" },
- ],
- surroundingPairs: [
- { open: '{', close: '}' },
- { open: '[', close: ']' },
- { open: '(', close: ')' },
- { open: '"', close: '"' },
- { open: "'", close: "'" },
- ],
- folding: {
- markers: {
- start: new RegExp('^\\s*#region\\b'),
- end: new RegExp('^\\s*#endregion\\b'),
- },
- },
- },
- s = {
- defaultToken: '',
- ignoreCase: !0,
- tokenPostfix: '.coffee',
- brackets: [
- { open: '{', close: '}', token: 'delimiter.curly' },
- { open: '[', close: ']', token: 'delimiter.square' },
- { open: '(', close: ')', token: 'delimiter.parenthesis' },
- ],
- regEx: /\/(?!\/\/)(?:[^\/\\]|\\.)*\/[igm]*/,
- keywords: [
- 'and',
- 'or',
- 'is',
- 'isnt',
- 'not',
- 'on',
- 'yes',
- '@',
- 'no',
- 'off',
- 'true',
- 'false',
- 'null',
- 'this',
- 'new',
- 'delete',
- 'typeof',
- 'in',
- 'instanceof',
- 'return',
- 'throw',
- 'break',
- 'continue',
- 'debugger',
- 'if',
- 'else',
- 'switch',
- 'for',
- 'while',
- 'do',
- 'try',
- 'catch',
- 'finally',
- 'class',
- 'extends',
- 'super',
- 'undefined',
- 'then',
- 'unless',
- 'until',
- 'loop',
- 'of',
- 'by',
- 'when',
- ],
- symbols: /[=> {
- 'use strict';
- i.r(e), i.d(e, { conf: () => d, language: () => f });
- var d = {
- comments: { lineComment: '//', blockComment: ['/*', '*/'] },
- brackets: [
- ['{', '}'],
- ['[', ']'],
- ['(', ')'],
- ['<', '>'],
- ],
- autoClosingPairs: [
- { open: '"', close: '"', notIn: ['string', 'comment'] },
- { open: '{', close: '}', notIn: ['string', 'comment'] },
- { open: '[', close: ']', notIn: ['string', 'comment'] },
- { open: '(', close: ')', notIn: ['string', 'comment'] },
- ],
- },
- f = {
- defaultToken: '',
- tokenPostfix: '.sol',
- brackets: [
- { token: 'delimiter.curly', open: '{', close: '}' },
- { token: 'delimiter.parenthesis', open: '(', close: ')' },
- { token: 'delimiter.square', open: '[', close: ']' },
- { token: 'delimiter.angle', open: '<', close: '>' },
- ],
- keywords: [
- 'pragma',
- 'solidity',
- 'contract',
- 'library',
- 'using',
- 'struct',
- 'function',
- 'modifier',
- 'constructor',
- 'address',
- 'string',
- 'bool',
- 'Int',
- 'Uint',
- 'Byte',
- 'Fixed',
- 'Ufixed',
- 'int',
- 'int8',
- 'int16',
- 'int24',
- 'int32',
- 'int40',
- 'int48',
- 'int56',
- 'int64',
- 'int72',
- 'int80',
- 'int88',
- 'int96',
- 'int104',
- 'int112',
- 'int120',
- 'int128',
- 'int136',
- 'int144',
- 'int152',
- 'int160',
- 'int168',
- 'int176',
- 'int184',
- 'int192',
- 'int200',
- 'int208',
- 'int216',
- 'int224',
- 'int232',
- 'int240',
- 'int248',
- 'int256',
- 'uint',
- 'uint8',
- 'uint16',
- 'uint24',
- 'uint32',
- 'uint40',
- 'uint48',
- 'uint56',
- 'uint64',
- 'uint72',
- 'uint80',
- 'uint88',
- 'uint96',
- 'uint104',
- 'uint112',
- 'uint120',
- 'uint128',
- 'uint136',
- 'uint144',
- 'uint152',
- 'uint160',
- 'uint168',
- 'uint176',
- 'uint184',
- 'uint192',
- 'uint200',
- 'uint208',
- 'uint216',
- 'uint224',
- 'uint232',
- 'uint240',
- 'uint248',
- 'uint256',
- 'byte',
- 'bytes',
- 'bytes1',
- 'bytes2',
- 'bytes3',
- 'bytes4',
- 'bytes5',
- 'bytes6',
- 'bytes7',
- 'bytes8',
- 'bytes9',
- 'bytes10',
- 'bytes11',
- 'bytes12',
- 'bytes13',
- 'bytes14',
- 'bytes15',
- 'bytes16',
- 'bytes17',
- 'bytes18',
- 'bytes19',
- 'bytes20',
- 'bytes21',
- 'bytes22',
- 'bytes23',
- 'bytes24',
- 'bytes25',
- 'bytes26',
- 'bytes27',
- 'bytes28',
- 'bytes29',
- 'bytes30',
- 'bytes31',
- 'bytes32',
- 'fixed',
- 'fixed0x8',
- 'fixed0x16',
- 'fixed0x24',
- 'fixed0x32',
- 'fixed0x40',
- 'fixed0x48',
- 'fixed0x56',
- 'fixed0x64',
- 'fixed0x72',
- 'fixed0x80',
- 'fixed0x88',
- 'fixed0x96',
- 'fixed0x104',
- 'fixed0x112',
- 'fixed0x120',
- 'fixed0x128',
- 'fixed0x136',
- 'fixed0x144',
- 'fixed0x152',
- 'fixed0x160',
- 'fixed0x168',
- 'fixed0x176',
- 'fixed0x184',
- 'fixed0x192',
- 'fixed0x200',
- 'fixed0x208',
- 'fixed0x216',
- 'fixed0x224',
- 'fixed0x232',
- 'fixed0x240',
- 'fixed0x248',
- 'fixed0x256',
- 'fixed8x8',
- 'fixed8x16',
- 'fixed8x24',
- 'fixed8x32',
- 'fixed8x40',
- 'fixed8x48',
- 'fixed8x56',
- 'fixed8x64',
- 'fixed8x72',
- 'fixed8x80',
- 'fixed8x88',
- 'fixed8x96',
- 'fixed8x104',
- 'fixed8x112',
- 'fixed8x120',
- 'fixed8x128',
- 'fixed8x136',
- 'fixed8x144',
- 'fixed8x152',
- 'fixed8x160',
- 'fixed8x168',
- 'fixed8x176',
- 'fixed8x184',
- 'fixed8x192',
- 'fixed8x200',
- 'fixed8x208',
- 'fixed8x216',
- 'fixed8x224',
- 'fixed8x232',
- 'fixed8x240',
- 'fixed8x248',
- 'fixed16x8',
- 'fixed16x16',
- 'fixed16x24',
- 'fixed16x32',
- 'fixed16x40',
- 'fixed16x48',
- 'fixed16x56',
- 'fixed16x64',
- 'fixed16x72',
- 'fixed16x80',
- 'fixed16x88',
- 'fixed16x96',
- 'fixed16x104',
- 'fixed16x112',
- 'fixed16x120',
- 'fixed16x128',
- 'fixed16x136',
- 'fixed16x144',
- 'fixed16x152',
- 'fixed16x160',
- 'fixed16x168',
- 'fixed16x176',
- 'fixed16x184',
- 'fixed16x192',
- 'fixed16x200',
- 'fixed16x208',
- 'fixed16x216',
- 'fixed16x224',
- 'fixed16x232',
- 'fixed16x240',
- 'fixed24x8',
- 'fixed24x16',
- 'fixed24x24',
- 'fixed24x32',
- 'fixed24x40',
- 'fixed24x48',
- 'fixed24x56',
- 'fixed24x64',
- 'fixed24x72',
- 'fixed24x80',
- 'fixed24x88',
- 'fixed24x96',
- 'fixed24x104',
- 'fixed24x112',
- 'fixed24x120',
- 'fixed24x128',
- 'fixed24x136',
- 'fixed24x144',
- 'fixed24x152',
- 'fixed24x160',
- 'fixed24x168',
- 'fixed24x176',
- 'fixed24x184',
- 'fixed24x192',
- 'fixed24x200',
- 'fixed24x208',
- 'fixed24x216',
- 'fixed24x224',
- 'fixed24x232',
- 'fixed32x8',
- 'fixed32x16',
- 'fixed32x24',
- 'fixed32x32',
- 'fixed32x40',
- 'fixed32x48',
- 'fixed32x56',
- 'fixed32x64',
- 'fixed32x72',
- 'fixed32x80',
- 'fixed32x88',
- 'fixed32x96',
- 'fixed32x104',
- 'fixed32x112',
- 'fixed32x120',
- 'fixed32x128',
- 'fixed32x136',
- 'fixed32x144',
- 'fixed32x152',
- 'fixed32x160',
- 'fixed32x168',
- 'fixed32x176',
- 'fixed32x184',
- 'fixed32x192',
- 'fixed32x200',
- 'fixed32x208',
- 'fixed32x216',
- 'fixed32x224',
- 'fixed40x8',
- 'fixed40x16',
- 'fixed40x24',
- 'fixed40x32',
- 'fixed40x40',
- 'fixed40x48',
- 'fixed40x56',
- 'fixed40x64',
- 'fixed40x72',
- 'fixed40x80',
- 'fixed40x88',
- 'fixed40x96',
- 'fixed40x104',
- 'fixed40x112',
- 'fixed40x120',
- 'fixed40x128',
- 'fixed40x136',
- 'fixed40x144',
- 'fixed40x152',
- 'fixed40x160',
- 'fixed40x168',
- 'fixed40x176',
- 'fixed40x184',
- 'fixed40x192',
- 'fixed40x200',
- 'fixed40x208',
- 'fixed40x216',
- 'fixed48x8',
- 'fixed48x16',
- 'fixed48x24',
- 'fixed48x32',
- 'fixed48x40',
- 'fixed48x48',
- 'fixed48x56',
- 'fixed48x64',
- 'fixed48x72',
- 'fixed48x80',
- 'fixed48x88',
- 'fixed48x96',
- 'fixed48x104',
- 'fixed48x112',
- 'fixed48x120',
- 'fixed48x128',
- 'fixed48x136',
- 'fixed48x144',
- 'fixed48x152',
- 'fixed48x160',
- 'fixed48x168',
- 'fixed48x176',
- 'fixed48x184',
- 'fixed48x192',
- 'fixed48x200',
- 'fixed48x208',
- 'fixed56x8',
- 'fixed56x16',
- 'fixed56x24',
- 'fixed56x32',
- 'fixed56x40',
- 'fixed56x48',
- 'fixed56x56',
- 'fixed56x64',
- 'fixed56x72',
- 'fixed56x80',
- 'fixed56x88',
- 'fixed56x96',
- 'fixed56x104',
- 'fixed56x112',
- 'fixed56x120',
- 'fixed56x128',
- 'fixed56x136',
- 'fixed56x144',
- 'fixed56x152',
- 'fixed56x160',
- 'fixed56x168',
- 'fixed56x176',
- 'fixed56x184',
- 'fixed56x192',
- 'fixed56x200',
- 'fixed64x8',
- 'fixed64x16',
- 'fixed64x24',
- 'fixed64x32',
- 'fixed64x40',
- 'fixed64x48',
- 'fixed64x56',
- 'fixed64x64',
- 'fixed64x72',
- 'fixed64x80',
- 'fixed64x88',
- 'fixed64x96',
- 'fixed64x104',
- 'fixed64x112',
- 'fixed64x120',
- 'fixed64x128',
- 'fixed64x136',
- 'fixed64x144',
- 'fixed64x152',
- 'fixed64x160',
- 'fixed64x168',
- 'fixed64x176',
- 'fixed64x184',
- 'fixed64x192',
- 'fixed72x8',
- 'fixed72x16',
- 'fixed72x24',
- 'fixed72x32',
- 'fixed72x40',
- 'fixed72x48',
- 'fixed72x56',
- 'fixed72x64',
- 'fixed72x72',
- 'fixed72x80',
- 'fixed72x88',
- 'fixed72x96',
- 'fixed72x104',
- 'fixed72x112',
- 'fixed72x120',
- 'fixed72x128',
- 'fixed72x136',
- 'fixed72x144',
- 'fixed72x152',
- 'fixed72x160',
- 'fixed72x168',
- 'fixed72x176',
- 'fixed72x184',
- 'fixed80x8',
- 'fixed80x16',
- 'fixed80x24',
- 'fixed80x32',
- 'fixed80x40',
- 'fixed80x48',
- 'fixed80x56',
- 'fixed80x64',
- 'fixed80x72',
- 'fixed80x80',
- 'fixed80x88',
- 'fixed80x96',
- 'fixed80x104',
- 'fixed80x112',
- 'fixed80x120',
- 'fixed80x128',
- 'fixed80x136',
- 'fixed80x144',
- 'fixed80x152',
- 'fixed80x160',
- 'fixed80x168',
- 'fixed80x176',
- 'fixed88x8',
- 'fixed88x16',
- 'fixed88x24',
- 'fixed88x32',
- 'fixed88x40',
- 'fixed88x48',
- 'fixed88x56',
- 'fixed88x64',
- 'fixed88x72',
- 'fixed88x80',
- 'fixed88x88',
- 'fixed88x96',
- 'fixed88x104',
- 'fixed88x112',
- 'fixed88x120',
- 'fixed88x128',
- 'fixed88x136',
- 'fixed88x144',
- 'fixed88x152',
- 'fixed88x160',
- 'fixed88x168',
- 'fixed96x8',
- 'fixed96x16',
- 'fixed96x24',
- 'fixed96x32',
- 'fixed96x40',
- 'fixed96x48',
- 'fixed96x56',
- 'fixed96x64',
- 'fixed96x72',
- 'fixed96x80',
- 'fixed96x88',
- 'fixed96x96',
- 'fixed96x104',
- 'fixed96x112',
- 'fixed96x120',
- 'fixed96x128',
- 'fixed96x136',
- 'fixed96x144',
- 'fixed96x152',
- 'fixed96x160',
- 'fixed104x8',
- 'fixed104x16',
- 'fixed104x24',
- 'fixed104x32',
- 'fixed104x40',
- 'fixed104x48',
- 'fixed104x56',
- 'fixed104x64',
- 'fixed104x72',
- 'fixed104x80',
- 'fixed104x88',
- 'fixed104x96',
- 'fixed104x104',
- 'fixed104x112',
- 'fixed104x120',
- 'fixed104x128',
- 'fixed104x136',
- 'fixed104x144',
- 'fixed104x152',
- 'fixed112x8',
- 'fixed112x16',
- 'fixed112x24',
- 'fixed112x32',
- 'fixed112x40',
- 'fixed112x48',
- 'fixed112x56',
- 'fixed112x64',
- 'fixed112x72',
- 'fixed112x80',
- 'fixed112x88',
- 'fixed112x96',
- 'fixed112x104',
- 'fixed112x112',
- 'fixed112x120',
- 'fixed112x128',
- 'fixed112x136',
- 'fixed112x144',
- 'fixed120x8',
- 'fixed120x16',
- 'fixed120x24',
- 'fixed120x32',
- 'fixed120x40',
- 'fixed120x48',
- 'fixed120x56',
- 'fixed120x64',
- 'fixed120x72',
- 'fixed120x80',
- 'fixed120x88',
- 'fixed120x96',
- 'fixed120x104',
- 'fixed120x112',
- 'fixed120x120',
- 'fixed120x128',
- 'fixed120x136',
- 'fixed128x8',
- 'fixed128x16',
- 'fixed128x24',
- 'fixed128x32',
- 'fixed128x40',
- 'fixed128x48',
- 'fixed128x56',
- 'fixed128x64',
- 'fixed128x72',
- 'fixed128x80',
- 'fixed128x88',
- 'fixed128x96',
- 'fixed128x104',
- 'fixed128x112',
- 'fixed128x120',
- 'fixed128x128',
- 'fixed136x8',
- 'fixed136x16',
- 'fixed136x24',
- 'fixed136x32',
- 'fixed136x40',
- 'fixed136x48',
- 'fixed136x56',
- 'fixed136x64',
- 'fixed136x72',
- 'fixed136x80',
- 'fixed136x88',
- 'fixed136x96',
- 'fixed136x104',
- 'fixed136x112',
- 'fixed136x120',
- 'fixed144x8',
- 'fixed144x16',
- 'fixed144x24',
- 'fixed144x32',
- 'fixed144x40',
- 'fixed144x48',
- 'fixed144x56',
- 'fixed144x64',
- 'fixed144x72',
- 'fixed144x80',
- 'fixed144x88',
- 'fixed144x96',
- 'fixed144x104',
- 'fixed144x112',
- 'fixed152x8',
- 'fixed152x16',
- 'fixed152x24',
- 'fixed152x32',
- 'fixed152x40',
- 'fixed152x48',
- 'fixed152x56',
- 'fixed152x64',
- 'fixed152x72',
- 'fixed152x80',
- 'fixed152x88',
- 'fixed152x96',
- 'fixed152x104',
- 'fixed160x8',
- 'fixed160x16',
- 'fixed160x24',
- 'fixed160x32',
- 'fixed160x40',
- 'fixed160x48',
- 'fixed160x56',
- 'fixed160x64',
- 'fixed160x72',
- 'fixed160x80',
- 'fixed160x88',
- 'fixed160x96',
- 'fixed168x8',
- 'fixed168x16',
- 'fixed168x24',
- 'fixed168x32',
- 'fixed168x40',
- 'fixed168x48',
- 'fixed168x56',
- 'fixed168x64',
- 'fixed168x72',
- 'fixed168x80',
- 'fixed168x88',
- 'fixed176x8',
- 'fixed176x16',
- 'fixed176x24',
- 'fixed176x32',
- 'fixed176x40',
- 'fixed176x48',
- 'fixed176x56',
- 'fixed176x64',
- 'fixed176x72',
- 'fixed176x80',
- 'fixed184x8',
- 'fixed184x16',
- 'fixed184x24',
- 'fixed184x32',
- 'fixed184x40',
- 'fixed184x48',
- 'fixed184x56',
- 'fixed184x64',
- 'fixed184x72',
- 'fixed192x8',
- 'fixed192x16',
- 'fixed192x24',
- 'fixed192x32',
- 'fixed192x40',
- 'fixed192x48',
- 'fixed192x56',
- 'fixed192x64',
- 'fixed200x8',
- 'fixed200x16',
- 'fixed200x24',
- 'fixed200x32',
- 'fixed200x40',
- 'fixed200x48',
- 'fixed200x56',
- 'fixed208x8',
- 'fixed208x16',
- 'fixed208x24',
- 'fixed208x32',
- 'fixed208x40',
- 'fixed208x48',
- 'fixed216x8',
- 'fixed216x16',
- 'fixed216x24',
- 'fixed216x32',
- 'fixed216x40',
- 'fixed224x8',
- 'fixed224x16',
- 'fixed224x24',
- 'fixed224x32',
- 'fixed232x8',
- 'fixed232x16',
- 'fixed232x24',
- 'fixed240x8',
- 'fixed240x16',
- 'fixed248x8',
- 'ufixed',
- 'ufixed0x8',
- 'ufixed0x16',
- 'ufixed0x24',
- 'ufixed0x32',
- 'ufixed0x40',
- 'ufixed0x48',
- 'ufixed0x56',
- 'ufixed0x64',
- 'ufixed0x72',
- 'ufixed0x80',
- 'ufixed0x88',
- 'ufixed0x96',
- 'ufixed0x104',
- 'ufixed0x112',
- 'ufixed0x120',
- 'ufixed0x128',
- 'ufixed0x136',
- 'ufixed0x144',
- 'ufixed0x152',
- 'ufixed0x160',
- 'ufixed0x168',
- 'ufixed0x176',
- 'ufixed0x184',
- 'ufixed0x192',
- 'ufixed0x200',
- 'ufixed0x208',
- 'ufixed0x216',
- 'ufixed0x224',
- 'ufixed0x232',
- 'ufixed0x240',
- 'ufixed0x248',
- 'ufixed0x256',
- 'ufixed8x8',
- 'ufixed8x16',
- 'ufixed8x24',
- 'ufixed8x32',
- 'ufixed8x40',
- 'ufixed8x48',
- 'ufixed8x56',
- 'ufixed8x64',
- 'ufixed8x72',
- 'ufixed8x80',
- 'ufixed8x88',
- 'ufixed8x96',
- 'ufixed8x104',
- 'ufixed8x112',
- 'ufixed8x120',
- 'ufixed8x128',
- 'ufixed8x136',
- 'ufixed8x144',
- 'ufixed8x152',
- 'ufixed8x160',
- 'ufixed8x168',
- 'ufixed8x176',
- 'ufixed8x184',
- 'ufixed8x192',
- 'ufixed8x200',
- 'ufixed8x208',
- 'ufixed8x216',
- 'ufixed8x224',
- 'ufixed8x232',
- 'ufixed8x240',
- 'ufixed8x248',
- 'ufixed16x8',
- 'ufixed16x16',
- 'ufixed16x24',
- 'ufixed16x32',
- 'ufixed16x40',
- 'ufixed16x48',
- 'ufixed16x56',
- 'ufixed16x64',
- 'ufixed16x72',
- 'ufixed16x80',
- 'ufixed16x88',
- 'ufixed16x96',
- 'ufixed16x104',
- 'ufixed16x112',
- 'ufixed16x120',
- 'ufixed16x128',
- 'ufixed16x136',
- 'ufixed16x144',
- 'ufixed16x152',
- 'ufixed16x160',
- 'ufixed16x168',
- 'ufixed16x176',
- 'ufixed16x184',
- 'ufixed16x192',
- 'ufixed16x200',
- 'ufixed16x208',
- 'ufixed16x216',
- 'ufixed16x224',
- 'ufixed16x232',
- 'ufixed16x240',
- 'ufixed24x8',
- 'ufixed24x16',
- 'ufixed24x24',
- 'ufixed24x32',
- 'ufixed24x40',
- 'ufixed24x48',
- 'ufixed24x56',
- 'ufixed24x64',
- 'ufixed24x72',
- 'ufixed24x80',
- 'ufixed24x88',
- 'ufixed24x96',
- 'ufixed24x104',
- 'ufixed24x112',
- 'ufixed24x120',
- 'ufixed24x128',
- 'ufixed24x136',
- 'ufixed24x144',
- 'ufixed24x152',
- 'ufixed24x160',
- 'ufixed24x168',
- 'ufixed24x176',
- 'ufixed24x184',
- 'ufixed24x192',
- 'ufixed24x200',
- 'ufixed24x208',
- 'ufixed24x216',
- 'ufixed24x224',
- 'ufixed24x232',
- 'ufixed32x8',
- 'ufixed32x16',
- 'ufixed32x24',
- 'ufixed32x32',
- 'ufixed32x40',
- 'ufixed32x48',
- 'ufixed32x56',
- 'ufixed32x64',
- 'ufixed32x72',
- 'ufixed32x80',
- 'ufixed32x88',
- 'ufixed32x96',
- 'ufixed32x104',
- 'ufixed32x112',
- 'ufixed32x120',
- 'ufixed32x128',
- 'ufixed32x136',
- 'ufixed32x144',
- 'ufixed32x152',
- 'ufixed32x160',
- 'ufixed32x168',
- 'ufixed32x176',
- 'ufixed32x184',
- 'ufixed32x192',
- 'ufixed32x200',
- 'ufixed32x208',
- 'ufixed32x216',
- 'ufixed32x224',
- 'ufixed40x8',
- 'ufixed40x16',
- 'ufixed40x24',
- 'ufixed40x32',
- 'ufixed40x40',
- 'ufixed40x48',
- 'ufixed40x56',
- 'ufixed40x64',
- 'ufixed40x72',
- 'ufixed40x80',
- 'ufixed40x88',
- 'ufixed40x96',
- 'ufixed40x104',
- 'ufixed40x112',
- 'ufixed40x120',
- 'ufixed40x128',
- 'ufixed40x136',
- 'ufixed40x144',
- 'ufixed40x152',
- 'ufixed40x160',
- 'ufixed40x168',
- 'ufixed40x176',
- 'ufixed40x184',
- 'ufixed40x192',
- 'ufixed40x200',
- 'ufixed40x208',
- 'ufixed40x216',
- 'ufixed48x8',
- 'ufixed48x16',
- 'ufixed48x24',
- 'ufixed48x32',
- 'ufixed48x40',
- 'ufixed48x48',
- 'ufixed48x56',
- 'ufixed48x64',
- 'ufixed48x72',
- 'ufixed48x80',
- 'ufixed48x88',
- 'ufixed48x96',
- 'ufixed48x104',
- 'ufixed48x112',
- 'ufixed48x120',
- 'ufixed48x128',
- 'ufixed48x136',
- 'ufixed48x144',
- 'ufixed48x152',
- 'ufixed48x160',
- 'ufixed48x168',
- 'ufixed48x176',
- 'ufixed48x184',
- 'ufixed48x192',
- 'ufixed48x200',
- 'ufixed48x208',
- 'ufixed56x8',
- 'ufixed56x16',
- 'ufixed56x24',
- 'ufixed56x32',
- 'ufixed56x40',
- 'ufixed56x48',
- 'ufixed56x56',
- 'ufixed56x64',
- 'ufixed56x72',
- 'ufixed56x80',
- 'ufixed56x88',
- 'ufixed56x96',
- 'ufixed56x104',
- 'ufixed56x112',
- 'ufixed56x120',
- 'ufixed56x128',
- 'ufixed56x136',
- 'ufixed56x144',
- 'ufixed56x152',
- 'ufixed56x160',
- 'ufixed56x168',
- 'ufixed56x176',
- 'ufixed56x184',
- 'ufixed56x192',
- 'ufixed56x200',
- 'ufixed64x8',
- 'ufixed64x16',
- 'ufixed64x24',
- 'ufixed64x32',
- 'ufixed64x40',
- 'ufixed64x48',
- 'ufixed64x56',
- 'ufixed64x64',
- 'ufixed64x72',
- 'ufixed64x80',
- 'ufixed64x88',
- 'ufixed64x96',
- 'ufixed64x104',
- 'ufixed64x112',
- 'ufixed64x120',
- 'ufixed64x128',
- 'ufixed64x136',
- 'ufixed64x144',
- 'ufixed64x152',
- 'ufixed64x160',
- 'ufixed64x168',
- 'ufixed64x176',
- 'ufixed64x184',
- 'ufixed64x192',
- 'ufixed72x8',
- 'ufixed72x16',
- 'ufixed72x24',
- 'ufixed72x32',
- 'ufixed72x40',
- 'ufixed72x48',
- 'ufixed72x56',
- 'ufixed72x64',
- 'ufixed72x72',
- 'ufixed72x80',
- 'ufixed72x88',
- 'ufixed72x96',
- 'ufixed72x104',
- 'ufixed72x112',
- 'ufixed72x120',
- 'ufixed72x128',
- 'ufixed72x136',
- 'ufixed72x144',
- 'ufixed72x152',
- 'ufixed72x160',
- 'ufixed72x168',
- 'ufixed72x176',
- 'ufixed72x184',
- 'ufixed80x8',
- 'ufixed80x16',
- 'ufixed80x24',
- 'ufixed80x32',
- 'ufixed80x40',
- 'ufixed80x48',
- 'ufixed80x56',
- 'ufixed80x64',
- 'ufixed80x72',
- 'ufixed80x80',
- 'ufixed80x88',
- 'ufixed80x96',
- 'ufixed80x104',
- 'ufixed80x112',
- 'ufixed80x120',
- 'ufixed80x128',
- 'ufixed80x136',
- 'ufixed80x144',
- 'ufixed80x152',
- 'ufixed80x160',
- 'ufixed80x168',
- 'ufixed80x176',
- 'ufixed88x8',
- 'ufixed88x16',
- 'ufixed88x24',
- 'ufixed88x32',
- 'ufixed88x40',
- 'ufixed88x48',
- 'ufixed88x56',
- 'ufixed88x64',
- 'ufixed88x72',
- 'ufixed88x80',
- 'ufixed88x88',
- 'ufixed88x96',
- 'ufixed88x104',
- 'ufixed88x112',
- 'ufixed88x120',
- 'ufixed88x128',
- 'ufixed88x136',
- 'ufixed88x144',
- 'ufixed88x152',
- 'ufixed88x160',
- 'ufixed88x168',
- 'ufixed96x8',
- 'ufixed96x16',
- 'ufixed96x24',
- 'ufixed96x32',
- 'ufixed96x40',
- 'ufixed96x48',
- 'ufixed96x56',
- 'ufixed96x64',
- 'ufixed96x72',
- 'ufixed96x80',
- 'ufixed96x88',
- 'ufixed96x96',
- 'ufixed96x104',
- 'ufixed96x112',
- 'ufixed96x120',
- 'ufixed96x128',
- 'ufixed96x136',
- 'ufixed96x144',
- 'ufixed96x152',
- 'ufixed96x160',
- 'ufixed104x8',
- 'ufixed104x16',
- 'ufixed104x24',
- 'ufixed104x32',
- 'ufixed104x40',
- 'ufixed104x48',
- 'ufixed104x56',
- 'ufixed104x64',
- 'ufixed104x72',
- 'ufixed104x80',
- 'ufixed104x88',
- 'ufixed104x96',
- 'ufixed104x104',
- 'ufixed104x112',
- 'ufixed104x120',
- 'ufixed104x128',
- 'ufixed104x136',
- 'ufixed104x144',
- 'ufixed104x152',
- 'ufixed112x8',
- 'ufixed112x16',
- 'ufixed112x24',
- 'ufixed112x32',
- 'ufixed112x40',
- 'ufixed112x48',
- 'ufixed112x56',
- 'ufixed112x64',
- 'ufixed112x72',
- 'ufixed112x80',
- 'ufixed112x88',
- 'ufixed112x96',
- 'ufixed112x104',
- 'ufixed112x112',
- 'ufixed112x120',
- 'ufixed112x128',
- 'ufixed112x136',
- 'ufixed112x144',
- 'ufixed120x8',
- 'ufixed120x16',
- 'ufixed120x24',
- 'ufixed120x32',
- 'ufixed120x40',
- 'ufixed120x48',
- 'ufixed120x56',
- 'ufixed120x64',
- 'ufixed120x72',
- 'ufixed120x80',
- 'ufixed120x88',
- 'ufixed120x96',
- 'ufixed120x104',
- 'ufixed120x112',
- 'ufixed120x120',
- 'ufixed120x128',
- 'ufixed120x136',
- 'ufixed128x8',
- 'ufixed128x16',
- 'ufixed128x24',
- 'ufixed128x32',
- 'ufixed128x40',
- 'ufixed128x48',
- 'ufixed128x56',
- 'ufixed128x64',
- 'ufixed128x72',
- 'ufixed128x80',
- 'ufixed128x88',
- 'ufixed128x96',
- 'ufixed128x104',
- 'ufixed128x112',
- 'ufixed128x120',
- 'ufixed128x128',
- 'ufixed136x8',
- 'ufixed136x16',
- 'ufixed136x24',
- 'ufixed136x32',
- 'ufixed136x40',
- 'ufixed136x48',
- 'ufixed136x56',
- 'ufixed136x64',
- 'ufixed136x72',
- 'ufixed136x80',
- 'ufixed136x88',
- 'ufixed136x96',
- 'ufixed136x104',
- 'ufixed136x112',
- 'ufixed136x120',
- 'ufixed144x8',
- 'ufixed144x16',
- 'ufixed144x24',
- 'ufixed144x32',
- 'ufixed144x40',
- 'ufixed144x48',
- 'ufixed144x56',
- 'ufixed144x64',
- 'ufixed144x72',
- 'ufixed144x80',
- 'ufixed144x88',
- 'ufixed144x96',
- 'ufixed144x104',
- 'ufixed144x112',
- 'ufixed152x8',
- 'ufixed152x16',
- 'ufixed152x24',
- 'ufixed152x32',
- 'ufixed152x40',
- 'ufixed152x48',
- 'ufixed152x56',
- 'ufixed152x64',
- 'ufixed152x72',
- 'ufixed152x80',
- 'ufixed152x88',
- 'ufixed152x96',
- 'ufixed152x104',
- 'ufixed160x8',
- 'ufixed160x16',
- 'ufixed160x24',
- 'ufixed160x32',
- 'ufixed160x40',
- 'ufixed160x48',
- 'ufixed160x56',
- 'ufixed160x64',
- 'ufixed160x72',
- 'ufixed160x80',
- 'ufixed160x88',
- 'ufixed160x96',
- 'ufixed168x8',
- 'ufixed168x16',
- 'ufixed168x24',
- 'ufixed168x32',
- 'ufixed168x40',
- 'ufixed168x48',
- 'ufixed168x56',
- 'ufixed168x64',
- 'ufixed168x72',
- 'ufixed168x80',
- 'ufixed168x88',
- 'ufixed176x8',
- 'ufixed176x16',
- 'ufixed176x24',
- 'ufixed176x32',
- 'ufixed176x40',
- 'ufixed176x48',
- 'ufixed176x56',
- 'ufixed176x64',
- 'ufixed176x72',
- 'ufixed176x80',
- 'ufixed184x8',
- 'ufixed184x16',
- 'ufixed184x24',
- 'ufixed184x32',
- 'ufixed184x40',
- 'ufixed184x48',
- 'ufixed184x56',
- 'ufixed184x64',
- 'ufixed184x72',
- 'ufixed192x8',
- 'ufixed192x16',
- 'ufixed192x24',
- 'ufixed192x32',
- 'ufixed192x40',
- 'ufixed192x48',
- 'ufixed192x56',
- 'ufixed192x64',
- 'ufixed200x8',
- 'ufixed200x16',
- 'ufixed200x24',
- 'ufixed200x32',
- 'ufixed200x40',
- 'ufixed200x48',
- 'ufixed200x56',
- 'ufixed208x8',
- 'ufixed208x16',
- 'ufixed208x24',
- 'ufixed208x32',
- 'ufixed208x40',
- 'ufixed208x48',
- 'ufixed216x8',
- 'ufixed216x16',
- 'ufixed216x24',
- 'ufixed216x32',
- 'ufixed216x40',
- 'ufixed224x8',
- 'ufixed224x16',
- 'ufixed224x24',
- 'ufixed224x32',
- 'ufixed232x8',
- 'ufixed232x16',
- 'ufixed232x24',
- 'ufixed240x8',
- 'ufixed240x16',
- 'ufixed248x8',
- 'event',
- 'enum',
- 'let',
- 'mapping',
- 'private',
- 'public',
- 'external',
- 'inherited',
- 'payable',
- 'true',
- 'false',
- 'var',
- 'import',
- 'constant',
- 'if',
- 'else',
- 'for',
- 'else',
- 'for',
- 'while',
- 'do',
- 'break',
- 'continue',
- 'throw',
- 'returns',
- 'return',
- 'suicide',
- 'new',
- 'is',
- 'this',
- 'super',
- ],
- operators: [
- '=',
- '>',
- '<',
- '!',
- '~',
- '?',
- ':',
- '==',
- '<=',
- '>=',
- '!=',
- '&&',
- '||',
- '++',
- '--',
- '+',
- '-',
- '*',
- '/',
- '&',
- '|',
- '^',
- '%',
- '<<',
- '>>',
- '>>>',
- '+=',
- '-=',
- '*=',
- '/=',
- '&=',
- '|=',
- '^=',
- '%=',
- '<<=',
- '>>=',
- '>>>=',
- ],
- symbols: /[=>](?!@symbols)/, '@brackets'],
- [
- /@symbols/,
- { cases: { '@operators': 'delimiter', '@default': '' } },
- ],
- [/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/, 'number.float'],
- [/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/, 'number.float'],
- [/0[xX][0-9a-fA-F']*[0-9a-fA-F](@integersuffix)/, 'number.hex'],
- [/0[0-7']*[0-7](@integersuffix)/, 'number.octal'],
- [/0[bB][0-1']*[0-1](@integersuffix)/, 'number.binary'],
- [/\d[\d']*\d(@integersuffix)/, 'number'],
- [/\d(@integersuffix)/, 'number'],
- [/[;,.]/, 'delimiter'],
- [/"([^"\\]|\\.)*$/, 'string.invalid'],
- [/"/, 'string', '@string'],
- [/'[^\\']'/, 'string'],
- [/(')(@escapes)(')/, ['string', 'string.escape', 'string']],
- [/'/, 'string.invalid'],
- ],
- whitespace: [
- [/[ \t\r\n]+/, ''],
- [/\/\*\*(?!\/)/, 'comment.doc', '@doccomment'],
- [/\/\*/, 'comment', '@comment'],
- [/\/\/.*$/, 'comment'],
- ],
- comment: [
- [/[^\/*]+/, 'comment'],
- [/\*\//, 'comment', '@pop'],
- [/[\/*]/, 'comment'],
- ],
- doccomment: [
- [/[^\/*]+/, 'comment.doc'],
- [/\*\//, 'comment.doc', '@pop'],
- [/[\/*]/, 'comment.doc'],
- ],
- string: [
- [/[^\\"]+/, 'string'],
- [/@escapes/, 'string.escape'],
- [/\\./, 'string.escape.invalid'],
- [/"/, 'string', '@pop'],
- ],
- },
- };
- },
- },
-]);
diff --git a/docs/1259.1259.js b/docs/1259.1259.js
deleted file mode 100644
index eb8928bd..00000000
--- a/docs/1259.1259.js
+++ /dev/null
@@ -1,299 +0,0 @@
-(self.webpackChunkmermaid_live_editor =
- self.webpackChunkmermaid_live_editor || []).push([
- [1259],
- {
- 91259: (E, S, e) => {
- 'use strict';
- e.r(S), e.d(S, { conf: () => T, language: () => R });
- var T = {
- brackets: [
- ['{', '}'],
- ['[', ']'],
- ['(', ')'],
- ],
- autoClosingPairs: [
- { open: '{', close: '}' },
- { open: '[', close: ']' },
- { open: '(', close: ')' },
- { open: '"', close: '"' },
- { open: "'", close: "'" },
- ],
- surroundingPairs: [
- { open: '{', close: '}' },
- { open: '[', close: ']' },
- { open: '(', close: ')' },
- { open: '"', close: '"' },
- { open: "'", close: "'" },
- ],
- },
- R = {
- defaultToken: '',
- tokenPostfix: '.redis',
- ignoreCase: !0,
- brackets: [
- { open: '[', close: ']', token: 'delimiter.square' },
- { open: '(', close: ')', token: 'delimiter.parenthesis' },
- ],
- keywords: [
- 'APPEND',
- 'AUTH',
- 'BGREWRITEAOF',
- 'BGSAVE',
- 'BITCOUNT',
- 'BITFIELD',
- 'BITOP',
- 'BITPOS',
- 'BLPOP',
- 'BRPOP',
- 'BRPOPLPUSH',
- 'CLIENT',
- 'KILL',
- 'LIST',
- 'GETNAME',
- 'PAUSE',
- 'REPLY',
- 'SETNAME',
- 'CLUSTER',
- 'ADDSLOTS',
- 'COUNT-FAILURE-REPORTS',
- 'COUNTKEYSINSLOT',
- 'DELSLOTS',
- 'FAILOVER',
- 'FORGET',
- 'GETKEYSINSLOT',
- 'INFO',
- 'KEYSLOT',
- 'MEET',
- 'NODES',
- 'REPLICATE',
- 'RESET',
- 'SAVECONFIG',
- 'SET-CONFIG-EPOCH',
- 'SETSLOT',
- 'SLAVES',
- 'SLOTS',
- 'COMMAND',
- 'COUNT',
- 'GETKEYS',
- 'CONFIG',
- 'GET',
- 'REWRITE',
- 'SET',
- 'RESETSTAT',
- 'DBSIZE',
- 'DEBUG',
- 'OBJECT',
- 'SEGFAULT',
- 'DECR',
- 'DECRBY',
- 'DEL',
- 'DISCARD',
- 'DUMP',
- 'ECHO',
- 'EVAL',
- 'EVALSHA',
- 'EXEC',
- 'EXISTS',
- 'EXPIRE',
- 'EXPIREAT',
- 'FLUSHALL',
- 'FLUSHDB',
- 'GEOADD',
- 'GEOHASH',
- 'GEOPOS',
- 'GEODIST',
- 'GEORADIUS',
- 'GEORADIUSBYMEMBER',
- 'GETBIT',
- 'GETRANGE',
- 'GETSET',
- 'HDEL',
- 'HEXISTS',
- 'HGET',
- 'HGETALL',
- 'HINCRBY',
- 'HINCRBYFLOAT',
- 'HKEYS',
- 'HLEN',
- 'HMGET',
- 'HMSET',
- 'HSET',
- 'HSETNX',
- 'HSTRLEN',
- 'HVALS',
- 'INCR',
- 'INCRBY',
- 'INCRBYFLOAT',
- 'KEYS',
- 'LASTSAVE',
- 'LINDEX',
- 'LINSERT',
- 'LLEN',
- 'LPOP',
- 'LPUSH',
- 'LPUSHX',
- 'LRANGE',
- 'LREM',
- 'LSET',
- 'LTRIM',
- 'MGET',
- 'MIGRATE',
- 'MONITOR',
- 'MOVE',
- 'MSET',
- 'MSETNX',
- 'MULTI',
- 'PERSIST',
- 'PEXPIRE',
- 'PEXPIREAT',
- 'PFADD',
- 'PFCOUNT',
- 'PFMERGE',
- 'PING',
- 'PSETEX',
- 'PSUBSCRIBE',
- 'PUBSUB',
- 'PTTL',
- 'PUBLISH',
- 'PUNSUBSCRIBE',
- 'QUIT',
- 'RANDOMKEY',
- 'READONLY',
- 'READWRITE',
- 'RENAME',
- 'RENAMENX',
- 'RESTORE',
- 'ROLE',
- 'RPOP',
- 'RPOPLPUSH',
- 'RPUSH',
- 'RPUSHX',
- 'SADD',
- 'SAVE',
- 'SCARD',
- 'SCRIPT',
- 'FLUSH',
- 'LOAD',
- 'SDIFF',
- 'SDIFFSTORE',
- 'SELECT',
- 'SETBIT',
- 'SETEX',
- 'SETNX',
- 'SETRANGE',
- 'SHUTDOWN',
- 'SINTER',
- 'SINTERSTORE',
- 'SISMEMBER',
- 'SLAVEOF',
- 'SLOWLOG',
- 'SMEMBERS',
- 'SMOVE',
- 'SORT',
- 'SPOP',
- 'SRANDMEMBER',
- 'SREM',
- 'STRLEN',
- 'SUBSCRIBE',
- 'SUNION',
- 'SUNIONSTORE',
- 'SWAPDB',
- 'SYNC',
- 'TIME',
- 'TOUCH',
- 'TTL',
- 'TYPE',
- 'UNSUBSCRIBE',
- 'UNLINK',
- 'UNWATCH',
- 'WAIT',
- 'WATCH',
- 'ZADD',
- 'ZCARD',
- 'ZCOUNT',
- 'ZINCRBY',
- 'ZINTERSTORE',
- 'ZLEXCOUNT',
- 'ZRANGE',
- 'ZRANGEBYLEX',
- 'ZREVRANGEBYLEX',
- 'ZRANGEBYSCORE',
- 'ZRANK',
- 'ZREM',
- 'ZREMRANGEBYLEX',
- 'ZREMRANGEBYRANK',
- 'ZREMRANGEBYSCORE',
- 'ZREVRANGE',
- 'ZREVRANGEBYSCORE',
- 'ZREVRANK',
- 'ZSCORE',
- 'ZUNIONSTORE',
- 'SCAN',
- 'SSCAN',
- 'HSCAN',
- 'ZSCAN',
- ],
- operators: [],
- builtinFunctions: [],
- builtinVariables: [],
- pseudoColumns: [],
- tokenizer: {
- root: [
- { include: '@whitespace' },
- { include: '@pseudoColumns' },
- { include: '@numbers' },
- { include: '@strings' },
- { include: '@scopes' },
- [/[;,.]/, 'delimiter'],
- [/[()]/, '@brackets'],
- [
- /[\w@#$]+/,
- {
- cases: {
- '@keywords': 'keyword',
- '@operators': 'operator',
- '@builtinVariables': 'predefined',
- '@builtinFunctions': 'predefined',
- '@default': 'identifier',
- },
- },
- ],
- [/[<>=!%&+\-*/|~^]/, 'operator'],
- ],
- whitespace: [[/\s+/, 'white']],
- pseudoColumns: [
- [
- /[$][A-Za-z_][\w@#$]*/,
- {
- cases: {
- '@pseudoColumns': 'predefined',
- '@default': 'identifier',
- },
- },
- ],
- ],
- numbers: [
- [/0[xX][0-9a-fA-F]*/, 'number'],
- [/[$][+-]*\d*(\.\d*)?/, 'number'],
- [/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/, 'number'],
- ],
- strings: [
- [/'/, { token: 'string', next: '@string' }],
- [/"/, { token: 'string.double', next: '@stringDouble' }],
- ],
- string: [
- [/[^']+/, 'string'],
- [/''/, 'string'],
- [/'/, { token: 'string', next: '@pop' }],
- ],
- stringDouble: [
- [/[^"]+/, 'string.double'],
- [/""/, 'string.double'],
- [/"/, { token: 'string.double', next: '@pop' }],
- ],
- scopes: [],
- },
- };
- },
- },
-]);
diff --git a/docs/1448.1448.js b/docs/1448.1448.js
deleted file mode 100644
index a9031c4c..00000000
--- a/docs/1448.1448.js
+++ /dev/null
@@ -1,150 +0,0 @@
-(self.webpackChunkmermaid_live_editor =
- self.webpackChunkmermaid_live_editor || []).push([
- [1448],
- {
- 11448: (e, t, o) => {
- 'use strict';
- o.r(t), o.d(t, { conf: () => n, language: () => s });
- var n = {
- comments: { lineComment: '//', blockComment: ['(*', '*)'] },
- brackets: [
- ['{', '}'],
- ['[', ']'],
- ['(', ')'],
- ['<', '>'],
- ],
- autoClosingPairs: [
- { open: '{', close: '}' },
- { open: '[', close: ']' },
- { open: '(', close: ')' },
- { open: '<', close: '>' },
- { open: "'", close: "'" },
- ],
- surroundingPairs: [
- { open: '{', close: '}' },
- { open: '[', close: ']' },
- { open: '(', close: ')' },
- { open: '<', close: '>' },
- { open: "'", close: "'" },
- ],
- },
- s = {
- defaultToken: '',
- tokenPostfix: '.cameligo',
- ignoreCase: !0,
- brackets: [
- { open: '{', close: '}', token: 'delimiter.curly' },
- { open: '[', close: ']', token: 'delimiter.square' },
- { open: '(', close: ')', token: 'delimiter.parenthesis' },
- { open: '<', close: '>', token: 'delimiter.angle' },
- ],
- keywords: [
- 'abs',
- 'begin',
- 'Bytes',
- 'Crypto',
- 'Current',
- 'else',
- 'end',
- 'failwith',
- 'false',
- 'fun',
- 'if',
- 'in',
- 'let',
- 'let%entry',
- 'let%init',
- 'List',
- 'list',
- 'Map',
- 'map',
- 'match',
- 'match%nat',
- 'mod',
- 'not',
- 'operation',
- 'Operation',
- 'of',
- 'Set',
- 'set',
- 'sender',
- 'source',
- 'String',
- 'then',
- 'true',
- 'type',
- 'with',
- ],
- typeKeywords: ['int', 'unit', 'string', 'tz'],
- operators: [
- '=',
- '>',
- '<',
- '<=',
- '>=',
- '<>',
- ':',
- ':=',
- 'and',
- 'mod',
- 'or',
- '+',
- '-',
- '*',
- '/',
- '@',
- '&',
- '^',
- '%',
- '->',
- '<-',
- ],
- symbols: /[=><:@\^&|+\-*\/\^%]+/,
- tokenizer: {
- root: [
- [
- /[a-zA-Z_][\w]*/,
- {
- cases: {
- '@keywords': { token: 'keyword.$0' },
- '@default': 'identifier',
- },
- },
- ],
- { include: '@whitespace' },
- [/[{}()\[\]]/, '@brackets'],
- [/[<>](?!@symbols)/, '@brackets'],
- [
- /@symbols/,
- { cases: { '@operators': 'delimiter', '@default': '' } },
- ],
- [/\d*\.\d+([eE][\-+]?\d+)?/, 'number.float'],
- [/\$[0-9a-fA-F]{1,16}/, 'number.hex'],
- [/\d+/, 'number'],
- [/[;,.]/, 'delimiter'],
- [/'([^'\\]|\\.)*$/, 'string.invalid'],
- [/'/, 'string', '@string'],
- [/'[^\\']'/, 'string'],
- [/'/, 'string.invalid'],
- [/\#\d+/, 'string'],
- ],
- comment: [
- [/[^\(\*]+/, 'comment'],
- [/\*\)/, 'comment', '@pop'],
- [/\(\*/, 'comment'],
- ],
- string: [
- [/[^\\']+/, 'string'],
- [/\\./, 'string.escape.invalid'],
- [/'/, { token: 'string.quote', bracket: '@close', next: '@pop' }],
- ],
- whitespace: [
- [/[ \t\r\n]+/, 'white'],
- [/\(\*/, 'comment', '@comment'],
- [/\/\/.*$/, 'comment'],
- ],
- },
- };
- },
- },
-]);
diff --git a/docs/1471.1471.js b/docs/1471.1471.js
deleted file mode 100644
index 2de12e1a..00000000
--- a/docs/1471.1471.js
+++ /dev/null
@@ -1,67 +0,0 @@
-(self.webpackChunkmermaid_live_editor =
- self.webpackChunkmermaid_live_editor || []).push([
- [1471],
- {
- 31471: (e, t, n) => {
- 'use strict';
- n.r(t), n.d(t, { conf: () => s, language: () => i });
- var s = { comments: { lineComment: '#' } },
- i = {
- defaultToken: 'keyword',
- ignoreCase: !0,
- tokenPostfix: '.azcli',
- str: /[^#\s]/,
- tokenizer: {
- root: [
- { include: '@comment' },
- [
- /\s-+@str*\s*/,
- {
- cases: {
- '@eos': { token: 'key.identifier', next: '@popall' },
- '@default': { token: 'key.identifier', next: '@type' },
- },
- },
- ],
- [
- /^-+@str*\s*/,
- {
- cases: {
- '@eos': { token: 'key.identifier', next: '@popall' },
- '@default': { token: 'key.identifier', next: '@type' },
- },
- },
- ],
- ],
- type: [
- { include: '@comment' },
- [
- /-+@str*\s*/,
- {
- cases: {
- '@eos': { token: 'key.identifier', next: '@popall' },
- '@default': 'key.identifier',
- },
- },
- ],
- [
- /@str+\s*/,
- {
- cases: {
- '@eos': { token: 'string', next: '@popall' },
- '@default': 'string',
- },
- },
- ],
- ],
- comment: [
- [
- /#.*$/,
- { cases: { '@eos': { token: 'comment', next: '@popall' } } },
- ],
- ],
- },
- };
- },
- },
-]);
diff --git a/docs/180.180.js b/docs/180.180.js
deleted file mode 100644
index 5ffd5079..00000000
--- a/docs/180.180.js
+++ /dev/null
@@ -1,421 +0,0 @@
-(self.webpackChunkmermaid_live_editor =
- self.webpackChunkmermaid_live_editor || []).push([
- [180],
- {
- 90180: (e, t, o) => {
- 'use strict';
- o.r(t), o.d(t, { conf: () => r, language: () => n });
- var r = {
- wordPattern: /(unary_[@~!#%^&*()\-=+\\|:<>\/?]+)|([a-zA-Z_$][\w$]*?_=)|(`[^`]+`)|([a-zA-Z_$][\w$]*)/g,
- comments: { lineComment: '//', blockComment: ['/*', '*/'] },
- brackets: [
- ['{', '}'],
- ['[', ']'],
- ['(', ')'],
- ],
- autoClosingPairs: [
- { open: '{', close: '}' },
- { open: '[', close: ']' },
- { open: '(', close: ')' },
- { open: '"', close: '"' },
- { open: "'", close: "'" },
- ],
- surroundingPairs: [
- { open: '{', close: '}' },
- { open: '[', close: ']' },
- { open: '(', close: ')' },
- { open: '"', close: '"' },
- { open: "'", close: "'" },
- ],
- folding: {
- markers: {
- start: new RegExp(
- '^\\s*//\\s*(?:(?:#?region\\b)|(?:))'
- ),
- },
- },
- },
- n = {
- tokenPostfix: '.scala',
- keywords: [
- 'asInstanceOf',
- 'catch',
- 'class',
- 'classOf',
- 'def',
- 'do',
- 'else',
- 'extends',
- 'finally',
- 'for',
- 'foreach',
- 'forSome',
- 'if',
- 'import',
- 'isInstanceOf',
- 'macro',
- 'match',
- 'new',
- 'object',
- 'package',
- 'return',
- 'throw',
- 'trait',
- 'try',
- 'type',
- 'until',
- 'val',
- 'var',
- 'while',
- 'with',
- 'yield',
- 'given',
- 'enum',
- 'then',
- ],
- softKeywords: ['as', 'export', 'extension', 'end', 'derives', 'on'],
- constants: ['true', 'false', 'null', 'this', 'super'],
- modifiers: [
- 'abstract',
- 'final',
- 'implicit',
- 'lazy',
- 'override',
- 'private',
- 'protected',
- 'sealed',
- ],
- softModifiers: ['inline', 'opaque', 'open', 'transparent', 'using'],
- name: /(?:[a-z_$][\w$]*|`[^`]+`)/,
- type: /(?:[A-Z][\w$]*)/,
- symbols: /[=>))/,
- ['@brackets', 'white', 'variable'],
- ],
- [
- /@name/,
- {
- cases: {
- '@keywords': 'keyword',
- '@softKeywords': 'keyword',
- '@modifiers': 'keyword.modifier',
- '@softModifiers': 'keyword.modifier',
- '@constants': { token: 'constant', next: '@allowMethod' },
- '@default': { token: 'identifier', next: '@allowMethod' },
- },
- },
- ],
- [/@type/, 'type', '@allowMethod'],
- { include: '@whitespace' },
- [/@[a-zA-Z_$][\w$]*(?:\.[a-zA-Z_$][\w$]*)*/, 'annotation'],
- [/[{(]/, '@brackets'],
- [/[})]/, '@brackets', '@allowMethod'],
- [/\[/, 'operator.square'],
- [
- /](?!\s*(?:va[rl]|def|type)\b)/,
- 'operator.square',
- '@allowMethod',
- ],
- [/]/, 'operator.square'],
- [/([=-]>|<-|>:|<:|:>|<%)(?=[\s\w()[\]{},\."'`])/, 'keyword'],
- [/@symbols/, 'operator'],
- [/[;,\.]/, 'delimiter'],
- [/'[a-zA-Z$][\w$]*(?!')/, 'attribute.name'],
- [/'[^\\']'/, 'string', '@allowMethod'],
- [
- /(')(@escapes)(')/,
- [
- 'string',
- 'string.escape',
- { token: 'string', next: '@allowMethod' },
- ],
- ],
- [/'/, 'string.invalid'],
- ],
- import: [
- [/;/, 'delimiter', '@pop'],
- [/^|$/, '', '@pop'],
- [/[ \t]+/, 'white'],
- [/[\n\r]+/, 'white', '@pop'],
- [/\/\*/, 'comment', '@comment'],
- [/@name|@type/, 'type'],
- [/[(){}]/, '@brackets'],
- [/[[\]]/, 'operator.square'],
- [/[\.,]/, 'delimiter'],
- ],
- allowMethod: [
- [/^|$/, '', '@pop'],
- [/[ \t]+/, 'white'],
- [/[\n\r]+/, 'white', '@pop'],
- [/\/\*/, 'comment', '@comment'],
- [/(?==>[\s\w([{])/, 'keyword', '@pop'],
- [
- /(@name|@symbols)(?=[ \t]*[[({"'`]|[ \t]+(?:[+-]?\.?\d|\w))/,
- {
- cases: {
- '@keywords': { token: 'keyword', next: '@pop' },
- '->|<-|>:|<:|<%': { token: 'keyword', next: '@pop' },
- '@default': { token: '@rematch', next: '@pop' },
- },
- },
- ],
- ['', '', '@pop'],
- ],
- comment: [
- [/[^\/*]+/, 'comment'],
- [/\/\*/, 'comment', '@push'],
- [/\*\//, 'comment', '@pop'],
- [/[\/*]/, 'comment'],
- ],
- case: [
- [/\b_\*/, 'key'],
- [/\b(_|true|false|null|this|super)\b/, 'keyword', '@allowMethod'],
- [/\bif\b|=>/, 'keyword', '@pop'],
- [/`[^`]+`/, 'identifier', '@allowMethod'],
- [/@name/, 'variable', '@allowMethod'],
- [/:::?|\||@(?![a-z_$])/, 'keyword'],
- { include: '@root' },
- ],
- vardef: [
- [/\b_\*/, 'key'],
- [/\b(_|true|false|null|this|super)\b/, 'keyword'],
- [/@name/, 'variable'],
- [/:::?|\||@(?![a-z_$])/, 'keyword'],
- [/=|:(?!:)/, 'operator', '@pop'],
- [/$/, 'white', '@pop'],
- { include: '@root' },
- ],
- string: [
- [/[^\\"\n\r]+/, 'string'],
- [/@escapes/, 'string.escape'],
- [/\\./, 'string.escape.invalid'],
- [
- /"/,
- {
- token: 'string.quote',
- bracket: '@close',
- switchTo: '@allowMethod',
- },
- ],
- ],
- stringt: [
- [/[^\\"\n\r]+/, 'string'],
- [/@escapes/, 'string.escape'],
- [/\\./, 'string.escape.invalid'],
- [/"(?=""")/, 'string'],
- [
- /"""/,
- {
- token: 'string.quote',
- bracket: '@close',
- switchTo: '@allowMethod',
- },
- ],
- [/"/, 'string'],
- ],
- fstring: [
- [/@escapes/, 'string.escape'],
- [
- /"/,
- {
- token: 'string.quote',
- bracket: '@close',
- switchTo: '@allowMethod',
- },
- ],
- [/\$\$/, 'string'],
- [/(\$)([a-z_]\w*)/, ['operator', 'identifier']],
- [/\$\{/, 'operator', '@interp'],
- [/%%/, 'string'],
- [
- /(%)([\-#+ 0,(])(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/,
- ['metatag', 'keyword.modifier', 'number', 'metatag'],
- ],
- [
- /(%)(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/,
- ['metatag', 'number', 'metatag'],
- ],
- [
- /(%)([\-#+ 0,(])(@fstring_conv)/,
- ['metatag', 'keyword.modifier', 'metatag'],
- ],
- [/(%)(@fstring_conv)/, ['metatag', 'metatag']],
- [/./, 'string'],
- ],
- fstringt: [
- [/@escapes/, 'string.escape'],
- [/"(?=""")/, 'string'],
- [
- /"""/,
- {
- token: 'string.quote',
- bracket: '@close',
- switchTo: '@allowMethod',
- },
- ],
- [/\$\$/, 'string'],
- [/(\$)([a-z_]\w*)/, ['operator', 'identifier']],
- [/\$\{/, 'operator', '@interp'],
- [/%%/, 'string'],
- [
- /(%)([\-#+ 0,(])(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/,
- ['metatag', 'keyword.modifier', 'number', 'metatag'],
- ],
- [
- /(%)(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/,
- ['metatag', 'number', 'metatag'],
- ],
- [
- /(%)([\-#+ 0,(])(@fstring_conv)/,
- ['metatag', 'keyword.modifier', 'metatag'],
- ],
- [/(%)(@fstring_conv)/, ['metatag', 'metatag']],
- [/./, 'string'],
- ],
- sstring: [
- [/@escapes/, 'string.escape'],
- [
- /"/,
- {
- token: 'string.quote',
- bracket: '@close',
- switchTo: '@allowMethod',
- },
- ],
- [/\$\$/, 'string'],
- [/(\$)([a-z_]\w*)/, ['operator', 'identifier']],
- [/\$\{/, 'operator', '@interp'],
- [/./, 'string'],
- ],
- sstringt: [
- [/@escapes/, 'string.escape'],
- [/"(?=""")/, 'string'],
- [
- /"""/,
- {
- token: 'string.quote',
- bracket: '@close',
- switchTo: '@allowMethod',
- },
- ],
- [/\$\$/, 'string'],
- [/(\$)([a-z_]\w*)/, ['operator', 'identifier']],
- [/\$\{/, 'operator', '@interp'],
- [/./, 'string'],
- ],
- interp: [
- [/{/, 'operator', '@push'],
- [/}/, 'operator', '@pop'],
- { include: '@root' },
- ],
- rawstring: [
- [/[^"]/, 'string'],
- [
- /"/,
- {
- token: 'string.quote',
- bracket: '@close',
- switchTo: '@allowMethod',
- },
- ],
- ],
- rawstringt: [
- [/[^"]/, 'string'],
- [/"(?=""")/, 'string'],
- [
- /"""/,
- {
- token: 'string.quote',
- bracket: '@close',
- switchTo: '@allowMethod',
- },
- ],
- [/"/, 'string'],
- ],
- whitespace: [
- [/[ \t\r\n]+/, 'white'],
- [/\/\*/, 'comment', '@comment'],
- [/\/\/.*$/, 'comment'],
- ],
- },
- };
- },
- },
-]);
diff --git a/docs/1886.1886.js b/docs/1886.1886.js
deleted file mode 100644
index 9573bf13..00000000
--- a/docs/1886.1886.js
+++ /dev/null
@@ -1,563 +0,0 @@
-(self.webpackChunkmermaid_live_editor =
- self.webpackChunkmermaid_live_editor || []).push([
- [1886],
- {
- 81886: (e, n, i) => {
- 'use strict';
- i.r(n), i.d(n, { conf: () => t, language: () => r });
- var t = {
- comments: { lineComment: '//', blockComment: ['/*', '*/'] },
- brackets: [
- ['{', '}'],
- ['[', ']'],
- ['(', ')'],
- ['begin', 'end'],
- ['case', 'endcase'],
- ['casex', 'endcase'],
- ['casez', 'endcase'],
- ['checker', 'endchecker'],
- ['class', 'endclass'],
- ['clocking', 'endclocking'],
- ['config', 'endconfig'],
- ['function', 'endfunction'],
- ['generate', 'endgenerate'],
- ['group', 'endgroup'],
- ['interface', 'endinterface'],
- ['module', 'endmodule'],
- ['package', 'endpackage'],
- ['primitive', 'endprimitive'],
- ['program', 'endprogram'],
- ['property', 'endproperty'],
- ['specify', 'endspecify'],
- ['sequence', 'endsequence'],
- ['table', 'endtable'],
- ['task', 'endtask'],
- ],
- autoClosingPairs: [
- { open: '[', close: ']' },
- { open: '{', close: '}' },
- { open: '(', close: ')' },
- { open: "'", close: "'", notIn: ['string', 'comment'] },
- { open: '"', close: '"', notIn: ['string'] },
- ],
- surroundingPairs: [
- { open: '{', close: '}' },
- { open: '[', close: ']' },
- { open: '(', close: ')' },
- { open: '"', close: '"' },
- { open: "'", close: "'" },
- ],
- folding: {
- offSide: !1,
- markers: {
- start: new RegExp(
- '^(?:\\s*|.*(?!\\/[\\/\\*])[^\\w])(?:begin|case(x|z)?|class|clocking|config|covergroup|function|generate|interface|module|package|primitive|property|program|sequence|specify|table|task)\\b'
- ),
- end: new RegExp(
- '^(?:\\s*|.*(?!\\/[\\/\\*])[^\\w])(?:end|endcase|endclass|endclocking|endconfig|endgroup|endfunction|endgenerate|endinterface|endmodule|endpackage|endprimitive|endproperty|endprogram|endsequence|endspecify|endtable|endtask)\\b'
- ),
- },
- },
- },
- r = {
- defaultToken: '',
- tokenPostfix: '.sv',
- brackets: [
- { token: 'delimiter.curly', open: '{', close: '}' },
- { token: 'delimiter.parenthesis', open: '(', close: ')' },
- { token: 'delimiter.square', open: '[', close: ']' },
- { token: 'delimiter.angle', open: '<', close: '>' },
- ],
- keywords: [
- 'accept_on',
- 'alias',
- 'always',
- 'always_comb',
- 'always_ff',
- 'always_latch',
- 'and',
- 'assert',
- 'assign',
- 'assume',
- 'automatic',
- 'before',
- 'begin',
- 'bind',
- 'bins',
- 'binsof',
- 'bit',
- 'break',
- 'buf',
- 'bufif0',
- 'bufif1',
- 'byte',
- 'case',
- 'casex',
- 'casez',
- 'cell',
- 'chandle',
- 'checker',
- 'class',
- 'clocking',
- 'cmos',
- 'config',
- 'const',
- 'constraint',
- 'context',
- 'continue',
- 'cover',
- 'covergroup',
- 'coverpoint',
- 'cross',
- 'deassign',
- 'default',
- 'defparam',
- 'design',
- 'disable',
- 'dist',
- 'do',
- 'edge',
- 'else',
- 'end',
- 'endcase',
- 'endchecker',
- 'endclass',
- 'endclocking',
- 'endconfig',
- 'endfunction',
- 'endgenerate',
- 'endgroup',
- 'endinterface',
- 'endmodule',
- 'endpackage',
- 'endprimitive',
- 'endprogram',
- 'endproperty',
- 'endspecify',
- 'endsequence',
- 'endtable',
- 'endtask',
- 'enum',
- 'event',
- 'eventually',
- 'expect',
- 'export',
- 'extends',
- 'extern',
- 'final',
- 'first_match',
- 'for',
- 'force',
- 'foreach',
- 'forever',
- 'fork',
- 'forkjoin',
- 'function',
- 'generate',
- 'genvar',
- 'global',
- 'highz0',
- 'highz1',
- 'if',
- 'iff',
- 'ifnone',
- 'ignore_bins',
- 'illegal_bins',
- 'implements',
- 'implies',
- 'import',
- 'incdir',
- 'include',
- 'initial',
- 'inout',
- 'input',
- 'inside',
- 'instance',
- 'int',
- 'integer',
- 'interconnect',
- 'interface',
- 'intersect',
- 'join',
- 'join_any',
- 'join_none',
- 'large',
- 'let',
- 'liblist',
- 'library',
- 'local',
- 'localparam',
- 'logic',
- 'longint',
- 'macromodule',
- 'matches',
- 'medium',
- 'modport',
- 'module',
- 'nand',
- 'negedge',
- 'nettype',
- 'new',
- 'nexttime',
- 'nmos',
- 'nor',
- 'noshowcancelled',
- 'not',
- 'notif0',
- 'notif1',
- 'null',
- 'or',
- 'output',
- 'package',
- 'packed',
- 'parameter',
- 'pmos',
- 'posedge',
- 'primitive',
- 'priority',
- 'program',
- 'property',
- 'protected',
- 'pull0',
- 'pull1',
- 'pulldown',
- 'pullup',
- 'pulsestyle_ondetect',
- 'pulsestyle_onevent',
- 'pure',
- 'rand',
- 'randc',
- 'randcase',
- 'randsequence',
- 'rcmos',
- 'real',
- 'realtime',
- 'ref',
- 'reg',
- 'reject_on',
- 'release',
- 'repeat',
- 'restrict',
- 'return',
- 'rnmos',
- 'rpmos',
- 'rtran',
- 'rtranif0',
- 'rtranif1',
- 's_always',
- 's_eventually',
- 's_nexttime',
- 's_until',
- 's_until_with',
- 'scalared',
- 'sequence',
- 'shortint',
- 'shortreal',
- 'showcancelled',
- 'signed',
- 'small',
- 'soft',
- 'solve',
- 'specify',
- 'specparam',
- 'static',
- 'string',
- 'strong',
- 'strong0',
- 'strong1',
- 'struct',
- 'super',
- 'supply0',
- 'supply1',
- 'sync_accept_on',
- 'sync_reject_on',
- 'table',
- 'tagged',
- 'task',
- 'this',
- 'throughout',
- 'time',
- 'timeprecision',
- 'timeunit',
- 'tran',
- 'tranif0',
- 'tranif1',
- 'tri',
- 'tri0',
- 'tri1',
- 'triand',
- 'trior',
- 'trireg',
- 'type',
- 'typedef',
- 'union',
- 'unique',
- 'unique0',
- 'unsigned',
- 'until',
- 'until_with',
- 'untyped',
- 'use',
- 'uwire',
- 'var',
- 'vectored',
- 'virtual',
- 'void',
- 'wait',
- 'wait_order',
- 'wand',
- 'weak',
- 'weak0',
- 'weak1',
- 'while',
- 'wildcard',
- 'wire',
- 'with',
- 'within',
- 'wor',
- 'xnor',
- 'xor',
- ],
- builtin_gates: [
- 'and',
- 'nand',
- 'nor',
- 'or',
- 'xor',
- 'xnor',
- 'buf',
- 'not',
- 'bufif0',
- 'bufif1',
- 'notif1',
- 'notif0',
- 'cmos',
- 'nmos',
- 'pmos',
- 'rcmos',
- 'rnmos',
- 'rpmos',
- 'tran',
- 'tranif1',
- 'tranif0',
- 'rtran',
- 'rtranif1',
- 'rtranif0',
- ],
- operators: [
- '=',
- '+=',
- '-=',
- '*=',
- '/=',
- '%=',
- '&=',
- '|=',
- '^=',
- '<<=',
- '>>+',
- '<<<=',
- '>>>=',
- '?',
- ':',
- '+',
- '-',
- '!',
- '~',
- '&',
- '~&',
- '|',
- '~|',
- '^',
- '~^',
- '^~',
- '+',
- '-',
- '*',
- '/',
- '%',
- '==',
- '!=',
- '===',
- '!==',
- '==?',
- '!=?',
- '&&',
- '||',
- '**',
- '<',
- '<=',
- '>',
- '>=',
- '&',
- '|',
- '^',
- '>>',
- '<<',
- '>>>',
- '<<<',
- '++',
- '--',
- '->',
- '<->',
- 'inside',
- 'dist',
- '::',
- '+:',
- '-:',
- '*>',
- '&&&',
- '|->',
- '|=>',
- '#=#',
- ],
- symbols: /[=>](?!@symbols)/, '@brackets'],
- [
- /@symbols/,
- { cases: { '@operators': 'delimiter', '@default': '' } },
- ],
- { include: '@numbers' },
- [/[;,.]/, 'delimiter'],
- { include: '@strings' },
- ],
- identifier_or_keyword: [
- [
- /@identifier/,
- {
- cases: {
- '@keywords': { token: 'keyword.$0' },
- '@default': 'identifier',
- },
- },
- ],
- ],
- numbers: [
- [/\d+?[\d_]*(?:\.[\d_]+)?[eE][\-+]?\d+/, 'number.float'],
- [/\d+?[\d_]*\.[\d_]+(?:\s*@timeunits)?/, 'number.float'],
- [
- /(?:\d+?[\d_]*\s*)?'[sS]?[dD]\s*[0-9xXzZ?]+?[0-9xXzZ?_]*/,
- 'number',
- ],
- [
- /(?:\d+?[\d_]*\s*)?'[sS]?[bB]\s*[0-1xXzZ?]+?[0-1xXzZ?_]*/,
- 'number.binary',
- ],
- [
- /(?:\d+?[\d_]*\s*)?'[sS]?[oO]\s*[0-7xXzZ?]+?[0-7xXzZ?_]*/,
- 'number.octal',
- ],
- [
- /(?:\d+?[\d_]*\s*)?'[sS]?[hH]\s*[0-9a-fA-FxXzZ?]+?[0-9a-fA-FxXzZ?_]*/,
- 'number.hex',
- ],
- [/1step/, 'number'],
- [/[\dxXzZ]+?[\dxXzZ_]*(?:\s*@timeunits)?/, 'number'],
- [/'[01xXzZ]+/, 'number'],
- ],
- module_instance: [
- { include: '@whitespace' },
- [
- /(#?)(\()/,
- ['', { token: '@brackets', next: '@port_connection' }],
- ],
- [
- /@identifier\s*[;={}\[\],]/,
- { token: '@rematch', next: '@pop' },
- ],
- [/@symbols|[;={}\[\],]/, { token: '@rematch', next: '@pop' }],
- [/@identifier/, 'type'],
- [/;/, 'delimiter', '@pop'],
- ],
- port_connection: [
- { include: '@identifier_or_keyword' },
- { include: '@whitespace' },
- [/@systemcall/, 'variable.predefined'],
- { include: '@numbers' },
- { include: '@strings' },
- [/[,]/, 'delimiter'],
- [/\(/, '@brackets', '@port_connection'],
- [/\)/, '@brackets', '@pop'],
- ],
- whitespace: [
- [/[ \t\r\n]+/, ''],
- [/\/\*/, 'comment', '@comment'],
- [/\/\/.*$/, 'comment'],
- ],
- comment: [
- [/[^\/*]+/, 'comment'],
- [/\*\//, 'comment', '@pop'],
- [/[\/*]/, 'comment'],
- ],
- strings: [
- [/"([^"\\]|\\.)*$/, 'string.invalid'],
- [/"/, 'string', '@string'],
- ],
- string: [
- [/[^\\"]+/, 'string'],
- [/@escapes/, 'string.escape'],
- [/\\./, 'string.escape.invalid'],
- [/"/, 'string', '@pop'],
- ],
- include: [
- [
- /(\s*)(")([\w*\/*]*)(.\w*)(")/,
- [
- '',
- 'string.include.identifier',
- 'string.include.identifier',
- 'string.include.identifier',
- { token: 'string.include.identifier', next: '@pop' },
- ],
- ],
- [
- /(\s*)(<)([\w*\/*]*)(.\w*)(>)/,
- [
- '',
- 'string.include.identifier',
- 'string.include.identifier',
- 'string.include.identifier',
- { token: 'string.include.identifier', next: '@pop' },
- ],
- ],
- ],
- },
- };
- },
- },
-]);
diff --git a/docs/1960.1960.js b/docs/1960.1960.js
deleted file mode 100644
index 0be30549..00000000
--- a/docs/1960.1960.js
+++ /dev/null
@@ -1,378 +0,0 @@
-(self.webpackChunkmermaid_live_editor =
- self.webpackChunkmermaid_live_editor || []).push([
- [1960],
- {
- 71960: (e, t, n) => {
- 'use strict';
- n.r(t), n.d(t, { conf: () => i, language: () => r });
- var i = {
- comments: { lineComment: '//', blockComment: ['/*', '*/'] },
- brackets: [
- ['{', '}'],
- ['[', ']'],
- ['(', ')'],
- ],
- autoClosingPairs: [
- { open: '[', close: ']' },
- { open: '{', close: '}' },
- { open: '(', close: ')' },
- { open: "'", close: "'", notIn: ['string', 'comment'] },
- { open: '"', close: '"', notIn: ['string'] },
- ],
- surroundingPairs: [
- { open: '{', close: '}' },
- { open: '[', close: ']' },
- { open: '(', close: ')' },
- { open: '"', close: '"' },
- { open: "'", close: "'" },
- ],
- folding: {
- markers: {
- start: new RegExp('^\\s*#pragma\\s+region\\b'),
- end: new RegExp('^\\s*#pragma\\s+endregion\\b'),
- },
- },
- },
- r = {
- defaultToken: '',
- tokenPostfix: '.cpp',
- brackets: [
- { token: 'delimiter.curly', open: '{', close: '}' },
- { token: 'delimiter.parenthesis', open: '(', close: ')' },
- { token: 'delimiter.square', open: '[', close: ']' },
- { token: 'delimiter.angle', open: '<', close: '>' },
- ],
- keywords: [
- 'abstract',
- 'amp',
- 'array',
- 'auto',
- 'bool',
- 'break',
- 'case',
- 'catch',
- 'char',
- 'class',
- 'const',
- 'constexpr',
- 'const_cast',
- 'continue',
- 'cpu',
- 'decltype',
- 'default',
- 'delegate',
- 'delete',
- 'do',
- 'double',
- 'dynamic_cast',
- 'each',
- 'else',
- 'enum',
- 'event',
- 'explicit',
- 'export',
- 'extern',
- 'false',
- 'final',
- 'finally',
- 'float',
- 'for',
- 'friend',
- 'gcnew',
- 'generic',
- 'goto',
- 'if',
- 'in',
- 'initonly',
- 'inline',
- 'int',
- 'interface',
- 'interior_ptr',
- 'internal',
- 'literal',
- 'long',
- 'mutable',
- 'namespace',
- 'new',
- 'noexcept',
- 'nullptr',
- '__nullptr',
- 'operator',
- 'override',
- 'partial',
- 'pascal',
- 'pin_ptr',
- 'private',
- 'property',
- 'protected',
- 'public',
- 'ref',
- 'register',
- 'reinterpret_cast',
- 'restrict',
- 'return',
- 'safe_cast',
- 'sealed',
- 'short',
- 'signed',
- 'sizeof',
- 'static',
- 'static_assert',
- 'static_cast',
- 'struct',
- 'switch',
- 'template',
- 'this',
- 'thread_local',
- 'throw',
- 'tile_static',
- 'true',
- 'try',
- 'typedef',
- 'typeid',
- 'typename',
- 'union',
- 'unsigned',
- 'using',
- 'virtual',
- 'void',
- 'volatile',
- 'wchar_t',
- 'where',
- 'while',
- '_asm',
- '_based',
- '_cdecl',
- '_declspec',
- '_fastcall',
- '_if_exists',
- '_if_not_exists',
- '_inline',
- '_multiple_inheritance',
- '_pascal',
- '_single_inheritance',
- '_stdcall',
- '_virtual_inheritance',
- '_w64',
- '__abstract',
- '__alignof',
- '__asm',
- '__assume',
- '__based',
- '__box',
- '__builtin_alignof',
- '__cdecl',
- '__clrcall',
- '__declspec',
- '__delegate',
- '__event',
- '__except',
- '__fastcall',
- '__finally',
- '__forceinline',
- '__gc',
- '__hook',
- '__identifier',
- '__if_exists',
- '__if_not_exists',
- '__inline',
- '__int128',
- '__int16',
- '__int32',
- '__int64',
- '__int8',
- '__interface',
- '__leave',
- '__m128',
- '__m128d',
- '__m128i',
- '__m256',
- '__m256d',
- '__m256i',
- '__m64',
- '__multiple_inheritance',
- '__newslot',
- '__nogc',
- '__noop',
- '__nounwind',
- '__novtordisp',
- '__pascal',
- '__pin',
- '__pragma',
- '__property',
- '__ptr32',
- '__ptr64',
- '__raise',
- '__restrict',
- '__resume',
- '__sealed',
- '__single_inheritance',
- '__stdcall',
- '__super',
- '__thiscall',
- '__try',
- '__try_cast',
- '__typeof',
- '__unaligned',
- '__unhook',
- '__uuidof',
- '__value',
- '__virtual_inheritance',
- '__w64',
- '__wchar_t',
- ],
- operators: [
- '=',
- '>',
- '<',
- '!',
- '~',
- '?',
- ':',
- '==',
- '<=',
- '>=',
- '!=',
- '&&',
- '||',
- '++',
- '--',
- '+',
- '-',
- '*',
- '/',
- '&',
- '|',
- '^',
- '%',
- '<<',
- '>>',
- '>>>',
- '+=',
- '-=',
- '*=',
- '/=',
- '&=',
- '|=',
- '^=',
- '%=',
- '<<=',
- '>>=',
- '>>>=',
- ],
- symbols: /[=>](?!@symbols)/, '@brackets'],
- [
- /@symbols/,
- { cases: { '@operators': 'delimiter', '@default': '' } },
- ],
- [/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/, 'number.float'],
- [/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/, 'number.float'],
- [/0[xX][0-9a-fA-F']*[0-9a-fA-F](@integersuffix)/, 'number.hex'],
- [/0[0-7']*[0-7](@integersuffix)/, 'number.octal'],
- [/0[bB][0-1']*[0-1](@integersuffix)/, 'number.binary'],
- [/\d[\d']*\d(@integersuffix)/, 'number'],
- [/\d(@integersuffix)/, 'number'],
- [/[;,.]/, 'delimiter'],
- [/"([^"\\]|\\.)*$/, 'string.invalid'],
- [/"/, 'string', '@string'],
- [/'[^\\']'/, 'string'],
- [/(')(@escapes)(')/, ['string', 'string.escape', 'string']],
- [/'/, 'string.invalid'],
- ],
- whitespace: [
- [/[ \t\r\n]+/, ''],
- [/\/\*\*(?!\/)/, 'comment.doc', '@doccomment'],
- [/\/\*/, 'comment', '@comment'],
- [/\/\/.*$/, 'comment'],
- ],
- comment: [
- [/[^\/*]+/, 'comment'],
- [/\*\//, 'comment', '@pop'],
- [/[\/*]/, 'comment'],
- ],
- doccomment: [
- [/[^\/*]+/, 'comment.doc'],
- [/\*\//, 'comment.doc', '@pop'],
- [/[\/*]/, 'comment.doc'],
- ],
- string: [
- [/[^\\"]+/, 'string'],
- [/@escapes/, 'string.escape'],
- [/\\./, 'string.escape.invalid'],
- [/"/, 'string', '@pop'],
- ],
- raw: [
- [
- /(.*)(\))(?:([^ ()\\\t"]*))(\")/,
- {
- cases: {
- '$3==$S2': [
- 'string.raw',
- 'string.raw.end',
- 'string.raw.end',
- { token: 'string.raw.end', next: '@pop' },
- ],
- '@default': [
- 'string.raw',
- 'string.raw',
- 'string.raw',
- 'string.raw',
- ],
- },
- },
- ],
- [/.*/, 'string.raw'],
- ],
- include: [
- [
- /(\s*)(<)([^<>]*)(>)/,
- [
- '',
- 'keyword.directive.include.begin',
- 'string.include.identifier',
- { token: 'keyword.directive.include.end', next: '@pop' },
- ],
- ],
- [
- /(\s*)(")([^"]*)(")/,
- [
- '',
- 'keyword.directive.include.begin',
- 'string.include.identifier',
- { token: 'keyword.directive.include.end', next: '@pop' },
- ],
- ],
- ],
- },
- };
- },
- },
-]);
diff --git a/docs/1961.1961.js b/docs/1961.1961.js
deleted file mode 100644
index 1b97f5f8..00000000
--- a/docs/1961.1961.js
+++ /dev/null
@@ -1,1172 +0,0 @@
-(self.webpackChunkmermaid_live_editor =
- self.webpackChunkmermaid_live_editor || []).push([
- [1961],
- {
- 31961: (E, T, S) => {
- 'use strict';
- S.r(T), S.d(T, { conf: () => R, language: () => A });
- var R = {
- comments: { lineComment: '--', blockComment: ['/*', '*/'] },
- brackets: [
- ['{', '}'],
- ['[', ']'],
- ['(', ')'],
- ],
- autoClosingPairs: [
- { open: '{', close: '}' },
- { open: '[', close: ']' },
- { open: '(', close: ')' },
- { open: '"', close: '"' },
- { open: "'", close: "'" },
- ],
- surroundingPairs: [
- { open: '{', close: '}' },
- { open: '[', close: ']' },
- { open: '(', close: ')' },
- { open: '"', close: '"' },
- { open: "'", close: "'" },
- ],
- },
- A = {
- defaultToken: '',
- tokenPostfix: '.sql',
- ignoreCase: !0,
- brackets: [
- { open: '[', close: ']', token: 'delimiter.square' },
- { open: '(', close: ')', token: 'delimiter.parenthesis' },
- ],
- keywords: [
- 'ACCESSIBLE',
- 'ACCOUNT',
- 'ACTION',
- 'ADD',
- 'AFTER',
- 'AGAINST',
- 'AGGREGATE',
- 'ALGORITHM',
- 'ALL',
- 'ALTER',
- 'ALWAYS',
- 'ANALYSE',
- 'ANALYZE',
- 'AND',
- 'ANY',
- 'AS',
- 'ASC',
- 'ASCII',
- 'ASENSITIVE',
- 'AT',
- 'AUTOEXTEND_SIZE',
- 'AUTO_INCREMENT',
- 'AVG',
- 'AVG_ROW_LENGTH',
- 'BACKUP',
- 'BEFORE',
- 'BEGIN',
- 'BETWEEN',
- 'BIGINT',
- 'BINARY',
- 'BINLOG',
- 'BIT',
- 'BLOB',
- 'BLOCK',
- 'BOOL',
- 'BOOLEAN',
- 'BOTH',
- 'BTREE',
- 'BY',
- 'BYTE',
- 'CACHE',
- 'CALL',
- 'CASCADE',
- 'CASCADED',
- 'CASE',
- 'CATALOG_NAME',
- 'CHAIN',
- 'CHANGE',
- 'CHANGED',
- 'CHANNEL',
- 'CHAR',
- 'CHARACTER',
- 'CHARSET',
- 'CHECK',
- 'CHECKSUM',
- 'CIPHER',
- 'CLASS_ORIGIN',
- 'CLIENT',
- 'CLOSE',
- 'COALESCE',
- 'CODE',
- 'COLLATE',
- 'COLLATION',
- 'COLUMN',
- 'COLUMNS',
- 'COLUMN_FORMAT',
- 'COLUMN_NAME',
- 'COMMENT',
- 'COMMIT',
- 'COMMITTED',
- 'COMPACT',
- 'COMPLETION',
- 'COMPRESSED',
- 'COMPRESSION',
- 'CONCURRENT',
- 'CONDITION',
- 'CONNECTION',
- 'CONSISTENT',
- 'CONSTRAINT',
- 'CONSTRAINT_CATALOG',
- 'CONSTRAINT_NAME',
- 'CONSTRAINT_SCHEMA',
- 'CONTAINS',
- 'CONTEXT',
- 'CONTINUE',
- 'CONVERT',
- 'CPU',
- 'CREATE',
- 'CROSS',
- 'CUBE',
- 'CURRENT',
- 'CURRENT_DATE',
- 'CURRENT_TIME',
- 'CURRENT_TIMESTAMP',
- 'CURRENT_USER',
- 'CURSOR',
- 'CURSOR_NAME',
- 'DATA',
- 'DATABASE',
- 'DATABASES',
- 'DATAFILE',
- 'DATE',
- 'DATETIME',
- 'DAY',
- 'DAY_HOUR',
- 'DAY_MICROSECOND',
- 'DAY_MINUTE',
- 'DAY_SECOND',
- 'DEALLOCATE',
- 'DEC',
- 'DECIMAL',
- 'DECLARE',
- 'DEFAULT',
- 'DEFAULT_AUTH',
- 'DEFINER',
- 'DELAYED',
- 'DELAY_KEY_WRITE',
- 'DELETE',
- 'DESC',
- 'DESCRIBE',
- 'DES_KEY_FILE',
- 'DETERMINISTIC',
- 'DIAGNOSTICS',
- 'DIRECTORY',
- 'DISABLE',
- 'DISCARD',
- 'DISK',
- 'DISTINCT',
- 'DISTINCTROW',
- 'DIV',
- 'DO',
- 'DOUBLE',
- 'DROP',
- 'DUAL',
- 'DUMPFILE',
- 'DUPLICATE',
- 'DYNAMIC',
- 'EACH',
- 'ELSE',
- 'ELSEIF',
- 'ENABLE',
- 'ENCLOSED',
- 'ENCRYPTION',
- 'END',
- 'ENDS',
- 'ENGINE',
- 'ENGINES',
- 'ENUM',
- 'ERROR',
- 'ERRORS',
- 'ESCAPE',
- 'ESCAPED',
- 'EVENT',
- 'EVENTS',
- 'EVERY',
- 'EXCHANGE',
- 'EXECUTE',
- 'EXISTS',
- 'EXIT',
- 'EXPANSION',
- 'EXPIRE',
- 'EXPLAIN',
- 'EXPORT',
- 'EXTENDED',
- 'EXTENT_SIZE',
- 'FALSE',
- 'FAST',
- 'FAULTS',
- 'FETCH',
- 'FIELDS',
- 'FILE',
- 'FILE_BLOCK_SIZE',
- 'FILTER',
- 'FIRST',
- 'FIXED',
- 'FLOAT',
- 'FLOAT4',
- 'FLOAT8',
- 'FLUSH',
- 'FOLLOWS',
- 'FOR',
- 'FORCE',
- 'FOREIGN',
- 'FORMAT',
- 'FOUND',
- 'FROM',
- 'FULL',
- 'FULLTEXT',
- 'FUNCTION',
- 'GENERAL',
- 'GENERATED',
- 'GEOMETRY',
- 'GEOMETRYCOLLECTION',
- 'GET',
- 'GET_FORMAT',
- 'GLOBAL',
- 'GRANT',
- 'GRANTS',
- 'GROUP',
- 'GROUP_REPLICATION',
- 'HANDLER',
- 'HASH',
- 'HAVING',
- 'HELP',
- 'HIGH_PRIORITY',
- 'HOST',
- 'HOSTS',
- 'HOUR',
- 'HOUR_MICROSECOND',
- 'HOUR_MINUTE',
- 'HOUR_SECOND',
- 'IDENTIFIED',
- 'IF',
- 'IGNORE',
- 'IGNORE_SERVER_IDS',
- 'IMPORT',
- 'INDEX',
- 'INDEXES',
- 'INFILE',
- 'INITIAL_SIZE',
- 'INNER',
- 'INOUT',
- 'INSENSITIVE',
- 'INSERT',
- 'INSERT_METHOD',
- 'INSTALL',
- 'INSTANCE',
- 'INT',
- 'INT1',
- 'INT2',
- 'INT3',
- 'INT4',
- 'INT8',
- 'INTEGER',
- 'INTERVAL',
- 'INTO',
- 'INVOKER',
- 'IO',
- 'IO_AFTER_GTIDS',
- 'IO_BEFORE_GTIDS',
- 'IO_THREAD',
- 'IPC',
- 'ISOLATION',
- 'ISSUER',
- 'ITERATE',
- 'JOIN',
- 'JSON',
- 'KEY',
- 'KEYS',
- 'KEY_BLOCK_SIZE',
- 'KILL',
- 'LANGUAGE',
- 'LAST',
- 'LEADING',
- 'LEAVE',
- 'LEAVES',
- 'LEFT',
- 'LESS',
- 'LEVEL',
- 'LIKE',
- 'LIMIT',
- 'LINEAR',
- 'LINES',
- 'LINESTRING',
- 'LIST',
- 'LOAD',
- 'LOCAL',
- 'LOCALTIME',
- 'LOCALTIMESTAMP',
- 'LOCK',
- 'LOCKS',
- 'LOGFILE',
- 'LOGS',
- 'LONG',
- 'LONGBLOB',
- 'LONGTEXT',
- 'LOOP',
- 'LOW_PRIORITY',
- 'MASTER',
- 'MASTER_AUTO_POSITION',
- 'MASTER_BIND',
- 'MASTER_CONNECT_RETRY',
- 'MASTER_DELAY',
- 'MASTER_HEARTBEAT_PERIOD',
- 'MASTER_HOST',
- 'MASTER_LOG_FILE',
- 'MASTER_LOG_POS',
- 'MASTER_PASSWORD',
- 'MASTER_PORT',
- 'MASTER_RETRY_COUNT',
- 'MASTER_SERVER_ID',
- 'MASTER_SSL',
- 'MASTER_SSL_CA',
- 'MASTER_SSL_CAPATH',
- 'MASTER_SSL_CERT',
- 'MASTER_SSL_CIPHER',
- 'MASTER_SSL_CRL',
- 'MASTER_SSL_CRLPATH',
- 'MASTER_SSL_KEY',
- 'MASTER_SSL_VERIFY_SERVER_CERT',
- 'MASTER_TLS_VERSION',
- 'MASTER_USER',
- 'MATCH',
- 'MAXVALUE',
- 'MAX_CONNECTIONS_PER_HOUR',
- 'MAX_QUERIES_PER_HOUR',
- 'MAX_ROWS',
- 'MAX_SIZE',
- 'MAX_STATEMENT_TIME',
- 'MAX_UPDATES_PER_HOUR',
- 'MAX_USER_CONNECTIONS',
- 'MEDIUM',
- 'MEDIUMBLOB',
- 'MEDIUMINT',
- 'MEDIUMTEXT',
- 'MEMORY',
- 'MERGE',
- 'MESSAGE_TEXT',
- 'MICROSECOND',
- 'MIDDLEINT',
- 'MIGRATE',
- 'MINUTE',
- 'MINUTE_MICROSECOND',
- 'MINUTE_SECOND',
- 'MIN_ROWS',
- 'MOD',
- 'MODE',
- 'MODIFIES',
- 'MODIFY',
- 'MONTH',
- 'MULTILINESTRING',
- 'MULTIPOINT',
- 'MULTIPOLYGON',
- 'MUTEX',
- 'MYSQL_ERRNO',
- 'NAME',
- 'NAMES',
- 'NATIONAL',
- 'NATURAL',
- 'NCHAR',
- 'NDB',
- 'NDBCLUSTER',
- 'NEVER',
- 'NEW',
- 'NEXT',
- 'NO',
- 'NODEGROUP',
- 'NONBLOCKING',
- 'NONE',
- 'NO_WAIT',
- 'NO_WRITE_TO_BINLOG',
- 'NUMBER',
- 'NUMERIC',
- 'NVARCHAR',
- 'OFFSET',
- 'OLD_PASSWORD',
- 'ON',
- 'ONE',
- 'ONLY',
- 'OPEN',
- 'OPTIMIZE',
- 'OPTIMIZER_COSTS',
- 'OPTION',
- 'OPTIONALLY',
- 'OPTIONS',
- 'OR',
- 'ORDER',
- 'OUT',
- 'OUTER',
- 'OUTFILE',
- 'OWNER',
- 'PACK_KEYS',
- 'PAGE',
- 'PARSER',
- 'PARSE_GCOL_EXPR',
- 'PARTIAL',
- 'PARTITION',
- 'PARTITIONING',
- 'PARTITIONS',
- 'PASSWORD',
- 'PHASE',
- 'PLUGIN',
- 'PLUGINS',
- 'PLUGIN_DIR',
- 'POINT',
- 'POLYGON',
- 'PORT',
- 'PRECEDES',
- 'PRECISION',
- 'PREPARE',
- 'PRESERVE',
- 'PREV',
- 'PRIMARY',
- 'PRIVILEGES',
- 'PROCEDURE',
- 'PROCESSLIST',
- 'PROFILE',
- 'PROFILES',
- 'PROXY',
- 'PURGE',
- 'QUARTER',
- 'QUERY',
- 'QUICK',
- 'RANGE',
- 'READ',
- 'READS',
- 'READ_ONLY',
- 'READ_WRITE',
- 'REAL',
- 'REBUILD',
- 'RECOVER',
- 'REDOFILE',
- 'REDO_BUFFER_SIZE',
- 'REDUNDANT',
- 'REFERENCES',
- 'REGEXP',
- 'RELAY',
- 'RELAYLOG',
- 'RELAY_LOG_FILE',
- 'RELAY_LOG_POS',
- 'RELAY_THREAD',
- 'RELEASE',
- 'RELOAD',
- 'REMOVE',
- 'RENAME',
- 'REORGANIZE',
- 'REPAIR',
- 'REPEAT',
- 'REPEATABLE',
- 'REPLACE',
- 'REPLICATE_DO_DB',
- 'REPLICATE_DO_TABLE',
- 'REPLICATE_IGNORE_DB',
- 'REPLICATE_IGNORE_TABLE',
- 'REPLICATE_REWRITE_DB',
- 'REPLICATE_WILD_DO_TABLE',
- 'REPLICATE_WILD_IGNORE_TABLE',
- 'REPLICATION',
- 'REQUIRE',
- 'RESET',
- 'RESIGNAL',
- 'RESTORE',
- 'RESTRICT',
- 'RESUME',
- 'RETURN',
- 'RETURNED_SQLSTATE',
- 'RETURNS',
- 'REVERSE',
- 'REVOKE',
- 'RIGHT',
- 'RLIKE',
- 'ROLLBACK',
- 'ROLLUP',
- 'ROTATE',
- 'ROUTINE',
- 'ROW',
- 'ROWS',
- 'ROW_COUNT',
- 'ROW_FORMAT',
- 'RTREE',
- 'SAVEPOINT',
- 'SCHEDULE',
- 'SCHEMA',
- 'SCHEMAS',
- 'SCHEMA_NAME',
- 'SECOND',
- 'SECOND_MICROSECOND',
- 'SECURITY',
- 'SELECT',
- 'SENSITIVE',
- 'SEPARATOR',
- 'SERIAL',
- 'SERIALIZABLE',
- 'SERVER',
- 'SESSION',
- 'SET',
- 'SHARE',
- 'SHOW',
- 'SHUTDOWN',
- 'SIGNAL',
- 'SIGNED',
- 'SIMPLE',
- 'SLAVE',
- 'SLOW',
- 'SMALLINT',
- 'SNAPSHOT',
- 'SOCKET',
- 'SOME',
- 'SONAME',
- 'SOUNDS',
- 'SOURCE',
- 'SPATIAL',
- 'SPECIFIC',
- 'SQL',
- 'SQLEXCEPTION',
- 'SQLSTATE',
- 'SQLWARNING',
- 'SQL_AFTER_GTIDS',
- 'SQL_AFTER_MTS_GAPS',
- 'SQL_BEFORE_GTIDS',
- 'SQL_BIG_RESULT',
- 'SQL_BUFFER_RESULT',
- 'SQL_CACHE',
- 'SQL_CALC_FOUND_ROWS',
- 'SQL_NO_CACHE',
- 'SQL_SMALL_RESULT',
- 'SQL_THREAD',
- 'SQL_TSI_DAY',
- 'SQL_TSI_HOUR',
- 'SQL_TSI_MINUTE',
- 'SQL_TSI_MONTH',
- 'SQL_TSI_QUARTER',
- 'SQL_TSI_SECOND',
- 'SQL_TSI_WEEK',
- 'SQL_TSI_YEAR',
- 'SSL',
- 'STACKED',
- 'START',
- 'STARTING',
- 'STARTS',
- 'STATS_AUTO_RECALC',
- 'STATS_PERSISTENT',
- 'STATS_SAMPLE_PAGES',
- 'STATUS',
- 'STOP',
- 'STORAGE',
- 'STORED',
- 'STRAIGHT_JOIN',
- 'STRING',
- 'SUBCLASS_ORIGIN',
- 'SUBJECT',
- 'SUBPARTITION',
- 'SUBPARTITIONS',
- 'SUPER',
- 'SUSPEND',
- 'SWAPS',
- 'SWITCHES',
- 'TABLE',
- 'TABLES',
- 'TABLESPACE',
- 'TABLE_CHECKSUM',
- 'TABLE_NAME',
- 'TEMPORARY',
- 'TEMPTABLE',
- 'TERMINATED',
- 'TEXT',
- 'THAN',
- 'THEN',
- 'TIME',
- 'TIMESTAMP',
- 'TIMESTAMPADD',
- 'TIMESTAMPDIFF',
- 'TINYBLOB',
- 'TINYINT',
- 'TINYTEXT',
- 'TO',
- 'TRAILING',
- 'TRANSACTION',
- 'TRIGGER',
- 'TRIGGERS',
- 'TRUE',
- 'TRUNCATE',
- 'TYPE',
- 'TYPES',
- 'UNCOMMITTED',
- 'UNDEFINED',
- 'UNDO',
- 'UNDOFILE',
- 'UNDO_BUFFER_SIZE',
- 'UNICODE',
- 'UNINSTALL',
- 'UNION',
- 'UNIQUE',
- 'UNKNOWN',
- 'UNLOCK',
- 'UNSIGNED',
- 'UNTIL',
- 'UPDATE',
- 'UPGRADE',
- 'USAGE',
- 'USE',
- 'USER',
- 'USER_RESOURCES',
- 'USE_FRM',
- 'USING',
- 'UTC_DATE',
- 'UTC_TIME',
- 'UTC_TIMESTAMP',
- 'VALIDATION',
- 'VALUE',
- 'VALUES',
- 'VARBINARY',
- 'VARCHAR',
- 'VARCHARACTER',
- 'VARIABLES',
- 'VARYING',
- 'VIEW',
- 'VIRTUAL',
- 'WAIT',
- 'WARNINGS',
- 'WEEK',
- 'WEIGHT_STRING',
- 'WHEN',
- 'WHERE',
- 'WHILE',
- 'WITH',
- 'WITHOUT',
- 'WORK',
- 'WRAPPER',
- 'WRITE',
- 'X509',
- 'XA',
- 'XID',
- 'XML',
- 'XOR',
- 'YEAR',
- 'YEAR_MONTH',
- 'ZEROFILL',
- ],
- operators: [
- 'AND',
- 'BETWEEN',
- 'IN',
- 'LIKE',
- 'NOT',
- 'OR',
- 'IS',
- 'NULL',
- 'INTERSECT',
- 'UNION',
- 'INNER',
- 'JOIN',
- 'LEFT',
- 'OUTER',
- 'RIGHT',
- ],
- builtinFunctions: [
- 'ABS',
- 'ACOS',
- 'ADDDATE',
- 'ADDTIME',
- 'AES_DECRYPT',
- 'AES_ENCRYPT',
- 'ANY_VALUE',
- 'Area',
- 'AsBinary',
- 'AsWKB',
- 'ASCII',
- 'ASIN',
- 'AsText',
- 'AsWKT',
- 'ASYMMETRIC_DECRYPT',
- 'ASYMMETRIC_DERIVE',
- 'ASYMMETRIC_ENCRYPT',
- 'ASYMMETRIC_SIGN',
- 'ASYMMETRIC_VERIFY',
- 'ATAN',
- 'ATAN2',
- 'ATAN',
- 'AVG',
- 'BENCHMARK',
- 'BIN',
- 'BIT_AND',
- 'BIT_COUNT',
- 'BIT_LENGTH',
- 'BIT_OR',
- 'BIT_XOR',
- 'Buffer',
- 'CAST',
- 'CEIL',
- 'CEILING',
- 'Centroid',
- 'CHAR',
- 'CHAR_LENGTH',
- 'CHARACTER_LENGTH',
- 'CHARSET',
- 'COALESCE',
- 'COERCIBILITY',
- 'COLLATION',
- 'COMPRESS',
- 'CONCAT',
- 'CONCAT_WS',
- 'CONNECTION_ID',
- 'Contains',
- 'CONV',
- 'CONVERT',
- 'CONVERT_TZ',
- 'ConvexHull',
- 'COS',
- 'COT',
- 'COUNT',
- 'CRC32',
- 'CREATE_ASYMMETRIC_PRIV_KEY',
- 'CREATE_ASYMMETRIC_PUB_KEY',
- 'CREATE_DH_PARAMETERS',
- 'CREATE_DIGEST',
- 'Crosses',
- 'CURDATE',
- 'CURRENT_DATE',
- 'CURRENT_TIME',
- 'CURRENT_TIMESTAMP',
- 'CURRENT_USER',
- 'CURTIME',
- 'DATABASE',
- 'DATE',
- 'DATE_ADD',
- 'DATE_FORMAT',
- 'DATE_SUB',
- 'DATEDIFF',
- 'DAY',
- 'DAYNAME',
- 'DAYOFMONTH',
- 'DAYOFWEEK',
- 'DAYOFYEAR',
- 'DECODE',
- 'DEFAULT',
- 'DEGREES',
- 'DES_DECRYPT',
- 'DES_ENCRYPT',
- 'Dimension',
- 'Disjoint',
- 'Distance',
- 'ELT',
- 'ENCODE',
- 'ENCRYPT',
- 'EndPoint',
- 'Envelope',
- 'Equals',
- 'EXP',
- 'EXPORT_SET',
- 'ExteriorRing',
- 'EXTRACT',
- 'ExtractValue',
- 'FIELD',
- 'FIND_IN_SET',
- 'FLOOR',
- 'FORMAT',
- 'FOUND_ROWS',
- 'FROM_BASE64',
- 'FROM_DAYS',
- 'FROM_UNIXTIME',
- 'GeomCollFromText',
- 'GeometryCollectionFromText',
- 'GeomCollFromWKB',
- 'GeometryCollectionFromWKB',
- 'GeometryCollection',
- 'GeometryN',
- 'GeometryType',
- 'GeomFromText',
- 'GeometryFromText',
- 'GeomFromWKB',
- 'GeometryFromWKB',
- 'GET_FORMAT',
- 'GET_LOCK',
- 'GLength',
- 'GREATEST',
- 'GROUP_CONCAT',
- 'GTID_SUBSET',
- 'GTID_SUBTRACT',
- 'HEX',
- 'HOUR',
- 'IF',
- 'IFNULL',
- 'INET_ATON',
- 'INET_NTOA',
- 'INET6_ATON',
- 'INET6_NTOA',
- 'INSERT',
- 'INSTR',
- 'InteriorRingN',
- 'Intersects',
- 'INTERVAL',
- 'IS_FREE_LOCK',
- 'IS_IPV4',
- 'IS_IPV4_COMPAT',
- 'IS_IPV4_MAPPED',
- 'IS_IPV6',
- 'IS_USED_LOCK',
- 'IsClosed',
- 'IsEmpty',
- 'ISNULL',
- 'IsSimple',
- 'JSON_APPEND',
- 'JSON_ARRAY',
- 'JSON_ARRAY_APPEND',
- 'JSON_ARRAY_INSERT',
- 'JSON_CONTAINS',
- 'JSON_CONTAINS_PATH',
- 'JSON_DEPTH',
- 'JSON_EXTRACT',
- 'JSON_INSERT',
- 'JSON_KEYS',
- 'JSON_LENGTH',
- 'JSON_MERGE',
- 'JSON_MERGE_PRESERVE',
- 'JSON_OBJECT',
- 'JSON_QUOTE',
- 'JSON_REMOVE',
- 'JSON_REPLACE',
- 'JSON_SEARCH',
- 'JSON_SET',
- 'JSON_TYPE',
- 'JSON_UNQUOTE',
- 'JSON_VALID',
- 'LAST_INSERT_ID',
- 'LCASE',
- 'LEAST',
- 'LEFT',
- 'LENGTH',
- 'LineFromText',
- 'LineStringFromText',
- 'LineFromWKB',
- 'LineStringFromWKB',
- 'LineString',
- 'LN',
- 'LOAD_FILE',
- 'LOCALTIME',
- 'LOCALTIMESTAMP',
- 'LOCATE',
- 'LOG',
- 'LOG10',
- 'LOG2',
- 'LOWER',
- 'LPAD',
- 'LTRIM',
- 'MAKE_SET',
- 'MAKEDATE',
- 'MAKETIME',
- 'MASTER_POS_WAIT',
- 'MAX',
- 'MBRContains',
- 'MBRCoveredBy',
- 'MBRCovers',
- 'MBRDisjoint',
- 'MBREqual',
- 'MBREquals',
- 'MBRIntersects',
- 'MBROverlaps',
- 'MBRTouches',
- 'MBRWithin',
- 'MD5',
- 'MICROSECOND',
- 'MID',
- 'MIN',
- 'MINUTE',
- 'MLineFromText',
- 'MultiLineStringFromText',
- 'MLineFromWKB',
- 'MultiLineStringFromWKB',
- 'MOD',
- 'MONTH',
- 'MONTHNAME',
- 'MPointFromText',
- 'MultiPointFromText',
- 'MPointFromWKB',
- 'MultiPointFromWKB',
- 'MPolyFromText',
- 'MultiPolygonFromText',
- 'MPolyFromWKB',
- 'MultiPolygonFromWKB',
- 'MultiLineString',
- 'MultiPoint',
- 'MultiPolygon',
- 'NAME_CONST',
- 'NOT IN',
- 'NOW',
- 'NULLIF',
- 'NumGeometries',
- 'NumInteriorRings',
- 'NumPoints',
- 'OCT',
- 'OCTET_LENGTH',
- 'OLD_PASSWORD',
- 'ORD',
- 'Overlaps',
- 'PASSWORD',
- 'PERIOD_ADD',
- 'PERIOD_DIFF',
- 'PI',
- 'Point',
- 'PointFromText',
- 'PointFromWKB',
- 'PointN',
- 'PolyFromText',
- 'PolygonFromText',
- 'PolyFromWKB',
- 'PolygonFromWKB',
- 'Polygon',
- 'POSITION',
- 'POW',
- 'POWER',
- 'PROCEDURE ANALYSE',
- 'QUARTER',
- 'QUOTE',
- 'RADIANS',
- 'RAND',
- 'RANDOM_BYTES',
- 'RELEASE_ALL_LOCKS',
- 'RELEASE_LOCK',
- 'REPEAT',
- 'REPLACE',
- 'REVERSE',
- 'RIGHT',
- 'ROUND',
- 'ROW_COUNT',
- 'RPAD',
- 'RTRIM',
- 'SCHEMA',
- 'SEC_TO_TIME',
- 'SECOND',
- 'SESSION_USER',
- 'SHA1',
- 'SHA',
- 'SHA2',
- 'SIGN',
- 'SIN',
- 'SLEEP',
- 'SOUNDEX',
- 'SPACE',
- 'SQRT',
- 'SRID',
- 'ST_Area',
- 'ST_AsBinary',
- 'ST_AsWKB',
- 'ST_AsGeoJSON',
- 'ST_AsText',
- 'ST_AsWKT',
- 'ST_Buffer',
- 'ST_Buffer_Strategy',
- 'ST_Centroid',
- 'ST_Contains',
- 'ST_ConvexHull',
- 'ST_Crosses',
- 'ST_Difference',
- 'ST_Dimension',
- 'ST_Disjoint',
- 'ST_Distance',
- 'ST_Distance_Sphere',
- 'ST_EndPoint',
- 'ST_Envelope',
- 'ST_Equals',
- 'ST_ExteriorRing',
- 'ST_GeoHash',
- 'ST_GeomCollFromText',
- 'ST_GeometryCollectionFromText',
- 'ST_GeomCollFromTxt',
- 'ST_GeomCollFromWKB',
- 'ST_GeometryCollectionFromWKB',
- 'ST_GeometryN',
- 'ST_GeometryType',
- 'ST_GeomFromGeoJSON',
- 'ST_GeomFromText',
- 'ST_GeometryFromText',
- 'ST_GeomFromWKB',
- 'ST_GeometryFromWKB',
- 'ST_InteriorRingN',
- 'ST_Intersection',
- 'ST_Intersects',
- 'ST_IsClosed',
- 'ST_IsEmpty',
- 'ST_IsSimple',
- 'ST_IsValid',
- 'ST_LatFromGeoHash',
- 'ST_Length',
- 'ST_LineFromText',
- 'ST_LineStringFromText',
- 'ST_LineFromWKB',
- 'ST_LineStringFromWKB',
- 'ST_LongFromGeoHash',
- 'ST_MakeEnvelope',
- 'ST_MLineFromText',
- 'ST_MultiLineStringFromText',
- 'ST_MLineFromWKB',
- 'ST_MultiLineStringFromWKB',
- 'ST_MPointFromText',
- 'ST_MultiPointFromText',
- 'ST_MPointFromWKB',
- 'ST_MultiPointFromWKB',
- 'ST_MPolyFromText',
- 'ST_MultiPolygonFromText',
- 'ST_MPolyFromWKB',
- 'ST_MultiPolygonFromWKB',
- 'ST_NumGeometries',
- 'ST_NumInteriorRing',
- 'ST_NumInteriorRings',
- 'ST_NumPoints',
- 'ST_Overlaps',
- 'ST_PointFromGeoHash',
- 'ST_PointFromText',
- 'ST_PointFromWKB',
- 'ST_PointN',
- 'ST_PolyFromText',
- 'ST_PolygonFromText',
- 'ST_PolyFromWKB',
- 'ST_PolygonFromWKB',
- 'ST_Simplify',
- 'ST_SRID',
- 'ST_StartPoint',
- 'ST_SymDifference',
- 'ST_Touches',
- 'ST_Union',
- 'ST_Validate',
- 'ST_Within',
- 'ST_X',
- 'ST_Y',
- 'StartPoint',
- 'STD',
- 'STDDEV',
- 'STDDEV_POP',
- 'STDDEV_SAMP',
- 'STR_TO_DATE',
- 'STRCMP',
- 'SUBDATE',
- 'SUBSTR',
- 'SUBSTRING',
- 'SUBSTRING_INDEX',
- 'SUBTIME',
- 'SUM',
- 'SYSDATE',
- 'SYSTEM_USER',
- 'TAN',
- 'TIME',
- 'TIME_FORMAT',
- 'TIME_TO_SEC',
- 'TIMEDIFF',
- 'TIMESTAMP',
- 'TIMESTAMPADD',
- 'TIMESTAMPDIFF',
- 'TO_BASE64',
- 'TO_DAYS',
- 'TO_SECONDS',
- 'Touches',
- 'TRIM',
- 'TRUNCATE',
- 'UCASE',
- 'UNCOMPRESS',
- 'UNCOMPRESSED_LENGTH',
- 'UNHEX',
- 'UNIX_TIMESTAMP',
- 'UpdateXML',
- 'UPPER',
- 'USER',
- 'UTC_DATE',
- 'UTC_TIME',
- 'UTC_TIMESTAMP',
- 'UUID',
- 'UUID_SHORT',
- 'VALIDATE_PASSWORD_STRENGTH',
- 'VALUES',
- 'VAR_POP',
- 'VAR_SAMP',
- 'VARIANCE',
- 'VERSION',
- 'WAIT_FOR_EXECUTED_GTID_SET',
- 'WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS',
- 'WEEK',
- 'WEEKDAY',
- 'WEEKOFYEAR',
- 'WEIGHT_STRING',
- 'Within',
- 'X',
- 'Y',
- 'YEAR',
- 'YEARWEEK',
- ],
- builtinVariables: [],
- tokenizer: {
- root: [
- { include: '@comments' },
- { include: '@whitespace' },
- { include: '@numbers' },
- { include: '@strings' },
- { include: '@complexIdentifiers' },
- { include: '@scopes' },
- [/[;,.]/, 'delimiter'],
- [/[()]/, '@brackets'],
- [
- /[\w@]+/,
- {
- cases: {
- '@keywords': 'keyword',
- '@operators': 'operator',
- '@builtinVariables': 'predefined',
- '@builtinFunctions': 'predefined',
- '@default': 'identifier',
- },
- },
- ],
- [/[<>=!%&+\-*/|~^]/, 'operator'],
- ],
- whitespace: [[/\s+/, 'white']],
- comments: [
- [/--+.*/, 'comment'],
- [/#+.*/, 'comment'],
- [/\/\*/, { token: 'comment.quote', next: '@comment' }],
- ],
- comment: [
- [/[^*/]+/, 'comment'],
- [/\*\//, { token: 'comment.quote', next: '@pop' }],
- [/./, 'comment'],
- ],
- numbers: [
- [/0[xX][0-9a-fA-F]*/, 'number'],
- [/[$][+-]*\d*(\.\d*)?/, 'number'],
- [/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/, 'number'],
- ],
- strings: [
- [/'/, { token: 'string', next: '@string' }],
- [/"/, { token: 'string.double', next: '@stringDouble' }],
- ],
- string: [
- [/[^']+/, 'string'],
- [/''/, 'string'],
- [/'/, { token: 'string', next: '@pop' }],
- ],
- stringDouble: [
- [/[^"]+/, 'string.double'],
- [/""/, 'string.double'],
- [/"/, { token: 'string.double', next: '@pop' }],
- ],
- complexIdentifiers: [
- [/`/, { token: 'identifier.quote', next: '@quotedIdentifier' }],
- ],
- quotedIdentifier: [
- [/[^`]+/, 'identifier'],
- [/``/, 'identifier'],
- [/`/, { token: 'identifier.quote', next: '@pop' }],
- ],
- scopes: [],
- },
- };
- },
- },
-]);
diff --git a/docs/2060.2060.js b/docs/2060.2060.js
deleted file mode 100644
index 778ec17f..00000000
--- a/docs/2060.2060.js
+++ /dev/null
@@ -1,112 +0,0 @@
-(self.webpackChunkmermaid_live_editor =
- self.webpackChunkmermaid_live_editor || []).push([
- [2060],
- {
- 32060: (e, o, n) => {
- 'use strict';
- n.r(o), n.d(o, { conf: () => t, language: () => s });
- var t = {
- comments: { lineComment: ';', blockComment: ['#|', '|#'] },
- brackets: [
- ['(', ')'],
- ['{', '}'],
- ['[', ']'],
- ],
- autoClosingPairs: [
- { open: '{', close: '}' },
- { open: '[', close: ']' },
- { open: '(', close: ')' },
- { open: '"', close: '"' },
- ],
- surroundingPairs: [
- { open: '{', close: '}' },
- { open: '[', close: ']' },
- { open: '(', close: ')' },
- { open: '"', close: '"' },
- ],
- },
- s = {
- defaultToken: '',
- ignoreCase: !0,
- tokenPostfix: '.scheme',
- brackets: [
- { open: '(', close: ')', token: 'delimiter.parenthesis' },
- { open: '{', close: '}', token: 'delimiter.curly' },
- { open: '[', close: ']', token: 'delimiter.square' },
- ],
- keywords: [
- 'case',
- 'do',
- 'let',
- 'loop',
- 'if',
- 'else',
- 'when',
- 'cons',
- 'car',
- 'cdr',
- 'cond',
- 'lambda',
- 'lambda*',
- 'syntax-rules',
- 'format',
- 'set!',
- 'quote',
- 'eval',
- 'append',
- 'list',
- 'list?',
- 'member?',
- 'load',
- ],
- constants: ['#t', '#f'],
- operators: ['eq?', 'eqv?', 'equal?', 'and', 'or', 'not', 'null?'],
- tokenizer: {
- root: [
- [/#[xXoObB][0-9a-fA-F]+/, 'number.hex'],
- [/[+-]?\d+(?:(?:\.\d*)?(?:[eE][+-]?\d+)?)?/, 'number.float'],
- [
- /(?:\b(?:(define|define-syntax|define-macro))\b)(\s+)((?:\w|\-|\!|\?)*)/,
- ['keyword', 'white', 'variable'],
- ],
- { include: '@whitespace' },
- { include: '@strings' },
- [
- /[a-zA-Z_#][a-zA-Z0-9_\-\?\!\*]*/,
- {
- cases: {
- '@keywords': 'keyword',
- '@constants': 'constant',
- '@operators': 'operators',
- '@default': 'identifier',
- },
- },
- ],
- ],
- comment: [
- [/[^\|#]+/, 'comment'],
- [/#\|/, 'comment', '@push'],
- [/\|#/, 'comment', '@pop'],
- [/[\|#]/, 'comment'],
- ],
- whitespace: [
- [/[ \t\r\n]+/, 'white'],
- [/#\|/, 'comment', '@comment'],
- [/;.*$/, 'comment'],
- ],
- strings: [
- [/"$/, 'string', '@popall'],
- [/"(?=.)/, 'string', '@multiLineString'],
- ],
- multiLineString: [
- [/[^\\"]+$/, 'string', '@popall'],
- [/[^\\"]+/, 'string'],
- [/\\./, 'string.escape'],
- [/"/, 'string', '@popall'],
- [/\\$/, 'string'],
- ],
- },
- };
- },
- },
-]);
diff --git a/docs/2075.2075.js b/docs/2075.2075.js
deleted file mode 100644
index 8f17bc87..00000000
--- a/docs/2075.2075.js
+++ /dev/null
@@ -1,222 +0,0 @@
-(self.webpackChunkmermaid_live_editor =
- self.webpackChunkmermaid_live_editor || []).push([
- [2075],
- {
- 62075: (e, t, n) => {
- 'use strict';
- n.r(t), n.d(t, { conf: () => i, language: () => r });
- var i = {
- wordPattern: /(#?-?\d*\.\d\w*%?)|((::|[@#.!:])?[\w-?]+%?)|::|[@#.!:]/g,
- comments: { blockComment: ['/*', '*/'] },
- brackets: [
- ['{', '}'],
- ['[', ']'],
- ['(', ')'],
- ],
- autoClosingPairs: [
- { open: '{', close: '}', notIn: ['string', 'comment'] },
- { open: '[', close: ']', notIn: ['string', 'comment'] },
- { open: '(', close: ')', notIn: ['string', 'comment'] },
- { open: '"', close: '"', notIn: ['string', 'comment'] },
- { open: "'", close: "'", notIn: ['string', 'comment'] },
- ],
- surroundingPairs: [
- { open: '{', close: '}' },
- { open: '[', close: ']' },
- { open: '(', close: ')' },
- { open: '"', close: '"' },
- { open: "'", close: "'" },
- ],
- folding: {
- markers: {
- start: new RegExp('^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/'),
- end: new RegExp('^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/'),
- },
- },
- },
- r = {
- defaultToken: '',
- tokenPostfix: '.css',
- ws: '[ \t\n\r\f]*',
- identifier:
- '-?-?([a-zA-Z]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*',
- brackets: [
- { open: '{', close: '}', token: 'delimiter.bracket' },
- { open: '[', close: ']', token: 'delimiter.bracket' },
- { open: '(', close: ')', token: 'delimiter.parenthesis' },
- { open: '<', close: '>', token: 'delimiter.angle' },
- ],
- tokenizer: {
- root: [{ include: '@selector' }],
- selector: [
- { include: '@comments' },
- { include: '@import' },
- { include: '@strings' },
- [
- '[@](keyframes|-webkit-keyframes|-moz-keyframes|-o-keyframes)',
- { token: 'keyword', next: '@keyframedeclaration' },
- ],
- [
- '[@](page|content|font-face|-moz-document)',
- { token: 'keyword' },
- ],
- [
- '[@](charset|namespace)',
- { token: 'keyword', next: '@declarationbody' },
- ],
- [
- '(url-prefix)(\\()',
- [
- 'attribute.value',
- { token: 'delimiter.parenthesis', next: '@urldeclaration' },
- ],
- ],
- [
- '(url)(\\()',
- [
- 'attribute.value',
- { token: 'delimiter.parenthesis', next: '@urldeclaration' },
- ],
- ],
- { include: '@selectorname' },
- ['[\\*]', 'tag'],
- ['[>\\+,]', 'delimiter'],
- [
- '\\[',
- { token: 'delimiter.bracket', next: '@selectorattribute' },
- ],
- ['{', { token: 'delimiter.bracket', next: '@selectorbody' }],
- ],
- selectorbody: [
- { include: '@comments' },
- [
- '[*_]?@identifier@ws:(?=(\\s|\\d|[^{;}]*[;}]))',
- 'attribute.name',
- '@rulevalue',
- ],
- ['}', { token: 'delimiter.bracket', next: '@pop' }],
- ],
- selectorname: [['(\\.|#(?=[^{])|%|(@identifier)|:)+', 'tag']],
- selectorattribute: [
- { include: '@term' },
- [']', { token: 'delimiter.bracket', next: '@pop' }],
- ],
- term: [
- { include: '@comments' },
- [
- '(url-prefix)(\\()',
- [
- 'attribute.value',
- { token: 'delimiter.parenthesis', next: '@urldeclaration' },
- ],
- ],
- [
- '(url)(\\()',
- [
- 'attribute.value',
- { token: 'delimiter.parenthesis', next: '@urldeclaration' },
- ],
- ],
- { include: '@functioninvocation' },
- { include: '@numbers' },
- { include: '@name' },
- ['([<>=\\+\\-\\*\\/\\^\\|\\~,])', 'delimiter'],
- [',', 'delimiter'],
- ],
- rulevalue: [
- { include: '@comments' },
- { include: '@strings' },
- { include: '@term' },
- ['!important', 'keyword'],
- [';', 'delimiter', '@pop'],
- ['(?=})', { token: '', next: '@pop' }],
- ],
- warndebug: [
- [
- '[@](warn|debug)',
- { token: 'keyword', next: '@declarationbody' },
- ],
- ],
- import: [
- ['[@](import)', { token: 'keyword', next: '@declarationbody' }],
- ],
- urldeclaration: [
- { include: '@strings' },
- ['[^)\r\n]+', 'string'],
- ['\\)', { token: 'delimiter.parenthesis', next: '@pop' }],
- ],
- parenthizedterm: [
- { include: '@term' },
- ['\\)', { token: 'delimiter.parenthesis', next: '@pop' }],
- ],
- declarationbody: [
- { include: '@term' },
- [';', 'delimiter', '@pop'],
- ['(?=})', { token: '', next: '@pop' }],
- ],
- comments: [
- ['\\/\\*', 'comment', '@comment'],
- ['\\/\\/+.*', 'comment'],
- ],
- comment: [
- ['\\*\\/', 'comment', '@pop'],
- [/[^*/]+/, 'comment'],
- [/./, 'comment'],
- ],
- name: [['@identifier', 'attribute.value']],
- numbers: [
- [
- '-?(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?',
- { token: 'attribute.value.number', next: '@units' },
- ],
- ['#[0-9a-fA-F_]+(?!\\w)', 'attribute.value.hex'],
- ],
- units: [
- [
- '(em|ex|ch|rem|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?',
- 'attribute.value.unit',
- '@pop',
- ],
- ],
- keyframedeclaration: [
- ['@identifier', 'attribute.value'],
- ['{', { token: 'delimiter.bracket', switchTo: '@keyframebody' }],
- ],
- keyframebody: [
- { include: '@term' },
- ['{', { token: 'delimiter.bracket', next: '@selectorbody' }],
- ['}', { token: 'delimiter.bracket', next: '@pop' }],
- ],
- functioninvocation: [
- [
- '@identifier\\(',
- { token: 'attribute.value', next: '@functionarguments' },
- ],
- ],
- functionarguments: [
- ['\\$@identifier@ws:', 'attribute.name'],
- ['[,]', 'delimiter'],
- { include: '@term' },
- ['\\)', { token: 'attribute.value', next: '@pop' }],
- ],
- strings: [
- ['~?"', { token: 'string', next: '@stringenddoublequote' }],
- ["~?'", { token: 'string', next: '@stringendquote' }],
- ],
- stringenddoublequote: [
- ['\\\\.', 'string'],
- ['"', { token: 'string', next: '@pop' }],
- [/[^\\"]+/, 'string'],
- ['.', 'string'],
- ],
- stringendquote: [
- ['\\\\.', 'string'],
- ["'", { token: 'string', next: '@pop' }],
- [/[^\\']+/, 'string'],
- ['.', 'string'],
- ],
- },
- };
- },
- },
-]);
diff --git a/docs/2140.2140.js b/docs/2140.2140.js
deleted file mode 100644
index 0e9dc55d..00000000
--- a/docs/2140.2140.js
+++ /dev/null
@@ -1,222 +0,0 @@
-(self.webpackChunkmermaid_live_editor =
- self.webpackChunkmermaid_live_editor || []).push([
- [2140],
- {
- 22140: (e, o, r) => {
- 'use strict';
- r.r(o), r.d(o, { conf: () => t, language: () => a });
- var t = {
- comments: { lineComment: '#' },
- brackets: [
- ['{', '}'],
- ['[', ']'],
- ['(', ')'],
- ],
- autoClosingPairs: [
- { open: '{', close: '}' },
- { open: '[', close: ']' },
- { open: '(', close: ')' },
- { open: '"', close: '"' },
- ],
- surroundingPairs: [
- { open: '{', close: '}' },
- { open: '[', close: ']' },
- { open: '(', close: ')' },
- { open: '"', close: '"' },
- ],
- },
- a = {
- defaultToken: '',
- tokenPostfix: '.r',
- roxygen: [
- '@param',
- '@return',
- '@name',
- '@rdname',
- '@examples',
- '@include',
- '@docType',
- '@S3method',
- '@TODO',
- '@aliases',
- '@alias',
- '@assignee',
- '@author',
- '@callGraphDepth',
- '@callGraph',
- '@callGraphPrimitives',
- '@concept',
- '@exportClass',
- '@exportMethod',
- '@exportPattern',
- '@export',
- '@formals',
- '@format',
- '@importClassesFrom',
- '@importFrom',
- '@importMethodsFrom',
- '@import',
- '@keywords',
- '@method',
- '@nord',
- '@note',
- '@references',
- '@seealso',
- '@setClass',
- '@slot',
- '@source',
- '@title',
- '@usage',
- ],
- constants: [
- 'NULL',
- 'FALSE',
- 'TRUE',
- 'NA',
- 'Inf',
- 'NaN ',
- 'NA_integer_',
- 'NA_real_',
- 'NA_complex_',
- 'NA_character_ ',
- 'T',
- 'F',
- 'LETTERS',
- 'letters',
- 'month.abb',
- 'month.name',
- 'pi',
- 'R.version.string',
- ],
- keywords: [
- 'break',
- 'next',
- 'return',
- 'if',
- 'else',
- 'for',
- 'in',
- 'repeat',
- 'while',
- 'array',
- 'category',
- 'character',
- 'complex',
- 'double',
- 'function',
- 'integer',
- 'list',
- 'logical',
- 'matrix',
- 'numeric',
- 'vector',
- 'data.frame',
- 'factor',
- 'library',
- 'require',
- 'attach',
- 'detach',
- 'source',
- ],
- special: [
- '\\n',
- '\\r',
- '\\t',
- '\\b',
- '\\a',
- '\\f',
- '\\v',
- "\\'",
- '\\"',
- '\\\\',
- ],
- brackets: [
- { open: '{', close: '}', token: 'delimiter.curly' },
- { open: '[', close: ']', token: 'delimiter.bracket' },
- { open: '(', close: ')', token: 'delimiter.parenthesis' },
- ],
- tokenizer: {
- root: [
- { include: '@numbers' },
- { include: '@strings' },
- [/[{}\[\]()]/, '@brackets'],
- { include: '@operators' },
- [/#'/, 'comment.doc', '@roxygen'],
- [/(^#.*$)/, 'comment'],
- [/\s+/, 'white'],
- [/[,:;]/, 'delimiter'],
- [/@[a-zA-Z]\w*/, 'tag'],
- [
- /[a-zA-Z]\w*/,
- {
- cases: {
- '@keywords': 'keyword',
- '@constants': 'constant',
- '@default': 'identifier',
- },
- },
- ],
- ],
- roxygen: [
- [
- /@\w+/,
- {
- cases: {
- '@roxygen': 'tag',
- '@eos': { token: 'comment.doc', next: '@pop' },
- '@default': 'comment.doc',
- },
- },
- ],
- [
- /\s+/,
- {
- cases: {
- '@eos': { token: 'comment.doc', next: '@pop' },
- '@default': 'comment.doc',
- },
- },
- ],
- [/.*/, { token: 'comment.doc', next: '@pop' }],
- ],
- numbers: [
- [/0[xX][0-9a-fA-F]+/, 'number.hex'],
- [/-?(\d*\.)?\d+([eE][+\-]?\d+)?/, 'number'],
- ],
- operators: [
- [/<{1,2}-/, 'operator'],
- [/->{1,2}/, 'operator'],
- [/%[^%\s]+%/, 'operator'],
- [/\*\*/, 'operator'],
- [/%%/, 'operator'],
- [/&&/, 'operator'],
- [/\|\|/, 'operator'],
- [/<, 'operator'],
- [/>>/, 'operator'],
- [/[-+=&|!<>^~*/:$]/, 'operator'],
- ],
- strings: [
- [/'/, 'string.escape', '@stringBody'],
- [/"/, 'string.escape', '@dblStringBody'],
- ],
- stringBody: [
- [
- /\\./,
- { cases: { '@special': 'string', '@default': 'error-token' } },
- ],
- [/'/, 'string.escape', '@popall'],
- [/./, 'string'],
- ],
- dblStringBody: [
- [
- /\\./,
- { cases: { '@special': 'string', '@default': 'error-token' } },
- ],
- [/"/, 'string.escape', '@popall'],
- [/./, 'string'],
- ],
- },
- };
- },
- },
-]);
diff --git a/docs/249.249.js b/docs/249.249.js
deleted file mode 100644
index ada5593e..00000000
--- a/docs/249.249.js
+++ /dev/null
@@ -1,201 +0,0 @@
-(self.webpackChunkmermaid_live_editor =
- self.webpackChunkmermaid_live_editor || []).push([
- [249],
- {
- 80249: (e, n, t) => {
- 'use strict';
- t.r(n), t.d(n, { conf: () => o, language: () => s });
- var o = {
- comments: { lineComment: '//', blockComment: ['/*', '*/'] },
- brackets: [
- ['{', '}'],
- ['[', ']'],
- ['(', ')'],
- ],
- autoClosingPairs: [
- { open: '{', close: '}' },
- { open: '[', close: ']' },
- { open: '(', close: ')' },
- { open: '`', close: '`', notIn: ['string'] },
- { open: '"', close: '"', notIn: ['string'] },
- { open: "'", close: "'", notIn: ['string', 'comment'] },
- ],
- surroundingPairs: [
- { open: '{', close: '}' },
- { open: '[', close: ']' },
- { open: '(', close: ')' },
- { open: '`', close: '`' },
- { open: '"', close: '"' },
- { open: "'", close: "'" },
- ],
- },
- s = {
- defaultToken: '',
- tokenPostfix: '.go',
- keywords: [
- 'break',
- 'case',
- 'chan',
- 'const',
- 'continue',
- 'default',
- 'defer',
- 'else',
- 'fallthrough',
- 'for',
- 'func',
- 'go',
- 'goto',
- 'if',
- 'import',
- 'interface',
- 'map',
- 'package',
- 'range',
- 'return',
- 'select',
- 'struct',
- 'switch',
- 'type',
- 'var',
- 'bool',
- 'true',
- 'false',
- 'uint8',
- 'uint16',
- 'uint32',
- 'uint64',
- 'int8',
- 'int16',
- 'int32',
- 'int64',
- 'float32',
- 'float64',
- 'complex64',
- 'complex128',
- 'byte',
- 'rune',
- 'uint',
- 'int',
- 'uintptr',
- 'string',
- 'nil',
- ],
- operators: [
- '+',
- '-',
- '*',
- '/',
- '%',
- '&',
- '|',
- '^',
- '<<',
- '>>',
- '&^',
- '+=',
- '-=',
- '*=',
- '/=',
- '%=',
- '&=',
- '|=',
- '^=',
- '<<=',
- '>>=',
- '&^=',
- '&&',
- '||',
- '<-',
- '++',
- '--',
- '==',
- '<',
- '>',
- '=',
- '!',
- '!=',
- '<=',
- '>=',
- ':=',
- '...',
- '(',
- ')',
- '',
- ']',
- '{',
- '}',
- ',',
- ';',
- '.',
- ':',
- ],
- symbols: /[=>](?!@symbols)/, '@brackets'],
- [
- /@symbols/,
- { cases: { '@operators': 'delimiter', '@default': '' } },
- ],
- [/\d*\d+[eE]([\-+]?\d+)?/, 'number.float'],
- [/\d*\.\d+([eE][\-+]?\d+)?/, 'number.float'],
- [/0[xX][0-9a-fA-F']*[0-9a-fA-F]/, 'number.hex'],
- [/0[0-7']*[0-7]/, 'number.octal'],
- [/0[bB][0-1']*[0-1]/, 'number.binary'],
- [/\d[\d']*/, 'number'],
- [/\d/, 'number'],
- [/[;,.]/, 'delimiter'],
- [/"([^"\\]|\\.)*$/, 'string.invalid'],
- [/"/, 'string', '@string'],
- [/`/, 'string', '@rawstring'],
- [/'[^\\']'/, 'string'],
- [/(')(@escapes)(')/, ['string', 'string.escape', 'string']],
- [/'/, 'string.invalid'],
- ],
- whitespace: [
- [/[ \t\r\n]+/, ''],
- [/\/\*\*(?!\/)/, 'comment.doc', '@doccomment'],
- [/\/\*/, 'comment', '@comment'],
- [/\/\/.*$/, 'comment'],
- ],
- comment: [
- [/[^\/*]+/, 'comment'],
- [/\*\//, 'comment', '@pop'],
- [/[\/*]/, 'comment'],
- ],
- doccomment: [
- [/[^\/*]+/, 'comment.doc'],
- [/\/\*/, 'comment.doc.invalid'],
- [/\*\//, 'comment.doc', '@pop'],
- [/[\/*]/, 'comment.doc'],
- ],
- string: [
- [/[^\\"]+/, 'string'],
- [/@escapes/, 'string.escape'],
- [/\\./, 'string.escape.invalid'],
- [/"/, 'string', '@pop'],
- ],
- rawstring: [
- [/[^\`]/, 'string'],
- [/`/, 'string', '@pop'],
- ],
- },
- };
- },
- },
-]);
diff --git a/docs/2571.2571.js b/docs/2571.2571.js
deleted file mode 100644
index 7d4d77fd..00000000
--- a/docs/2571.2571.js
+++ /dev/null
@@ -1,289 +0,0 @@
-(self.webpackChunkmermaid_live_editor =
- self.webpackChunkmermaid_live_editor || []).push([
- [2571],
- {
- 2571: (e, t, n) => {
- 'use strict';
- n.r(t), n.d(t, { conf: () => o, language: () => d });
- var i = n(89587),
- r = [
- 'area',
- 'base',
- 'br',
- 'col',
- 'embed',
- 'hr',
- 'img',
- 'input',
- 'keygen',
- 'link',
- 'menuitem',
- 'meta',
- 'param',
- 'source',
- 'track',
- 'wbr',
- ],
- o = {
- wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,
- comments: { blockComment: ['\x3c!--', '--\x3e'] },
- brackets: [
- ['\x3c!--', '--\x3e'],
- ['<', '>'],
- ['{', '}'],
- ['(', ')'],
- ],
- autoClosingPairs: [
- { open: '{', close: '}' },
- { open: '[', close: ']' },
- { open: '(', close: ')' },
- { open: '"', close: '"' },
- { open: "'", close: "'" },
- ],
- surroundingPairs: [
- { open: '"', close: '"' },
- { open: "'", close: "'" },
- { open: '{', close: '}' },
- { open: '[', close: ']' },
- { open: '(', close: ')' },
- { open: '<', close: '>' },
- ],
- onEnterRules: [
- {
- beforeText: new RegExp(
- '<(?!(?:' +
- r.join('|') +
- '))([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$',
- 'i'
- ),
- afterText: /^<\/([_:\w][_:\w-.\d]*)\s*>$/i,
- action: { indentAction: i.Mj.IndentAction.IndentOutdent },
- },
- {
- beforeText: new RegExp(
- '<(?!(?:' +
- r.join('|') +
- '))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$',
- 'i'
- ),
- action: { indentAction: i.Mj.IndentAction.Indent },
- },
- ],
- folding: {
- markers: {
- start: new RegExp('^\\s*\x3c!--\\s*#region\\b.*--\x3e'),
- end: new RegExp('^\\s*\x3c!--\\s*#endregion\\b.*--\x3e'),
- },
- },
- },
- d = {
- defaultToken: '',
- tokenPostfix: '.html',
- ignoreCase: !0,
- tokenizer: {
- root: [
- [/)/,
- ['delimiter', 'tag', '', 'delimiter'],
- ],
- [/(<)(script)/, ['delimiter', { token: 'tag', next: '@script' }]],
- [/(<)(style)/, ['delimiter', { token: 'tag', next: '@style' }]],
- [
- /(<)((?:[\w\-]+:)?[\w\-]+)/,
- ['delimiter', { token: 'tag', next: '@otherTag' }],
- ],
- [
- /(<\/)((?:[\w\-]+:)?[\w\-]+)/,
- ['delimiter', { token: 'tag', next: '@otherTag' }],
- ],
- [/, 'delimiter'],
- [/[^<]+/],
- ],
- doctype: [
- [/[^>]+/, 'metatag.content'],
- [/>/, 'metatag', '@pop'],
- ],
- comment: [
- [/-->/, 'comment', '@pop'],
- [/[^-]+/, 'comment.content'],
- [/./, 'comment.content'],
- ],
- otherTag: [
- [/\/?>/, 'delimiter', '@pop'],
- [/"([^"]*)"/, 'attribute.value'],
- [/'([^']*)'/, 'attribute.value'],
- [/[\w\-]+/, 'attribute.name'],
- [/=/, 'delimiter'],
- [/[ \t\r\n]+/],
- ],
- script: [
- [/type/, 'attribute.name', '@scriptAfterType'],
- [/"([^"]*)"/, 'attribute.value'],
- [/'([^']*)'/, 'attribute.value'],
- [/[\w\-]+/, 'attribute.name'],
- [/=/, 'delimiter'],
- [
- />/,
- {
- token: 'delimiter',
- next: '@scriptEmbedded',
- nextEmbedded: 'text/javascript',
- },
- ],
- [/[ \t\r\n]+/],
- [
- /(<\/)(script\s*)(>)/,
- ['delimiter', 'tag', { token: 'delimiter', next: '@pop' }],
- ],
- ],
- scriptAfterType: [
- [/=/, 'delimiter', '@scriptAfterTypeEquals'],
- [
- />/,
- {
- token: 'delimiter',
- next: '@scriptEmbedded',
- nextEmbedded: 'text/javascript',
- },
- ],
- [/[ \t\r\n]+/],
- [/<\/script\s*>/, { token: '@rematch', next: '@pop' }],
- ],
- scriptAfterTypeEquals: [
- [
- /"([^"]*)"/,
- {
- token: 'attribute.value',
- switchTo: '@scriptWithCustomType.$1',
- },
- ],
- [
- /'([^']*)'/,
- {
- token: 'attribute.value',
- switchTo: '@scriptWithCustomType.$1',
- },
- ],
- [
- />/,
- {
- token: 'delimiter',
- next: '@scriptEmbedded',
- nextEmbedded: 'text/javascript',
- },
- ],
- [/[ \t\r\n]+/],
- [/<\/script\s*>/, { token: '@rematch', next: '@pop' }],
- ],
- scriptWithCustomType: [
- [
- />/,
- {
- token: 'delimiter',
- next: '@scriptEmbedded.$S2',
- nextEmbedded: '$S2',
- },
- ],
- [/"([^"]*)"/, 'attribute.value'],
- [/'([^']*)'/, 'attribute.value'],
- [/[\w\-]+/, 'attribute.name'],
- [/=/, 'delimiter'],
- [/[ \t\r\n]+/],
- [/<\/script\s*>/, { token: '@rematch', next: '@pop' }],
- ],
- scriptEmbedded: [
- [
- /<\/script/,
- { token: '@rematch', next: '@pop', nextEmbedded: '@pop' },
- ],
- [/[^<]+/, ''],
- ],
- style: [
- [/type/, 'attribute.name', '@styleAfterType'],
- [/"([^"]*)"/, 'attribute.value'],
- [/'([^']*)'/, 'attribute.value'],
- [/[\w\-]+/, 'attribute.name'],
- [/=/, 'delimiter'],
- [
- />/,
- {
- token: 'delimiter',
- next: '@styleEmbedded',
- nextEmbedded: 'text/css',
- },
- ],
- [/[ \t\r\n]+/],
- [
- /(<\/)(style\s*)(>)/,
- ['delimiter', 'tag', { token: 'delimiter', next: '@pop' }],
- ],
- ],
- styleAfterType: [
- [/=/, 'delimiter', '@styleAfterTypeEquals'],
- [
- />/,
- {
- token: 'delimiter',
- next: '@styleEmbedded',
- nextEmbedded: 'text/css',
- },
- ],
- [/[ \t\r\n]+/],
- [/<\/style\s*>/, { token: '@rematch', next: '@pop' }],
- ],
- styleAfterTypeEquals: [
- [
- /"([^"]*)"/,
- {
- token: 'attribute.value',
- switchTo: '@styleWithCustomType.$1',
- },
- ],
- [
- /'([^']*)'/,
- {
- token: 'attribute.value',
- switchTo: '@styleWithCustomType.$1',
- },
- ],
- [
- />/,
- {
- token: 'delimiter',
- next: '@styleEmbedded',
- nextEmbedded: 'text/css',
- },
- ],
- [/[ \t\r\n]+/],
- [/<\/style\s*>/, { token: '@rematch', next: '@pop' }],
- ],
- styleWithCustomType: [
- [
- />/,
- {
- token: 'delimiter',
- next: '@styleEmbedded.$S2',
- nextEmbedded: '$S2',
- },
- ],
- [/"([^"]*)"/, 'attribute.value'],
- [/'([^']*)'/, 'attribute.value'],
- [/[\w\-]+/, 'attribute.name'],
- [/=/, 'delimiter'],
- [/[ \t\r\n]+/],
- [/<\/style\s*>/, { token: '@rematch', next: '@pop' }],
- ],
- styleEmbedded: [
- [
- /<\/style/,
- { token: '@rematch', next: '@pop', nextEmbedded: '@pop' },
- ],
- [/[^<]+/, ''],
- ],
- },
- };
- },
- },
-]);
diff --git a/docs/2798.2798.js b/docs/2798.2798.js
deleted file mode 100644
index b670838d..00000000
--- a/docs/2798.2798.js
+++ /dev/null
@@ -1,67 +0,0 @@
-(self.webpackChunkmermaid_live_editor =
- self.webpackChunkmermaid_live_editor || []).push([
- [2798],
- {
- 52798: (e, n, s) => {
- 'use strict';
- s.r(n), s.d(n, { conf: () => i, language: () => o });
- var i = {
- comments: { lineComment: '#' },
- brackets: [
- ['{', '}'],
- ['[', ']'],
- ['(', ')'],
- ],
- autoClosingPairs: [
- { open: '{', close: '}' },
- { open: '[', close: ']' },
- { open: '(', close: ')' },
- { open: '"', close: '"' },
- { open: "'", close: "'" },
- ],
- surroundingPairs: [
- { open: '{', close: '}' },
- { open: '[', close: ']' },
- { open: '(', close: ')' },
- { open: '"', close: '"' },
- { open: "'", close: "'" },
- ],
- },
- o = {
- defaultToken: '',
- tokenPostfix: '.ini',
- escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
- tokenizer: {
- root: [
- [/^\[[^\]]*\]/, 'metatag'],
- [/(^\w+)(\s*)(\=)/, ['key', '', 'delimiter']],
- { include: '@whitespace' },
- [/\d+/, 'number'],
- [/"([^"\\]|\\.)*$/, 'string.invalid'],
- [/'([^'\\]|\\.)*$/, 'string.invalid'],
- [/"/, 'string', '@string."'],
- [/'/, 'string', "@string.'"],
- ],
- whitespace: [
- [/[ \t\r\n]+/, ''],
- [/^\s*[#;].*$/, 'comment'],
- ],
- string: [
- [/[^\\"']+/, 'string'],
- [/@escapes/, 'string.escape'],
- [/\\./, 'string.escape.invalid'],
- [
- /["']/,
- {
- cases: {
- '$#==$S2': { token: 'string', next: '@pop' },
- '@default': 'string',
- },
- },
- ],
- ],
- },
- };
- },
- },
-]);
diff --git a/docs/2892.2892.js b/docs/2892.2892.js
deleted file mode 100644
index 98698f98..00000000
--- a/docs/2892.2892.js
+++ /dev/null
@@ -1,405 +0,0 @@
-(self.webpackChunkmermaid_live_editor =
- self.webpackChunkmermaid_live_editor || []).push([
- [2892],
- {
- 22892: (e, t, n) => {
- 'use strict';
- n.r(t), n.d(t, { conf: () => o, language: () => a });
- var o = {
- comments: { lineComment: '//' },
- brackets: [
- ['{', '}'],
- ['[', ']'],
- ['(', ')'],
- ],
- autoClosingPairs: [
- { open: '"', close: '"', notIn: ['string', 'comment'] },
- { open: "'", close: "'", notIn: ['string', 'comment'] },
- { open: '{', close: '}', notIn: ['string', 'comment'] },
- { open: '[', close: ']', notIn: ['string', 'comment'] },
- { open: '(', close: ')', notIn: ['string', 'comment'] },
- ],
- folding: { offSide: !0 },
- },
- a = {
- defaultToken: '',
- tokenPostfix: '.pug',
- ignoreCase: !0,
- brackets: [
- { token: 'delimiter.curly', open: '{', close: '}' },
- { token: 'delimiter.array', open: '[', close: ']' },
- { token: 'delimiter.parenthesis', open: '(', close: ')' },
- ],
- keywords: [
- 'append',
- 'block',
- 'case',
- 'default',
- 'doctype',
- 'each',
- 'else',
- 'extends',
- 'for',
- 'if',
- 'in',
- 'include',
- 'mixin',
- 'typeof',
- 'unless',
- 'var',
- 'when',
- ],
- tags: [
- 'a',
- 'abbr',
- 'acronym',
- 'address',
- 'area',
- 'article',
- 'aside',
- 'audio',
- 'b',
- 'base',
- 'basefont',
- 'bdi',
- 'bdo',
- 'blockquote',
- 'body',
- 'br',
- 'button',
- 'canvas',
- 'caption',
- 'center',
- 'cite',
- 'code',
- 'col',
- 'colgroup',
- 'command',
- 'datalist',
- 'dd',
- 'del',
- 'details',
- 'dfn',
- 'div',
- 'dl',
- 'dt',
- 'em',
- 'embed',
- 'fieldset',
- 'figcaption',
- 'figure',
- 'font',
- 'footer',
- 'form',
- 'frame',
- 'frameset',
- 'h1',
- 'h2',
- 'h3',
- 'h4',
- 'h5',
- 'h6',
- 'head',
- 'header',
- 'hgroup',
- 'hr',
- 'html',
- 'i',
- 'iframe',
- 'img',
- 'input',
- 'ins',
- 'keygen',
- 'kbd',
- 'label',
- 'li',
- 'link',
- 'map',
- 'mark',
- 'menu',
- 'meta',
- 'meter',
- 'nav',
- 'noframes',
- 'noscript',
- 'object',
- 'ol',
- 'optgroup',
- 'option',
- 'output',
- 'p',
- 'param',
- 'pre',
- 'progress',
- 'q',
- 'rp',
- 'rt',
- 'ruby',
- 's',
- 'samp',
- 'script',
- 'section',
- 'select',
- 'small',
- 'source',
- 'span',
- 'strike',
- 'strong',
- 'style',
- 'sub',
- 'summary',
- 'sup',
- 'table',
- 'tbody',
- 'td',
- 'textarea',
- 'tfoot',
- 'th',
- 'thead',
- 'time',
- 'title',
- 'tr',
- 'tracks',
- 'tt',
- 'u',
- 'ul',
- 'video',
- 'wbr',
- ],
- symbols: /[\+\-\*\%\&\|\!\=\/\.\,\:]+/,
- escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
- tokenizer: {
- root: [
- [
- /^(\s*)([a-zA-Z_-][\w-]*)/,
- {
- cases: {
- '$2@tags': {
- cases: {
- '@eos': ['', 'tag'],
- '@default': ['', { token: 'tag', next: '@tag.$1' }],
- },
- },
- '$2@keywords': ['', { token: 'keyword.$2' }],
- '@default': ['', ''],
- },
- },
- ],
- [
- /^(\s*)(#[a-zA-Z_-][\w-]*)/,
- {
- cases: {
- '@eos': ['', 'tag.id'],
- '@default': ['', { token: 'tag.id', next: '@tag.$1' }],
- },
- },
- ],
- [
- /^(\s*)(\.[a-zA-Z_-][\w-]*)/,
- {
- cases: {
- '@eos': ['', 'tag.class'],
- '@default': ['', { token: 'tag.class', next: '@tag.$1' }],
- },
- },
- ],
- [/^(\s*)(\|.*)$/, ''],
- { include: '@whitespace' },
- [
- /[a-zA-Z_$][\w$]*/,
- {
- cases: {
- '@keywords': { token: 'keyword.$0' },
- '@default': '',
- },
- },
- ],
- [/[{}()\[\]]/, '@brackets'],
- [/@symbols/, 'delimiter'],
- [/\d+\.\d+([eE][\-+]?\d+)?/, 'number.float'],
- [/\d+/, 'number'],
- [/"/, 'string', '@string."'],
- [/'/, 'string', "@string.'"],
- ],
- tag: [
- [
- /(\.)(\s*$)/,
- [{ token: 'delimiter', next: '@blockText.$S2.' }, ''],
- ],
- [/\s+/, { token: '', next: '@simpleText' }],
- [
- /#[a-zA-Z_-][\w-]*/,
- {
- cases: {
- '@eos': { token: 'tag.id', next: '@pop' },
- '@default': 'tag.id',
- },
- },
- ],
- [
- /\.[a-zA-Z_-][\w-]*/,
- {
- cases: {
- '@eos': { token: 'tag.class', next: '@pop' },
- '@default': 'tag.class',
- },
- },
- ],
- [
- /\(/,
- { token: 'delimiter.parenthesis', next: '@attributeList' },
- ],
- ],
- simpleText: [
- [/[^#]+$/, { token: '', next: '@popall' }],
- [/[^#]+/, { token: '' }],
- [
- /(#{)([^}]*)(})/,
- {
- cases: {
- '@eos': [
- 'interpolation.delimiter',
- 'interpolation',
- { token: 'interpolation.delimiter', next: '@popall' },
- ],
- '@default': [
- 'interpolation.delimiter',
- 'interpolation',
- 'interpolation.delimiter',
- ],
- },
- },
- ],
- [/#$/, { token: '', next: '@popall' }],
- [/#/, ''],
- ],
- attributeList: [
- [/\s+/, ''],
- [
- /(\w+)(\s*=\s*)("|')/,
- [
- 'attribute.name',
- 'delimiter',
- { token: 'attribute.value', next: '@value.$3' },
- ],
- ],
- [/\w+/, 'attribute.name'],
- [
- /,/,
- {
- cases: {
- '@eos': { token: 'attribute.delimiter', next: '@popall' },
- '@default': 'attribute.delimiter',
- },
- },
- ],
- [/\)$/, { token: 'delimiter.parenthesis', next: '@popall' }],
- [/\)/, { token: 'delimiter.parenthesis', next: '@pop' }],
- ],
- whitespace: [
- [
- /^(\s*)(\/\/.*)$/,
- { token: 'comment', next: '@blockText.$1.comment' },
- ],
- [/[ \t\r\n]+/, ''],
- [//, { token: 'comment', next: '@pop' }],
- [//, 'comment', '@pop'],
- [//, { token: 'comment', next: '@pop' }],
- [/|<\/?script\s*\/?>?/i);
- if (0 === u.length) return c.goToEnd(), m(t, fe.Script);
- if ('\x3c!--' === u) 1 === d && (d = 2);
- else if ('--\x3e' === u) d = 1;
- else if ('/' !== u[1]) 2 === d && (d = 3);
- else {
- if (3 !== d) {
- c.goBack(u.length);
- break;
- }
- d = 2;
- }
- }
- return (
- (h = ge.WithinContent), t < c.pos() ? m(t, fe.Script) : f()
- );
- case ge.WithinStyleContent:
- return (
- c.advanceUntilRegExp(/<\/style/i),
- (h = ge.WithinContent),
- t < c.pos() ? m(t, fe.Styles) : f()
- );
- }
- return c.advance(1), (h = ge.WithinContent), m(t, fe.Unknown, e);
- }
- return {
- scan: function () {
- var e = c.pos(),
- t = h,
- n = f();
- return n === fe.EOS ||
- e !== c.pos() ||
- (i && (n === fe.StartTagClose || n === fe.EndTagClose))
- ? n
- : (console.log(
- 'Scanner.scan has not advanced at offset ' +
- e +
- ', state before: ' +
- t +
- ' after: ' +
- h
- ),
- c.advance(1),
- m(e, fe.Unknown));
- },
- getTokenType: function () {
- return u;
- },
- getTokenOffset: function () {
- return d;
- },
- getTokenLength: function () {
- return c.pos() - d;
- },
- getTokenEnd: function () {
- return c.pos();
- },
- getTokenText: function () {
- return c.getSource().substring(d, c.pos());
- },
- getScannerState: function () {
- return h;
- },
- getTokenError: function () {
- return r;
- },
- };
- }
- function je(e, t) {
- var n = 0,
- i = e.length;
- if (0 === i) return 0;
- for (; n < i; ) {
- var r = Math.floor((n + i) / 2);
- t(e[r]) ? (i = r) : (n = r + 1);
- }
- return n;
- }
- !(function () {
- function e(e, t, n, i) {
- (this.start = e),
- (this.end = t),
- (this.children = n),
- (this.parent = i),
- (this.closed = !1);
- }
- Object.defineProperty(e.prototype, 'attributeNames', {
- get: function () {
- return this.attributes ? Object.keys(this.attributes) : [];
- },
- enumerable: !1,
- configurable: !0,
- }),
- (e.prototype.isSameTag = function (e) {
- return void 0 === this.tag
- ? void 0 === e
- : void 0 !== e &&
- this.tag.length === e.length &&
- this.tag.toLowerCase() === e;
- }),
- Object.defineProperty(e.prototype, 'firstChild', {
- get: function () {
- return this.children[0];
- },
- enumerable: !1,
- configurable: !0,
- }),
- Object.defineProperty(e.prototype, 'lastChild', {
- get: function () {
- return this.children.length
- ? this.children[this.children.length - 1]
- : void 0;
- },
- enumerable: !1,
- configurable: !0,
- }),
- (e.prototype.findNodeBefore = function (e) {
- var t =
- je(this.children, function (t) {
- return e <= t.start;
- }) - 1;
- if (t >= 0) {
- var n = this.children[t];
- if (e > n.start) {
- if (e < n.end) return n.findNodeBefore(e);
- var i = n.lastChild;
- return i && i.end === n.end ? n.findNodeBefore(e) : n;
- }
- }
- return this;
- }),
- (e.prototype.findNodeAt = function (e) {
- var t =
- je(this.children, function (t) {
- return e <= t.start;
- }) - 1;
- if (t >= 0) {
- var n = this.children[t];
- if (e > n.start && e <= n.end) return n.findNodeAt(e);
- }
- return this;
- });
- })();
- var Fe = {
- 'Aacute;': 'Ã',
- Aacute: 'Ã',
- 'aacute;': 'ÃĄ',
- aacute: 'ÃĄ',
- 'Abreve;': 'Ä',
- 'abreve;': 'Ä',
- 'ac;': 'âž',
- 'acd;': 'âŋ',
- 'acE;': 'âžĖŗ',
- 'Acirc;': 'Ã',
- Acirc: 'Ã',
- 'acirc;': 'Ãĸ',
- acirc: 'Ãĸ',
- 'acute;': '´',
- acute: '´',
- 'Acy;': 'Đ',
- 'acy;': 'а',
- 'AElig;': 'Ã',
- AElig: 'Ã',
- 'aelig;': 'ÃĻ',
- aelig: 'ÃĻ',
- 'af;': 'âĄ',
- 'Afr;': 'đ',
- 'afr;': 'đ',
- 'Agrave;': 'Ã',
- Agrave: 'Ã',
- 'agrave;': 'Ã ',
- agrave: 'Ã ',
- 'alefsym;': 'âĩ',
- 'aleph;': 'âĩ',
- 'Alpha;': 'Î',
- 'alpha;': 'Îą',
- 'Amacr;': 'Ä',
- 'amacr;': 'Ä',
- 'amalg;': 'â¨ŋ',
- 'AMP;': '&',
- AMP: '&',
- 'amp;': '&',
- amp: '&',
- 'And;': 'âŠ',
- 'and;': 'â§',
- 'andand;': 'âŠ',
- 'andd;': 'âŠ',
- 'andslope;': 'âŠ',
- 'andv;': 'âŠ',
- 'ang;': 'â ',
- 'ange;': 'âϤ',
- 'angle;': 'â ',
- 'angmsd;': 'âĄ',
- 'angmsdaa;': 'âύ',
- 'angmsdab;': 'âĻŠ',
- 'angmsdac;': 'âĻĒ',
- 'angmsdad;': 'âĻĢ',
- 'angmsdae;': 'âĻŦ',
- 'angmsdaf;': 'âĻ',
- 'angmsdag;': 'âĻŽ',
- 'angmsdah;': 'âϝ',
- 'angrt;': 'â',
- 'angrtvb;': 'âž',
- 'angrtvbd;': 'âĻ',
- 'angsph;': 'âĸ',
- 'angst;': 'Ã
',
- 'angzarr;': 'âŧ',
- 'Aogon;': 'Ä',
- 'aogon;': 'Ä
',
- 'Aopf;': 'đ¸',
- 'aopf;': 'đ',
- 'ap;': 'â',
- 'apacir;': '⊯',
- 'apE;': '⊰',
- 'ape;': 'â',
- 'apid;': 'â',
- 'apos;': "'",
- 'ApplyFunction;': 'âĄ',
- 'approx;': 'â',
- 'approxeq;': 'â',
- 'Aring;': 'Ã
',
- Aring: 'Ã
',
- 'aring;': 'ÃĨ',
- aring: 'ÃĨ',
- 'Ascr;': 'đ',
- 'ascr;': 'đļ',
- 'Assign;': 'â',
- 'ast;': '*',
- 'asymp;': 'â',
- 'asympeq;': 'â',
- 'Atilde;': 'Ã',
- Atilde: 'Ã',
- 'atilde;': 'ÃŖ',
- atilde: 'ÃŖ',
- 'Auml;': 'Ã',
- Auml: 'Ã',
- 'auml;': 'ä',
- auml: 'ä',
- 'awconint;': 'âŗ',
- 'awint;': 'â¨',
- 'backcong;': 'â',
- 'backepsilon;': 'Īļ',
- 'backprime;': 'âĩ',
- 'backsim;': 'âŊ',
- 'backsimeq;': 'â',
- 'Backslash;': 'â',
- 'Barv;': 'â̧',
- 'barvee;': 'âŊ',
- 'Barwed;': 'â',
- 'barwed;': 'â
',
- 'barwedge;': 'â
',
- 'bbrk;': 'âĩ',
- 'bbrktbrk;': 'âļ',
- 'bcong;': 'â',
- 'Bcy;': 'Đ',
- 'bcy;': 'Đą',
- 'bdquo;': 'â',
- 'becaus;': 'âĩ',
- 'Because;': 'âĩ',
- 'because;': 'âĩ',
- 'bemptyv;': 'âϰ',
- 'bepsi;': 'Īļ',
- 'bernou;': 'âŦ',
- 'Bernoullis;': 'âŦ',
- 'Beta;': 'Î',
- 'beta;': 'β',
- 'beth;': 'âļ',
- 'between;': 'âŦ',
- 'Bfr;': 'đ
',
- 'bfr;': 'đ',
- 'bigcap;': 'â',
- 'bigcirc;': 'â¯',
- 'bigcup;': 'â',
- 'bigodot;': 'â¨',
- 'bigoplus;': 'â¨',
- 'bigotimes;': 'â¨',
- 'bigsqcup;': 'â¨',
- 'bigstar;': 'â
',
- 'bigtriangledown;': 'âŊ',
- 'bigtriangleup;': 'âŗ',
- 'biguplus;': 'â¨',
- 'bigvee;': 'â',
- 'bigwedge;': 'â',
- 'bkarow;': 'â¤',
- 'blacklozenge;': 'â§Ģ',
- 'blacksquare;': 'âĒ',
- 'blacktriangle;': 'â´',
- 'blacktriangledown;': 'âž',
- 'blacktriangleleft;': 'â',
- 'blacktriangleright;': 'â¸',
- 'blank;': 'âŖ',
- 'blk12;': 'â',
- 'blk14;': 'â',
- 'blk34;': 'â',
- 'block;': 'â',
- 'bne;': '=âĨ',
- 'bnequiv;': 'âĄâĨ',
- 'bNot;': 'âĢ',
- 'bnot;': 'â',
- 'Bopf;': 'đš',
- 'bopf;': 'đ',
- 'bot;': 'âĨ',
- 'bottom;': 'âĨ',
- 'bowtie;': 'â',
- 'boxbox;': 'â§',
- 'boxDL;': 'â',
- 'boxDl;': 'â',
- 'boxdL;': 'â',
- 'boxdl;': 'â',
- 'boxDR;': 'â',
- 'boxDr;': 'â',
- 'boxdR;': 'â',
- 'boxdr;': 'â',
- 'boxH;': 'â',
- 'boxh;': 'â',
- 'boxHD;': 'âĻ',
- 'boxHd;': 'â¤',
- 'boxhD;': 'âĨ',
- 'boxhd;': 'âŦ',
- 'boxHU;': 'âŠ',
- 'boxHu;': 'â§',
- 'boxhU;': 'â¨',
- 'boxhu;': 'â´',
- 'boxminus;': 'â',
- 'boxplus;': 'â',
- 'boxtimes;': 'â ',
- 'boxUL;': 'â',
- 'boxUl;': 'â',
- 'boxuL;': 'â',
- 'boxul;': 'â',
- 'boxUR;': 'â',
- 'boxUr;': 'â',
- 'boxuR;': 'â',
- 'boxur;': 'â',
- 'boxV;': 'â',
- 'boxv;': 'â',
- 'boxVH;': 'âŦ',
- 'boxVh;': 'âĢ',
- 'boxvH;': 'âĒ',
- 'boxvh;': 'âŧ',
- 'boxVL;': 'âŖ',
- 'boxVl;': 'âĸ',
- 'boxvL;': 'âĄ',
- 'boxvl;': 'â¤',
- 'boxVR;': 'â ',
- 'boxVr;': 'â',
- 'boxvR;': 'â',
- 'boxvr;': 'â',
- 'bprime;': 'âĩ',
- 'Breve;': 'Ë',
- 'breve;': 'Ë',
- 'brvbar;': 'ÂĻ',
- brvbar: 'ÂĻ',
- 'Bscr;': 'âŦ',
- 'bscr;': 'đˇ',
- 'bsemi;': 'â',
- 'bsim;': 'âŊ',
- 'bsime;': 'â',
- 'bsol;': '\\',
- 'bsolb;': 'â§
',
- 'bsolhsub;': 'â',
- 'bull;': 'âĸ',
- 'bullet;': 'âĸ',
- 'bump;': 'â',
- 'bumpE;': 'âĒŽ',
- 'bumpe;': 'â',
- 'Bumpeq;': 'â',
- 'bumpeq;': 'â',
- 'Cacute;': 'Ä',
- 'cacute;': 'Ä',
- 'Cap;': 'â',
- 'cap;': 'âŠ',
- 'capand;': 'âŠ',
- 'capbrcup;': 'âŠ',
- 'capcap;': 'âŠ',
- 'capcup;': 'âŠ',
- 'capdot;': 'âŠ',
- 'CapitalDifferentialD;': 'â
',
- 'caps;': 'âŠī¸',
- 'caret;': 'â',
- 'caron;': 'Ë',
- 'Cayleys;': 'â',
- 'ccaps;': 'âŠ',
- 'Ccaron;': 'Ä',
- 'ccaron;': 'Ä',
- 'Ccedil;': 'Ã',
- Ccedil: 'Ã',
- 'ccedil;': 'ç',
- ccedil: 'ç',
- 'Ccirc;': 'Ä',
- 'ccirc;': 'Ä',
- 'Cconint;': 'â°',
- 'ccups;': 'âŠ',
- 'ccupssm;': 'âŠ',
- 'Cdot;': 'Ä',
- 'cdot;': 'Ä',
- 'cedil;': '¸',
- cedil: '¸',
- 'Cedilla;': '¸',
- 'cemptyv;': 'âϞ',
- 'cent;': 'Âĸ',
- cent: 'Âĸ',
- 'CenterDot;': '¡',
- 'centerdot;': '¡',
- 'Cfr;': 'â',
- 'cfr;': 'đ ',
- 'CHcy;': 'Ч',
- 'chcy;': 'Ņ',
- 'check;': 'â',
- 'checkmark;': 'â',
- 'Chi;': 'Χ',
- 'chi;': 'Ī',
- 'cir;': 'â',
- 'circ;': 'Ë',
- 'circeq;': 'â',
- 'circlearrowleft;': 'âē',
- 'circlearrowright;': 'âģ',
- 'circledast;': 'â',
- 'circledcirc;': 'â',
- 'circleddash;': 'â',
- 'CircleDot;': 'â',
- 'circledR;': 'ÂŽ',
- 'circledS;': 'â',
- 'CircleMinus;': 'â',
- 'CirclePlus;': 'â',
- 'CircleTimes;': 'â',
- 'cirE;': 'â§',
- 'cire;': 'â',
- 'cirfnint;': 'â¨',
- 'cirmid;': 'â̝',
- 'cirscir;': 'â§',
- 'ClockwiseContourIntegral;': 'â˛',
- 'CloseCurlyDoubleQuote;': 'â',
- 'CloseCurlyQuote;': 'â',
- 'clubs;': 'âŖ',
- 'clubsuit;': 'âŖ',
- 'Colon;': 'âˇ',
- 'colon;': ':',
- 'Colone;': '⊴',
- 'colone;': 'â',
- 'coloneq;': 'â',
- 'comma;': ',',
- 'commat;': '@',
- 'comp;': 'â',
- 'compfn;': 'â',
- 'complement;': 'â',
- 'complexes;': 'â',
- 'cong;': 'â
',
- 'congdot;': 'âŠ',
- 'Congruent;': 'âĄ',
- 'Conint;': 'â¯',
- 'conint;': 'âŽ',
- 'ContourIntegral;': 'âŽ',
- 'Copf;': 'â',
- 'copf;': 'đ',
- 'coprod;': 'â',
- 'Coproduct;': 'â',
- 'COPY;': 'Š',
- COPY: 'Š',
- 'copy;': 'Š',
- copy: 'Š',
- 'copysr;': 'â',
- 'CounterClockwiseContourIntegral;': 'âŗ',
- 'crarr;': 'âĩ',
- 'Cross;': '⨯',
- 'cross;': 'â',
- 'Cscr;': 'đ',
- 'cscr;': 'đ¸',
- 'csub;': 'âĢ',
- 'csube;': 'âĢ',
- 'csup;': 'âĢ',
- 'csupe;': 'âĢ',
- 'ctdot;': 'â¯',
- 'cudarrl;': '⤸',
- 'cudarrr;': 'â¤ĩ',
- 'cuepr;': 'â',
- 'cuesc;': 'â',
- 'cularr;': 'âļ',
- 'cularrp;': 'â¤Ŋ',
- 'Cup;': 'â',
- 'cup;': 'âĒ',
- 'cupbrcap;': 'âŠ',
- 'CupCap;': 'â',
- 'cupcap;': 'âŠ',
- 'cupcup;': 'âŠ',
- 'cupdot;': 'â',
- 'cupor;': 'âŠ
',
- 'cups;': 'âĒī¸',
- 'curarr;': 'âˇ',
- 'curarrm;': 'â¤ŧ',
- 'curlyeqprec;': 'â',
- 'curlyeqsucc;': 'â',
- 'curlyvee;': 'â',
- 'curlywedge;': 'â',
- 'curren;': '¤',
- curren: '¤',
- 'curvearrowleft;': 'âļ',
- 'curvearrowright;': 'âˇ',
- 'cuvee;': 'â',
- 'cuwed;': 'â',
- 'cwconint;': 'â˛',
- 'cwint;': 'âą',
- 'cylcty;': 'â',
- 'Dagger;': 'âĄ',
- 'dagger;': 'â ',
- 'daleth;': 'â¸',
- 'Darr;': 'âĄ',
- 'dArr;': 'â',
- 'darr;': 'â',
- 'dash;': 'â',
- 'Dashv;': 'â̤',
- 'dashv;': 'âŖ',
- 'dbkarow;': 'â¤',
- 'dblac;': 'Ë',
- 'Dcaron;': 'Ä',
- 'dcaron;': 'Ä',
- 'Dcy;': 'Đ',
- 'dcy;': 'Đ´',
- 'DD;': 'â
',
- 'dd;': 'â
',
- 'ddagger;': 'âĄ',
- 'ddarr;': 'â',
- 'DDotrahd;': 'â¤',
- 'ddotseq;': '⊡',
- 'deg;': '°',
- deg: '°',
- 'Del;': 'â',
- 'Delta;': 'Î',
- 'delta;': 'δ',
- 'demptyv;': 'âĻą',
- 'dfisht;': 'âĨŋ',
- 'Dfr;': 'đ',
- 'dfr;': 'đĄ',
- 'dHar;': 'âĨĨ',
- 'dharl;': 'â',
- 'dharr;': 'â',
- 'DiacriticalAcute;': '´',
- 'DiacriticalDot;': 'Ë',
- 'DiacriticalDoubleAcute;': 'Ë',
- 'DiacriticalGrave;': '`',
- 'DiacriticalTilde;': 'Ë',
- 'diam;': 'â',
- 'Diamond;': 'â',
- 'diamond;': 'â',
- 'diamondsuit;': 'âĻ',
- 'diams;': 'âĻ',
- 'die;': '¨',
- 'DifferentialD;': 'â
',
- 'digamma;': 'Ī',
- 'disin;': 'â˛',
- 'div;': 'Ãˇ',
- 'divide;': 'Ãˇ',
- divide: 'Ãˇ',
- 'divideontimes;': 'â',
- 'divonx;': 'â',
- 'DJcy;': 'Đ',
- 'djcy;': 'Ņ',
- 'dlcorn;': 'â',
- 'dlcrop;': 'â',
- 'dollar;': '$',
- 'Dopf;': 'đģ',
- 'dopf;': 'đ',
- 'Dot;': '¨',
- 'dot;': 'Ë',
- 'DotDot;': 'â',
- 'doteq;': 'â',
- 'doteqdot;': 'â',
- 'DotEqual;': 'â',
- 'dotminus;': 'â¸',
- 'dotplus;': 'â',
- 'dotsquare;': 'âĄ',
- 'doublebarwedge;': 'â',
- 'DoubleContourIntegral;': 'â¯',
- 'DoubleDot;': '¨',
- 'DoubleDownArrow;': 'â',
- 'DoubleLeftArrow;': 'â',
- 'DoubleLeftRightArrow;': 'â',
- 'DoubleLeftTee;': 'â̤',
- 'DoubleLongLeftArrow;': 'â¸',
- 'DoubleLongLeftRightArrow;': 'âē',
- 'DoubleLongRightArrow;': 'âš',
- 'DoubleRightArrow;': 'â',
- 'DoubleRightTee;': 'â¨',
- 'DoubleUpArrow;': 'â',
- 'DoubleUpDownArrow;': 'â',
- 'DoubleVerticalBar;': 'âĨ',
- 'DownArrow;': 'â',
- 'Downarrow;': 'â',
- 'downarrow;': 'â',
- 'DownArrowBar;': 'â¤',
- 'DownArrowUpArrow;': 'âĩ',
- 'DownBreve;': 'Ė',
- 'downdownarrows;': 'â',
- 'downharpoonleft;': 'â',
- 'downharpoonright;': 'â',
- 'DownLeftRightVector;': 'âĨ',
- 'DownLeftTeeVector;': 'âĨ',
- 'DownLeftVector;': 'âŊ',
- 'DownLeftVectorBar;': 'âĨ',
- 'DownRightTeeVector;': 'âĨ',
- 'DownRightVector;': 'â',
- 'DownRightVectorBar;': 'âĨ',
- 'DownTee;': 'â¤',
- 'DownTeeArrow;': 'â§',
- 'drbkarow;': 'â¤',
- 'drcorn;': 'â',
- 'drcrop;': 'â',
- 'Dscr;': 'đ',
- 'dscr;': 'đš',
- 'DScy;': 'Đ
',
- 'dscy;': 'Ņ',
- 'dsol;': 'â§ļ',
- 'Dstrok;': 'Ä',
- 'dstrok;': 'Ä',
- 'dtdot;': 'âą',
- 'dtri;': 'âŋ',
- 'dtrif;': 'âž',
- 'duarr;': 'âĩ',
- 'duhar;': 'âĨ¯',
- 'dwangle;': 'âĻĻ',
- 'DZcy;': 'Đ',
- 'dzcy;': 'Ņ',
- 'dzigrarr;': 'âŋ',
- 'Eacute;': 'Ã',
- Eacute: 'Ã',
- 'eacute;': 'Ê',
- eacute: 'Ê',
- 'easter;': '⊎',
- 'Ecaron;': 'Ä',
- 'ecaron;': 'Ä',
- 'ecir;': 'â',
- 'Ecirc;': 'Ã',
- Ecirc: 'Ã',
- 'ecirc;': 'ÃĒ',
- ecirc: 'ÃĒ',
- 'ecolon;': 'â',
- 'Ecy;': 'Đ',
- 'ecy;': 'Ņ',
- 'eDDot;': '⊡',
- 'Edot;': 'Ä',
- 'eDot;': 'â',
- 'edot;': 'Ä',
- 'ee;': 'â
',
- 'efDot;': 'â',
- 'Efr;': 'đ',
- 'efr;': 'đĸ',
- 'eg;': 'âĒ',
- 'Egrave;': 'Ã',
- Egrave: 'Ã',
- 'egrave;': 'è',
- egrave: 'è',
- 'egs;': 'âĒ',
- 'egsdot;': 'âĒ',
- 'el;': 'âĒ',
- 'Element;': 'â',
- 'elinters;': 'â§',
- 'ell;': 'â',
- 'els;': 'âĒ',
- 'elsdot;': 'âĒ',
- 'Emacr;': 'Ä',
- 'emacr;': 'Ä',
- 'empty;': 'â
',
- 'emptyset;': 'â
',
- 'EmptySmallSquare;': 'âģ',
- 'emptyv;': 'â
',
- 'EmptyVerySmallSquare;': 'âĢ',
- 'emsp;': 'â',
- 'emsp13;': 'â',
- 'emsp14;': 'â
',
- 'ENG;': 'Å',
- 'eng;': 'Å',
- 'ensp;': 'â',
- 'Eogon;': 'Ä',
- 'eogon;': 'Ä',
- 'Eopf;': 'đŧ',
- 'eopf;': 'đ',
- 'epar;': 'â',
- 'eparsl;': 'â§Ŗ',
- 'eplus;': '⊹',
- 'epsi;': 'Îĩ',
- 'Epsilon;': 'Î',
- 'epsilon;': 'Îĩ',
- 'epsiv;': 'Īĩ',
- 'eqcirc;': 'â',
- 'eqcolon;': 'â',
- 'eqsim;': 'â',
- 'eqslantgtr;': 'âĒ',
- 'eqslantless;': 'âĒ',
- 'Equal;': 'âŠĩ',
- 'equals;': '=',
- 'EqualTilde;': 'â',
- 'equest;': 'â',
- 'Equilibrium;': 'â',
- 'equiv;': 'âĄ',
- 'equivDD;': '⊸',
- 'eqvparsl;': 'â§Ĩ',
- 'erarr;': 'âĨą',
- 'erDot;': 'â',
- 'Escr;': 'â°',
- 'escr;': 'â¯',
- 'esdot;': 'â',
- 'Esim;': 'âŠŗ',
- 'esim;': 'â',
- 'Eta;': 'Î',
- 'eta;': 'Ρ',
- 'ETH;': 'Ã',
- ETH: 'Ã',
- 'eth;': 'ð',
- eth: 'ð',
- 'Euml;': 'Ã',
- Euml: 'Ã',
- 'euml;': 'ÃĢ',
- euml: 'ÃĢ',
- 'euro;': 'âŦ',
- 'excl;': '!',
- 'exist;': 'â',
- 'Exists;': 'â',
- 'expectation;': 'â°',
- 'ExponentialE;': 'â
',
- 'exponentiale;': 'â
',
- 'fallingdotseq;': 'â',
- 'Fcy;': 'Ф',
- 'fcy;': 'Ņ',
- 'female;': 'â',
- 'ffilig;': 'īŦ',
- 'fflig;': 'īŦ',
- 'ffllig;': 'īŦ',
- 'Ffr;': 'đ',
- 'ffr;': 'đŖ',
- 'filig;': 'īŦ',
- 'FilledSmallSquare;': 'âŧ',
- 'FilledVerySmallSquare;': 'âĒ',
- 'fjlig;': 'fj',
- 'flat;': 'â',
- 'fllig;': 'īŦ',
- 'fltns;': 'âą',
- 'fnof;': 'Æ',
- 'Fopf;': 'đŊ',
- 'fopf;': 'đ',
- 'ForAll;': 'â',
- 'forall;': 'â',
- 'fork;': 'â',
- 'forkv;': 'âĢ',
- 'Fouriertrf;': 'âą',
- 'fpartint;': 'â¨',
- 'frac12;': 'ÂŊ',
- frac12: 'ÂŊ',
- 'frac13;': 'â
',
- 'frac14;': 'Âŧ',
- frac14: 'Âŧ',
- 'frac15;': 'â
',
- 'frac16;': 'â
',
- 'frac18;': 'â
',
- 'frac23;': 'â
',
- 'frac25;': 'â
',
- 'frac34;': 'ž',
- frac34: 'ž',
- 'frac35;': 'â
',
- 'frac38;': 'â
',
- 'frac45;': 'â
',
- 'frac56;': 'â
',
- 'frac58;': 'â
',
- 'frac78;': 'â
',
- 'frasl;': 'â',
- 'frown;': 'âĸ',
- 'Fscr;': 'âą',
- 'fscr;': 'đģ',
- 'gacute;': 'Įĩ',
- 'Gamma;': 'Î',
- 'gamma;': 'Îŗ',
- 'Gammad;': 'Ī',
- 'gammad;': 'Ī',
- 'gap;': 'âĒ',
- 'Gbreve;': 'Ä',
- 'gbreve;': 'Ä',
- 'Gcedil;': 'Äĸ',
- 'Gcirc;': 'Ä',
- 'gcirc;': 'Ä',
- 'Gcy;': 'Đ',
- 'gcy;': 'Đŗ',
- 'Gdot;': 'Ä ',
- 'gdot;': 'ÄĄ',
- 'gE;': 'â§',
- 'ge;': 'âĨ',
- 'gEl;': 'âĒ',
- 'gel;': 'â',
- 'geq;': 'âĨ',
- 'geqq;': 'â§',
- 'geqslant;': '⊞',
- 'ges;': '⊞',
- 'gescc;': 'âĒŠ',
- 'gesdot;': 'âĒ',
- 'gesdoto;': 'âĒ',
- 'gesdotol;': 'âĒ',
- 'gesl;': 'âī¸',
- 'gesles;': 'âĒ',
- 'Gfr;': 'đ',
- 'gfr;': 'đ¤',
- 'Gg;': 'â',
- 'gg;': 'âĢ',
- 'ggg;': 'â',
- 'gimel;': 'âˇ',
- 'GJcy;': 'Đ',
- 'gjcy;': 'Ņ',
- 'gl;': 'âˇ',
- 'gla;': 'âĒĨ',
- 'glE;': 'âĒ',
- 'glj;': 'âǤ',
- 'gnap;': 'âĒ',
- 'gnapprox;': 'âĒ',
- 'gnE;': 'âŠ',
- 'gne;': 'âĒ',
- 'gneq;': 'âĒ',
- 'gneqq;': 'âŠ',
- 'gnsim;': 'â§',
- 'Gopf;': 'đž',
- 'gopf;': 'đ',
- 'grave;': '`',
- 'GreaterEqual;': 'âĨ',
- 'GreaterEqualLess;': 'â',
- 'GreaterFullEqual;': 'â§',
- 'GreaterGreater;': 'âĒĸ',
- 'GreaterLess;': 'âˇ',
- 'GreaterSlantEqual;': '⊞',
- 'GreaterTilde;': 'âŗ',
- 'Gscr;': 'đĸ',
- 'gscr;': 'â',
- 'gsim;': 'âŗ',
- 'gsime;': 'âĒ',
- 'gsiml;': 'âĒ',
- 'GT;': '>',
- GT: '>',
- 'Gt;': 'âĢ',
- 'gt;': '>',
- gt: '>',
- 'gtcc;': 'âǧ',
- 'gtcir;': 'âŠē',
- 'gtdot;': 'â',
- 'gtlPar;': 'âĻ',
- 'gtquest;': 'âŠŧ',
- 'gtrapprox;': 'âĒ',
- 'gtrarr;': 'âĨ¸',
- 'gtrdot;': 'â',
- 'gtreqless;': 'â',
- 'gtreqqless;': 'âĒ',
- 'gtrless;': 'âˇ',
- 'gtrsim;': 'âŗ',
- 'gvertneqq;': 'âŠī¸',
- 'gvnE;': 'âŠī¸',
- 'Hacek;': 'Ë',
- 'hairsp;': 'â',
- 'half;': 'ÂŊ',
- 'hamilt;': 'â',
- 'HARDcy;': 'ĐĒ',
- 'hardcy;': 'Ņ',
- 'hArr;': 'â',
- 'harr;': 'â',
- 'harrcir;': 'âĨ',
- 'harrw;': 'â',
- 'Hat;': '^',
- 'hbar;': 'â',
- 'Hcirc;': 'Ĥ',
- 'hcirc;': 'ÄĨ',
- 'hearts;': 'âĨ',
- 'heartsuit;': 'âĨ',
- 'hellip;': 'âĻ',
- 'hercon;': 'âš',
- 'Hfr;': 'â',
- 'hfr;': 'đĨ',
- 'HilbertSpace;': 'â',
- 'hksearow;': 'â¤Ĩ',
- 'hkswarow;': 'â¤Ļ',
- 'hoarr;': 'âŋ',
- 'homtht;': 'âģ',
- 'hookleftarrow;': 'âŠ',
- 'hookrightarrow;': 'âĒ',
- 'Hopf;': 'â',
- 'hopf;': 'đ',
- 'horbar;': 'â',
- 'HorizontalLine;': 'â',
- 'Hscr;': 'â',
- 'hscr;': 'đŊ',
- 'hslash;': 'â',
- 'Hstrok;': 'ÄĻ',
- 'hstrok;': 'ħ',
- 'HumpDownHump;': 'â',
- 'HumpEqual;': 'â',
- 'hybull;': 'â',
- 'hyphen;': 'â',
- 'Iacute;': 'Ã',
- Iacute: 'Ã',
- 'iacute;': 'Ã',
- iacute: 'Ã',
- 'ic;': 'âŖ',
- 'Icirc;': 'Ã',
- Icirc: 'Ã',
- 'icirc;': 'ÃŽ',
- icirc: 'ÃŽ',
- 'Icy;': 'Đ',
- 'icy;': 'и',
- 'Idot;': 'İ',
- 'IEcy;': 'Đ',
- 'iecy;': 'Đĩ',
- 'iexcl;': 'ÂĄ',
- iexcl: 'ÂĄ',
- 'iff;': 'â',
- 'Ifr;': 'â',
- 'ifr;': 'đĻ',
- 'Igrave;': 'Ã',
- Igrave: 'Ã',
- 'igrave;': 'ÃŦ',
- igrave: 'ÃŦ',
- 'ii;': 'â
',
- 'iiiint;': 'â¨',
- 'iiint;': 'â',
- 'iinfin;': 'â§',
- 'iiota;': 'âŠ',
- 'IJlig;': 'IJ',
- 'ijlig;': 'Äŗ',
- 'Im;': 'â',
- 'Imacr;': 'ÄĒ',
- 'imacr;': 'ÄĢ',
- 'image;': 'â',
- 'ImaginaryI;': 'â
',
- 'imagline;': 'â',
- 'imagpart;': 'â',
- 'imath;': 'Äą',
- 'imof;': 'âˇ',
- 'imped;': 'Æĩ',
- 'Implies;': 'â',
- 'in;': 'â',
- 'incare;': 'â
',
- 'infin;': 'â',
- 'infintie;': 'â§',
- 'inodot;': 'Äą',
- 'Int;': 'âŦ',
- 'int;': 'âĢ',
- 'intcal;': 'âē',
- 'integers;': 'â¤',
- 'Integral;': 'âĢ',
- 'intercal;': 'âē',
- 'Intersection;': 'â',
- 'intlarhk;': 'â¨',
- 'intprod;': 'â¨ŧ',
- 'InvisibleComma;': 'âŖ',
- 'InvisibleTimes;': 'âĸ',
- 'IOcy;': 'Đ',
- 'iocy;': 'Ņ',
- 'Iogon;': 'ÄŽ',
- 'iogon;': 'į',
- 'Iopf;': 'đ',
- 'iopf;': 'đ',
- 'Iota;': 'Î',
- 'iota;': 'Κ',
- 'iprod;': 'â¨ŧ',
- 'iquest;': 'Âŋ',
- iquest: 'Âŋ',
- 'Iscr;': 'â',
- 'iscr;': 'đž',
- 'isin;': 'â',
- 'isindot;': 'âĩ',
- 'isinE;': 'âš',
- 'isins;': 'â´',
- 'isinsv;': 'âŗ',
- 'isinv;': 'â',
- 'it;': 'âĸ',
- 'Itilde;': 'Ĩ',
- 'itilde;': 'ÄŠ',
- 'Iukcy;': 'Đ',
- 'iukcy;': 'Ņ',
- 'Iuml;': 'Ã',
- Iuml: 'Ã',
- 'iuml;': 'ï',
- iuml: 'ï',
- 'Jcirc;': 'Ä´',
- 'jcirc;': 'Äĩ',
- 'Jcy;': 'Đ',
- 'jcy;': 'Đš',
- 'Jfr;': 'đ',
- 'jfr;': 'đ§',
- 'jmath;': 'ȡ',
- 'Jopf;': 'đ',
- 'jopf;': 'đ',
- 'Jscr;': 'đĨ',
- 'jscr;': 'đŋ',
- 'Jsercy;': 'Đ',
- 'jsercy;': 'Ņ',
- 'Jukcy;': 'Đ',
- 'jukcy;': 'Ņ',
- 'Kappa;': 'Î',
- 'kappa;': 'Îē',
- 'kappav;': 'ΰ',
- 'Kcedil;': 'Äļ',
- 'kcedil;': 'ġ',
- 'Kcy;': 'Đ',
- 'kcy;': 'Đē',
- 'Kfr;': 'đ',
- 'kfr;': 'đ¨',
- 'kgreen;': 'ĸ',
- 'KHcy;': 'ĐĨ',
- 'khcy;': 'Ņ
',
- 'KJcy;': 'Đ',
- 'kjcy;': 'Ņ',
- 'Kopf;': 'đ',
- 'kopf;': 'đ',
- 'Kscr;': 'đĻ',
- 'kscr;': 'đ',
- 'lAarr;': 'â',
- 'Lacute;': 'Äš',
- 'lacute;': 'Äē',
- 'laemptyv;': 'âĻ´',
- 'lagran;': 'â',
- 'Lambda;': 'Î',
- 'lambda;': 'Îģ',
- 'Lang;': 'âĒ',
- 'lang;': 'â¨',
- 'langd;': 'âĻ',
- 'langle;': 'â¨',
- 'lap;': 'âĒ
',
- 'Laplacetrf;': 'â',
- 'laquo;': 'ÂĢ',
- laquo: 'ÂĢ',
- 'Larr;': 'â',
- 'lArr;': 'â',
- 'larr;': 'â',
- 'larrb;': 'â¤',
- 'larrbfs;': 'â¤',
- 'larrfs;': 'â¤',
- 'larrhk;': 'âŠ',
- 'larrlp;': 'âĢ',
- 'larrpl;': '⤚',
- 'larrsim;': 'âĨŗ',
- 'larrtl;': 'âĸ',
- 'lat;': 'âĒĢ',
- 'lAtail;': 'â¤',
- 'latail;': 'â¤',
- 'late;': 'âĒ',
- 'lates;': 'âĒī¸',
- 'lBarr;': 'â¤',
- 'lbarr;': 'â¤',
- 'lbbrk;': 'â˛',
- 'lbrace;': '{',
- 'lbrack;': '[',
- 'lbrke;': 'âĻ',
- 'lbrksld;': 'âĻ',
- 'lbrkslu;': 'âĻ',
- 'Lcaron;': 'ÄŊ',
- 'lcaron;': 'Äž',
- 'Lcedil;': 'Äģ',
- 'lcedil;': 'Äŧ',
- 'lceil;': 'â',
- 'lcub;': '{',
- 'Lcy;': 'Đ',
- 'lcy;': 'Đģ',
- 'ldca;': 'â¤ļ',
- 'ldquo;': 'â',
- 'ldquor;': 'â',
- 'ldrdhar;': 'âĨ§',
- 'ldrushar;': 'âĨ',
- 'ldsh;': 'â˛',
- 'lE;': 'âĻ',
- 'le;': 'â¤',
- 'LeftAngleBracket;': 'â¨',
- 'LeftArrow;': 'â',
- 'Leftarrow;': 'â',
- 'leftarrow;': 'â',
- 'LeftArrowBar;': 'â¤',
- 'LeftArrowRightArrow;': 'â',
- 'leftarrowtail;': 'âĸ',
- 'LeftCeiling;': 'â',
- 'LeftDoubleBracket;': 'âĻ',
- 'LeftDownTeeVector;': 'âĨĄ',
- 'LeftDownVector;': 'â',
- 'LeftDownVectorBar;': 'âĨ',
- 'LeftFloor;': 'â',
- 'leftharpoondown;': 'âŊ',
- 'leftharpoonup;': 'âŧ',
- 'leftleftarrows;': 'â',
- 'LeftRightArrow;': 'â',
- 'Leftrightarrow;': 'â',
- 'leftrightarrow;': 'â',
- 'leftrightarrows;': 'â',
- 'leftrightharpoons;': 'â',
- 'leftrightsquigarrow;': 'â',
- 'LeftRightVector;': 'âĨ',
- 'LeftTee;': 'âŖ',
- 'LeftTeeArrow;': 'â¤',
- 'LeftTeeVector;': 'âĨ',
- 'leftthreetimes;': 'â',
- 'LeftTriangle;': 'â˛',
- 'LeftTriangleBar;': 'â§',
- 'LeftTriangleEqual;': 'â´',
- 'LeftUpDownVector;': 'âĨ',
- 'LeftUpTeeVector;': 'âĨ ',
- 'LeftUpVector;': 'âŋ',
- 'LeftUpVectorBar;': 'âĨ',
- 'LeftVector;': 'âŧ',
- 'LeftVectorBar;': 'âĨ',
- 'lEg;': 'âĒ',
- 'leg;': 'â',
- 'leq;': 'â¤',
- 'leqq;': 'âĻ',
- 'leqslant;': 'âŠŊ',
- 'les;': 'âŠŊ',
- 'lescc;': 'âǍ',
- 'lesdot;': 'âŠŋ',
- 'lesdoto;': 'âĒ',
- 'lesdotor;': 'âĒ',
- 'lesg;': 'âī¸',
- 'lesges;': 'âĒ',
- 'lessapprox;': 'âĒ
',
- 'lessdot;': 'â',
- 'lesseqgtr;': 'â',
- 'lesseqqgtr;': 'âĒ',
- 'LessEqualGreater;': 'â',
- 'LessFullEqual;': 'âĻ',
- 'LessGreater;': 'âļ',
- 'lessgtr;': 'âļ',
- 'LessLess;': 'âĒĄ',
- 'lesssim;': 'â˛',
- 'LessSlantEqual;': 'âŠŊ',
- 'LessTilde;': 'â˛',
- 'lfisht;': 'âĨŧ',
- 'lfloor;': 'â',
- 'Lfr;': 'đ',
- 'lfr;': 'đŠ',
- 'lg;': 'âļ',
- 'lgE;': 'âĒ',
- 'lHar;': 'âĨĸ',
- 'lhard;': 'âŊ',
- 'lharu;': 'âŧ',
- 'lharul;': 'âĨĒ',
- 'lhblk;': 'â',
- 'LJcy;': 'Đ',
- 'ljcy;': 'Ņ',
- 'Ll;': 'â',
- 'll;': 'âĒ',
- 'llarr;': 'â',
- 'llcorner;': 'â',
- 'Lleftarrow;': 'â',
- 'llhard;': 'âĨĢ',
- 'lltri;': 'âē',
- 'Lmidot;': 'Äŋ',
- 'lmidot;': 'Å',
- 'lmoust;': 'â°',
- 'lmoustache;': 'â°',
- 'lnap;': 'âĒ',
- 'lnapprox;': 'âĒ',
- 'lnE;': 'â¨',
- 'lne;': 'âĒ',
- 'lneq;': 'âĒ',
- 'lneqq;': 'â¨',
- 'lnsim;': 'âĻ',
- 'loang;': 'âŦ',
- 'loarr;': 'âŊ',
- 'lobrk;': 'âĻ',
- 'LongLeftArrow;': 'âĩ',
- 'Longleftarrow;': 'â¸',
- 'longleftarrow;': 'âĩ',
- 'LongLeftRightArrow;': 'âˇ',
- 'Longleftrightarrow;': 'âē',
- 'longleftrightarrow;': 'âˇ',
- 'longmapsto;': 'âŧ',
- 'LongRightArrow;': 'âļ',
- 'Longrightarrow;': 'âš',
- 'longrightarrow;': 'âļ',
- 'looparrowleft;': 'âĢ',
- 'looparrowright;': 'âŦ',
- 'lopar;': 'âĻ
',
- 'Lopf;': 'đ',
- 'lopf;': 'đ',
- 'loplus;': 'â¨',
- 'lotimes;': '⨴',
- 'lowast;': 'â',
- 'lowbar;': '_',
- 'LowerLeftArrow;': 'â',
- 'LowerRightArrow;': 'â',
- 'loz;': 'â',
- 'lozenge;': 'â',
- 'lozf;': 'â§Ģ',
- 'lpar;': '(',
- 'lparlt;': 'âĻ',
- 'lrarr;': 'â',
- 'lrcorner;': 'â',
- 'lrhar;': 'â',
- 'lrhard;': 'âĨ',
- 'lrm;': 'â',
- 'lrtri;': 'âŋ',
- 'lsaquo;': 'âš',
- 'Lscr;': 'â',
- 'lscr;': 'đ',
- 'Lsh;': 'â°',
- 'lsh;': 'â°',
- 'lsim;': 'â˛',
- 'lsime;': 'âĒ',
- 'lsimg;': 'âĒ',
- 'lsqb;': '[',
- 'lsquo;': 'â',
- 'lsquor;': 'â',
- 'Lstrok;': 'Å',
- 'lstrok;': 'Å',
- 'LT;': '<',
- LT: '<',
- 'Lt;': 'âĒ',
- 'lt;': '<',
- lt: '<',
- 'ltcc;': 'âĒĻ',
- 'ltcir;': '⊚',
- 'ltdot;': 'â',
- 'lthree;': 'â',
- 'ltimes;': 'â',
- 'ltlarr;': 'âĨļ',
- 'ltquest;': 'âŠģ',
- 'ltri;': 'â',
- 'ltrie;': 'â´',
- 'ltrif;': 'â',
- 'ltrPar;': 'âĻ',
- 'lurdshar;': 'âĨ',
- 'luruhar;': 'âĨĻ',
- 'lvertneqq;': 'â¨ī¸',
- 'lvnE;': 'â¨ī¸',
- 'macr;': '¯',
- macr: '¯',
- 'male;': 'â',
- 'malt;': 'â ',
- 'maltese;': 'â ',
- 'Map;': 'â¤
',
- 'map;': 'âĻ',
- 'mapsto;': 'âĻ',
- 'mapstodown;': 'â§',
- 'mapstoleft;': 'â¤',
- 'mapstoup;': 'âĨ',
- 'marker;': 'âŽ',
- 'mcomma;': '⨊',
- 'Mcy;': 'Đ',
- 'mcy;': 'Đŧ',
- 'mdash;': 'â',
- 'mDDot;': 'âē',
- 'measuredangle;': 'âĄ',
- 'MediumSpace;': 'â',
- 'Mellintrf;': 'âŗ',
- 'Mfr;': 'đ',
- 'mfr;': 'đĒ',
- 'mho;': 'â§',
- 'micro;': 'Âĩ',
- micro: 'Âĩ',
- 'mid;': 'âŖ',
- 'midast;': '*',
- 'midcir;': 'â̰',
- 'middot;': '¡',
- middot: '¡',
- 'minus;': 'â',
- 'minusb;': 'â',
- 'minusd;': 'â¸',
- 'minusdu;': 'â¨Ē',
- 'MinusPlus;': 'â',
- 'mlcp;': 'âĢ',
- 'mldr;': 'âĻ',
- 'mnplus;': 'â',
- 'models;': 'â§',
- 'Mopf;': 'đ',
- 'mopf;': 'đ',
- 'mp;': 'â',
- 'Mscr;': 'âŗ',
- 'mscr;': 'đ',
- 'mstpos;': 'âž',
- 'Mu;': 'Î',
- 'mu;': 'Îŧ',
- 'multimap;': 'â¸',
- 'mumap;': 'â¸',
- 'nabla;': 'â',
- 'Nacute;': 'Å',
- 'nacute;': 'Å',
- 'nang;': 'â â',
- 'nap;': 'â',
- 'napE;': 'âŠ°Ė¸',
- 'napid;': 'âˏ',
- 'napos;': 'Å',
- 'napprox;': 'â',
- 'natur;': 'âŽ',
- 'natural;': 'âŽ',
- 'naturals;': 'â',
- 'nbsp;': 'Â ',
- nbsp: 'Â ',
- 'nbump;': 'âˏ',
- 'nbumpe;': 'âˏ',
- 'ncap;': 'âŠ',
- 'Ncaron;': 'Å',
- 'ncaron;': 'Å',
- 'Ncedil;': 'Å
',
- 'ncedil;': 'Å',
- 'ncong;': 'â',
- 'ncongdot;': 'âŠĖ¸',
- 'ncup;': 'âŠ',
- 'Ncy;': 'Đ',
- 'ncy;': 'ĐŊ',
- 'ndash;': 'â',
- 'ne;': 'â ',
- 'nearhk;': '⤤',
- 'neArr;': 'â',
- 'nearr;': 'â',
- 'nearrow;': 'â',
- 'nedot;': 'âˏ',
- 'NegativeMediumSpace;': 'â',
- 'NegativeThickSpace;': 'â',
- 'NegativeThinSpace;': 'â',
- 'NegativeVeryThinSpace;': 'â',
- 'nequiv;': 'âĸ',
- 'nesear;': '⤨',
- 'nesim;': 'âˏ',
- 'NestedGreaterGreater;': 'âĢ',
- 'NestedLessLess;': 'âĒ',
- 'NewLine;': '\n',
- 'nexist;': 'â',
- 'nexists;': 'â',
- 'Nfr;': 'đ',
- 'nfr;': 'đĢ',
- 'ngE;': 'â§Ė¸',
- 'nge;': 'âą',
- 'ngeq;': 'âą',
- 'ngeqq;': 'â§Ė¸',
- 'ngeqslant;': 'âŠžĖ¸',
- 'nges;': 'âŠžĖ¸',
- 'nGg;': 'âˏ',
- 'ngsim;': 'âĩ',
- 'nGt;': 'âĢâ',
- 'ngt;': 'â¯',
- 'ngtr;': 'â¯',
- 'nGtv;': 'âĢˏ',
- 'nhArr;': 'â',
- 'nharr;': 'âŽ',
- 'nhpar;': 'â̞',
- 'ni;': 'â',
- 'nis;': 'âŧ',
- 'nisd;': 'âē',
- 'niv;': 'â',
- 'NJcy;': 'Đ',
- 'njcy;': 'Ņ',
- 'nlArr;': 'â',
- 'nlarr;': 'â',
- 'nldr;': 'âĨ',
- 'nlE;': 'âĻˏ',
- 'nle;': 'â°',
- 'nLeftarrow;': 'â',
- 'nleftarrow;': 'â',
- 'nLeftrightarrow;': 'â',
- 'nleftrightarrow;': 'âŽ',
- 'nleq;': 'â°',
- 'nleqq;': 'âĻˏ',
- 'nleqslant;': 'âŠŊˏ',
- 'nles;': 'âŠŊˏ',
- 'nless;': 'âŽ',
- 'nLl;': 'âˏ',
- 'nlsim;': 'â´',
- 'nLt;': 'âĒâ',
- 'nlt;': 'âŽ',
- 'nltri;': 'âĒ',
- 'nltrie;': 'âŦ',
- 'nLtv;': 'âĒˏ',
- 'nmid;': 'â¤',
- 'NoBreak;': 'â ',
- 'NonBreakingSpace;': 'Â ',
- 'Nopf;': 'â',
- 'nopf;': 'đ',
- 'Not;': 'âĢŦ',
- 'not;': 'ÂŦ',
- not: 'ÂŦ',
- 'NotCongruent;': 'âĸ',
- 'NotCupCap;': 'â',
- 'NotDoubleVerticalBar;': 'âĻ',
- 'NotElement;': 'â',
- 'NotEqual;': 'â ',
- 'NotEqualTilde;': 'âˏ',
- 'NotExists;': 'â',
- 'NotGreater;': 'â¯',
- 'NotGreaterEqual;': 'âą',
- 'NotGreaterFullEqual;': 'â§Ė¸',
- 'NotGreaterGreater;': 'âĢˏ',
- 'NotGreaterLess;': 'âš',
- 'NotGreaterSlantEqual;': 'âŠžĖ¸',
- 'NotGreaterTilde;': 'âĩ',
- 'NotHumpDownHump;': 'âˏ',
- 'NotHumpEqual;': 'âˏ',
- 'notin;': 'â',
- 'notindot;': 'âĩˏ',
- 'notinE;': 'âšĖ¸',
- 'notinva;': 'â',
- 'notinvb;': 'âˇ',
- 'notinvc;': 'âļ',
- 'NotLeftTriangle;': 'âĒ',
- 'NotLeftTriangleBar;': 'â§Ė¸',
- 'NotLeftTriangleEqual;': 'âŦ',
- 'NotLess;': 'âŽ',
- 'NotLessEqual;': 'â°',
- 'NotLessGreater;': 'â¸',
- 'NotLessLess;': 'âĒˏ',
- 'NotLessSlantEqual;': 'âŠŊˏ',
- 'NotLessTilde;': 'â´',
- 'NotNestedGreaterGreater;': 'âĒĸˏ',
- 'NotNestedLessLess;': 'âĒĄĖ¸',
- 'notni;': 'â',
- 'notniva;': 'â',
- 'notnivb;': 'âž',
- 'notnivc;': 'âŊ',
- 'NotPrecedes;': 'â',
- 'NotPrecedesEqual;': 'âǝˏ',
- 'NotPrecedesSlantEqual;': 'â ',
- 'NotReverseElement;': 'â',
- 'NotRightTriangle;': 'âĢ',
- 'NotRightTriangleBar;': 'â§Ė¸',
- 'NotRightTriangleEqual;': 'â',
- 'NotSquareSubset;': 'âˏ',
- 'NotSquareSubsetEqual;': 'âĸ',
- 'NotSquareSuperset;': 'âˏ',
- 'NotSquareSupersetEqual;': 'âŖ',
- 'NotSubset;': 'ââ',
- 'NotSubsetEqual;': 'â',
- 'NotSucceeds;': 'â',
- 'NotSucceedsEqual;': 'âǰˏ',
- 'NotSucceedsSlantEqual;': 'âĄ',
- 'NotSucceedsTilde;': 'âŋˏ',
- 'NotSuperset;': 'ââ',
- 'NotSupersetEqual;': 'â',
- 'NotTilde;': 'â',
- 'NotTildeEqual;': 'â',
- 'NotTildeFullEqual;': 'â',
- 'NotTildeTilde;': 'â',
- 'NotVerticalBar;': 'â¤',
- 'npar;': 'âĻ',
- 'nparallel;': 'âĻ',
- 'nparsl;': 'âĢŊâĨ',
- 'npart;': 'âˏ',
- 'npolint;': 'â¨',
- 'npr;': 'â',
- 'nprcue;': 'â ',
- 'npre;': 'âǝˏ',
- 'nprec;': 'â',
- 'npreceq;': 'âǝˏ',
- 'nrArr;': 'â',
- 'nrarr;': 'â',
- 'nrarrc;': 'â¤ŗĖ¸',
- 'nrarrw;': 'âˏ',
- 'nRightarrow;': 'â',
- 'nrightarrow;': 'â',
- 'nrtri;': 'âĢ',
- 'nrtrie;': 'â',
- 'nsc;': 'â',
- 'nsccue;': 'âĄ',
- 'nsce;': 'âǰˏ',
- 'Nscr;': 'đŠ',
- 'nscr;': 'đ',
- 'nshortmid;': 'â¤',
- 'nshortparallel;': 'âĻ',
- 'nsim;': 'â',
- 'nsime;': 'â',
- 'nsimeq;': 'â',
- 'nsmid;': 'â¤',
- 'nspar;': 'âĻ',
- 'nsqsube;': 'âĸ',
- 'nsqsupe;': 'âŖ',
- 'nsub;': 'â',
- 'nsubE;': 'âĢ
ˏ',
- 'nsube;': 'â',
- 'nsubset;': 'ââ',
- 'nsubseteq;': 'â',
- 'nsubseteqq;': 'âĢ
ˏ',
- 'nsucc;': 'â',
- 'nsucceq;': 'âǰˏ',
- 'nsup;': 'â
',
- 'nsupE;': 'âĢˏ',
- 'nsupe;': 'â',
- 'nsupset;': 'ââ',
- 'nsupseteq;': 'â',
- 'nsupseteqq;': 'âĢˏ',
- 'ntgl;': 'âš',
- 'Ntilde;': 'Ã',
- Ntilde: 'Ã',
- 'ntilde;': 'Ãą',
- ntilde: 'Ãą',
- 'ntlg;': 'â¸',
- 'ntriangleleft;': 'âĒ',
- 'ntrianglelefteq;': 'âŦ',
- 'ntriangleright;': 'âĢ',
- 'ntrianglerighteq;': 'â',
- 'Nu;': 'Î',
- 'nu;': 'ÎŊ',
- 'num;': '#',
- 'numero;': 'â',
- 'numsp;': 'â',
- 'nvap;': 'ââ',
- 'nVDash;': 'â¯',
- 'nVdash;': 'âŽ',
- 'nvDash;': 'â',
- 'nvdash;': 'âŦ',
- 'nvge;': 'âĨâ',
- 'nvgt;': '>â',
- 'nvHarr;': 'â¤',
- 'nvinfin;': 'â§',
- 'nvlArr;': 'â¤',
- 'nvle;': 'â¤â',
- 'nvlt;': '<â',
- 'nvltrie;': 'â´â',
- 'nvrArr;': 'â¤',
- 'nvrtrie;': 'âĩâ',
- 'nvsim;': 'âŧâ',
- 'nwarhk;': 'â¤Ŗ',
- 'nwArr;': 'â',
- 'nwarr;': 'â',
- 'nwarrow;': 'â',
- 'nwnear;': '⤧',
- 'Oacute;': 'Ã',
- Oacute: 'Ã',
- 'oacute;': 'Ãŗ',
- oacute: 'Ãŗ',
- 'oast;': 'â',
- 'ocir;': 'â',
- 'Ocirc;': 'Ã',
- Ocirc: 'Ã',
- 'ocirc;': 'ô',
- ocirc: 'ô',
- 'Ocy;': 'Đ',
- 'ocy;': 'Đž',
- 'odash;': 'â',
- 'Odblac;': 'Å',
- 'odblac;': 'Å',
- 'odiv;': '⨸',
- 'odot;': 'â',
- 'odsold;': 'âĻŧ',
- 'OElig;': 'Å',
- 'oelig;': 'Å',
- 'ofcir;': 'âĻŋ',
- 'Ofr;': 'đ',
- 'ofr;': 'đŦ',
- 'ogon;': 'Ë',
- 'Ograve;': 'Ã',
- Ograve: 'Ã',
- 'ograve;': 'Ã˛',
- ograve: 'Ã˛',
- 'ogt;': 'â§',
- 'ohbar;': 'âĻĩ',
- 'ohm;': 'Ί',
- 'oint;': 'âŽ',
- 'olarr;': 'âē',
- 'olcir;': 'âĻž',
- 'olcross;': 'âĻģ',
- 'oline;': 'âž',
- 'olt;': 'â§',
- 'Omacr;': 'Å',
- 'omacr;': 'Å',
- 'Omega;': 'Ί',
- 'omega;': 'Ī',
- 'Omicron;': 'Î',
- 'omicron;': 'Îŋ',
- 'omid;': 'âĻļ',
- 'ominus;': 'â',
- 'Oopf;': 'đ',
- 'oopf;': 'đ ',
- 'opar;': 'âώ',
- 'OpenCurlyDoubleQuote;': 'â',
- 'OpenCurlyQuote;': 'â',
- 'operp;': 'âĻš',
- 'oplus;': 'â',
- 'Or;': 'âŠ',
- 'or;': 'â¨',
- 'orarr;': 'âģ',
- 'ord;': 'âŠ',
- 'order;': 'â´',
- 'orderof;': 'â´',
- 'ordf;': 'ÂĒ',
- ordf: 'ÂĒ',
- 'ordm;': 'Âē',
- ordm: 'Âē',
- 'origof;': 'âļ',
- 'oror;': 'âŠ',
- 'orslope;': 'âŠ',
- 'orv;': 'âŠ',
- 'oS;': 'â',
- 'Oscr;': 'đĒ',
- 'oscr;': 'â´',
- 'Oslash;': 'Ã',
- Oslash: 'Ã',
- 'oslash;': 'ø',
- oslash: 'ø',
- 'osol;': 'â',
- 'Otilde;': 'Ã',
- Otilde: 'Ã',
- 'otilde;': 'Ãĩ',
- otilde: 'Ãĩ',
- 'Otimes;': '⨡',
- 'otimes;': 'â',
- 'otimesas;': 'â¨ļ',
- 'Ouml;': 'Ã',
- Ouml: 'Ã',
- 'ouml;': 'Ãļ',
- ouml: 'Ãļ',
- 'ovbar;': 'âŊ',
- 'OverBar;': 'âž',
- 'OverBrace;': 'â',
- 'OverBracket;': 'â´',
- 'OverParenthesis;': 'â',
- 'par;': 'âĨ',
- 'para;': 'Âļ',
- para: 'Âļ',
- 'parallel;': 'âĨ',
- 'parsim;': 'âĢŗ',
- 'parsl;': 'âĢŊ',
- 'part;': 'â',
- 'PartialD;': 'â',
- 'Pcy;': 'Đ',
- 'pcy;': 'Đŋ',
- 'percnt;': '%',
- 'period;': '.',
- 'permil;': 'â°',
- 'perp;': 'âĨ',
- 'pertenk;': 'âą',
- 'Pfr;': 'đ',
- 'pfr;': 'đ',
- 'Phi;': 'ÎĻ',
- 'phi;': 'Ī',
- 'phiv;': 'Ī',
- 'phmmat;': 'âŗ',
- 'phone;': 'â',
- 'Pi;': 'Î ',
- 'pi;': 'Ī',
- 'pitchfork;': 'â',
- 'piv;': 'Ī',
- 'planck;': 'â',
- 'planckh;': 'â',
- 'plankv;': 'â',
- 'plus;': '+',
- 'plusacir;': 'â¨Ŗ',
- 'plusb;': 'â',
- 'pluscir;': 'â¨ĸ',
- 'plusdo;': 'â',
- 'plusdu;': 'â¨Ĩ',
- 'pluse;': '⊲',
- 'PlusMinus;': 'Âą',
- 'plusmn;': 'Âą',
- plusmn: 'Âą',
- 'plussim;': 'â¨Ļ',
- 'plustwo;': '⨧',
- 'pm;': 'Âą',
- 'Poincareplane;': 'â',
- 'pointint;': 'â¨',
- 'Popf;': 'â',
- 'popf;': 'đĄ',
- 'pound;': 'ÂŖ',
- pound: 'ÂŖ',
- 'Pr;': 'âĒģ',
- 'pr;': 'âē',
- 'prap;': 'âǎ',
- 'prcue;': 'âŧ',
- 'prE;': 'âĒŗ',
- 'pre;': 'âǝ',
- 'prec;': 'âē',
- 'precapprox;': 'âǎ',
- 'preccurlyeq;': 'âŧ',
- 'Precedes;': 'âē',
- 'PrecedesEqual;': 'âǝ',
- 'PrecedesSlantEqual;': 'âŧ',
- 'PrecedesTilde;': 'âž',
- 'preceq;': 'âǝ',
- 'precnapprox;': 'âĒš',
- 'precneqq;': 'âĒĩ',
- 'precnsim;': 'â¨',
- 'precsim;': 'âž',
- 'Prime;': 'âŗ',
- 'prime;': 'â˛',
- 'primes;': 'â',
- 'prnap;': 'âĒš',
- 'prnE;': 'âĒĩ',
- 'prnsim;': 'â¨',
- 'prod;': 'â',
- 'Product;': 'â',
- 'profalar;': 'âŽ',
- 'profline;': 'â',
- 'profsurf;': 'â',
- 'prop;': 'â',
- 'Proportion;': 'âˇ',
- 'Proportional;': 'â',
- 'propto;': 'â',
- 'prsim;': 'âž',
- 'prurel;': 'â°',
- 'Pscr;': 'đĢ',
- 'pscr;': 'đ
',
- 'Psi;': 'Ψ',
- 'psi;': 'Ī',
- 'puncsp;': 'â',
- 'Qfr;': 'đ',
- 'qfr;': 'đŽ',
- 'qint;': 'â¨',
- 'Qopf;': 'â',
- 'qopf;': 'đĸ',
- 'qprime;': 'â',
- 'Qscr;': 'đŦ',
- 'qscr;': 'đ',
- 'quaternions;': 'â',
- 'quatint;': 'â¨',
- 'quest;': '?',
- 'questeq;': 'â',
- 'QUOT;': '"',
- QUOT: '"',
- 'quot;': '"',
- quot: '"',
- 'rAarr;': 'â',
- 'race;': 'âŊĖą',
- 'Racute;': 'Å',
- 'racute;': 'Å',
- 'radic;': 'â',
- 'raemptyv;': 'âĻŗ',
- 'Rang;': 'âĢ',
- 'rang;': 'âŠ',
- 'rangd;': 'âĻ',
- 'range;': 'âĻĨ',
- 'rangle;': 'âŠ',
- 'raquo;': 'Âģ',
- raquo: 'Âģ',
- 'Rarr;': 'â ',
- 'rArr;': 'â',
- 'rarr;': 'â',
- 'rarrap;': 'âĨĩ',
- 'rarrb;': 'âĨ',
- 'rarrbfs;': '⤠',
- 'rarrc;': 'â¤ŗ',
- 'rarrfs;': 'â¤',
- 'rarrhk;': 'âĒ',
- 'rarrlp;': 'âŦ',
- 'rarrpl;': 'âĨ
',
- 'rarrsim;': 'âĨ´',
- 'Rarrtl;': 'â¤',
- 'rarrtl;': 'âŖ',
- 'rarrw;': 'â',
- 'rAtail;': 'â¤',
- 'ratail;': 'â¤',
- 'ratio;': 'âļ',
- 'rationals;': 'â',
- 'RBarr;': 'â¤',
- 'rBarr;': 'â¤',
- 'rbarr;': 'â¤',
- 'rbbrk;': 'âŗ',
- 'rbrace;': '}',
- 'rbrack;': ']',
- 'rbrke;': 'âĻ',
- 'rbrksld;': 'âĻ',
- 'rbrkslu;': 'âĻ',
- 'Rcaron;': 'Å',
- 'rcaron;': 'Å',
- 'Rcedil;': 'Å',
- 'rcedil;': 'Å',
- 'rceil;': 'â',
- 'rcub;': '}',
- 'Rcy;': 'Đ ',
- 'rcy;': 'Ņ',
- 'rdca;': '⤡',
- 'rdldhar;': 'âĨŠ',
- 'rdquo;': 'â',
- 'rdquor;': 'â',
- 'rdsh;': 'âŗ',
- 'Re;': 'â',
- 'real;': 'â',
- 'realine;': 'â',
- 'realpart;': 'â',
- 'reals;': 'â',
- 'rect;': 'â',
- 'REG;': 'ÂŽ',
- REG: 'ÂŽ',
- 'reg;': 'ÂŽ',
- reg: 'ÂŽ',
- 'ReverseElement;': 'â',
- 'ReverseEquilibrium;': 'â',
- 'ReverseUpEquilibrium;': 'âĨ¯',
- 'rfisht;': 'âĨŊ',
- 'rfloor;': 'â',
- 'Rfr;': 'â',
- 'rfr;': 'đ¯',
- 'rHar;': 'âĨ¤',
- 'rhard;': 'â',
- 'rharu;': 'â',
- 'rharul;': 'âĨŦ',
- 'Rho;': 'ÎĄ',
- 'rho;': 'Ī',
- 'rhov;': 'Īą',
- 'RightAngleBracket;': 'âŠ',
- 'RightArrow;': 'â',
- 'Rightarrow;': 'â',
- 'rightarrow;': 'â',
- 'RightArrowBar;': 'âĨ',
- 'RightArrowLeftArrow;': 'â',
- 'rightarrowtail;': 'âŖ',
- 'RightCeiling;': 'â',
- 'RightDoubleBracket;': 'â§',
- 'RightDownTeeVector;': 'âĨ',
- 'RightDownVector;': 'â',
- 'RightDownVectorBar;': 'âĨ',
- 'RightFloor;': 'â',
- 'rightharpoondown;': 'â',
- 'rightharpoonup;': 'â',
- 'rightleftarrows;': 'â',
- 'rightleftharpoons;': 'â',
- 'rightrightarrows;': 'â',
- 'rightsquigarrow;': 'â',
- 'RightTee;': 'âĸ',
- 'RightTeeArrow;': 'âĻ',
- 'RightTeeVector;': 'âĨ',
- 'rightthreetimes;': 'â',
- 'RightTriangle;': 'âŗ',
- 'RightTriangleBar;': 'â§',
- 'RightTriangleEqual;': 'âĩ',
- 'RightUpDownVector;': 'âĨ',
- 'RightUpTeeVector;': 'âĨ',
- 'RightUpVector;': 'âž',
- 'RightUpVectorBar;': 'âĨ',
- 'RightVector;': 'â',
- 'RightVectorBar;': 'âĨ',
- 'ring;': 'Ë',
- 'risingdotseq;': 'â',
- 'rlarr;': 'â',
- 'rlhar;': 'â',
- 'rlm;': 'â',
- 'rmoust;': 'âą',
- 'rmoustache;': 'âą',
- 'rnmid;': 'âĢŽ',
- 'roang;': 'â',
- 'roarr;': 'âž',
- 'robrk;': 'â§',
- 'ropar;': 'âĻ',
- 'Ropf;': 'â',
- 'ropf;': 'đŖ',
- 'roplus;': '⨎',
- 'rotimes;': 'â¨ĩ',
- 'RoundImplies;': 'âĨ°',
- 'rpar;': ')',
- 'rpargt;': 'âĻ',
- 'rppolint;': 'â¨',
- 'rrarr;': 'â',
- 'Rrightarrow;': 'â',
- 'rsaquo;': 'âē',
- 'Rscr;': 'â',
- 'rscr;': 'đ',
- 'Rsh;': 'âą',
- 'rsh;': 'âą',
- 'rsqb;': ']',
- 'rsquo;': 'â',
- 'rsquor;': 'â',
- 'rthree;': 'â',
- 'rtimes;': 'â',
- 'rtri;': 'âš',
- 'rtrie;': 'âĩ',
- 'rtrif;': 'â¸',
- 'rtriltri;': 'â§',
- 'RuleDelayed;': 'â§´',
- 'ruluhar;': 'âĨ¨',
- 'rx;': 'â',
- 'Sacute;': 'Å',
- 'sacute;': 'Å',
- 'sbquo;': 'â',
- 'Sc;': 'âĒŧ',
- 'sc;': 'âģ',
- 'scap;': 'âǏ',
- 'Scaron;': 'Å ',
- 'scaron;': 'ÅĄ',
- 'sccue;': 'âŊ',
- 'scE;': 'âĒ´',
- 'sce;': 'âǰ',
- 'Scedil;': 'Å',
- 'scedil;': 'Å',
- 'Scirc;': 'Å',
- 'scirc;': 'Å',
- 'scnap;': 'âĒē',
- 'scnE;': 'âĒļ',
- 'scnsim;': 'âŠ',
- 'scpolint;': 'â¨',
- 'scsim;': 'âŋ',
- 'Scy;': 'ĐĄ',
- 'scy;': 'Ņ',
- 'sdot;': 'â
',
- 'sdotb;': 'âĄ',
- 'sdote;': 'âŠĻ',
- 'searhk;': 'â¤Ĩ',
- 'seArr;': 'â',
- 'searr;': 'â',
- 'searrow;': 'â',
- 'sect;': '§',
- sect: '§',
- 'semi;': ';',
- 'seswar;': '⤊',
- 'setminus;': 'â',
- 'setmn;': 'â',
- 'sext;': 'âļ',
- 'Sfr;': 'đ',
- 'sfr;': 'đ°',
- 'sfrown;': 'âĸ',
- 'sharp;': 'â¯',
- 'SHCHcy;': 'ĐŠ',
- 'shchcy;': 'Ņ',
- 'SHcy;': 'Ш',
- 'shcy;': 'Ņ',
- 'ShortDownArrow;': 'â',
- 'ShortLeftArrow;': 'â',
- 'shortmid;': 'âŖ',
- 'shortparallel;': 'âĨ',
- 'ShortRightArrow;': 'â',
- 'ShortUpArrow;': 'â',
- 'shy;': 'Â',
- shy: 'Â',
- 'Sigma;': 'ÎŖ',
- 'sigma;': 'Ī',
- 'sigmaf;': 'Ī',
- 'sigmav;': 'Ī',
- 'sim;': 'âŧ',
- 'simdot;': 'âŠĒ',
- 'sime;': 'â',
- 'simeq;': 'â',
- 'simg;': 'âĒ',
- 'simgE;': 'âĒ ',
- 'siml;': 'âĒ',
- 'simlE;': 'âĒ',
- 'simne;': 'â',
- 'simplus;': '⨤',
- 'simrarr;': 'âĨ˛',
- 'slarr;': 'â',
- 'SmallCircle;': 'â',
- 'smallsetminus;': 'â',
- 'smashp;': 'â¨ŗ',
- 'smeparsl;': '⧤',
- 'smid;': 'âŖ',
- 'smile;': 'âŖ',
- 'smt;': 'âĒĒ',
- 'smte;': 'âĒŦ',
- 'smtes;': 'âĒŦī¸',
- 'SOFTcy;': 'ĐŦ',
- 'softcy;': 'Ņ',
- 'sol;': '/',
- 'solb;': 'â§',
- 'solbar;': 'âŋ',
- 'Sopf;': 'đ',
- 'sopf;': 'đ¤',
- 'spades;': 'â ',
- 'spadesuit;': 'â ',
- 'spar;': 'âĨ',
- 'sqcap;': 'â',
- 'sqcaps;': 'âī¸',
- 'sqcup;': 'â',
- 'sqcups;': 'âī¸',
- 'Sqrt;': 'â',
- 'sqsub;': 'â',
- 'sqsube;': 'â',
- 'sqsubset;': 'â',
- 'sqsubseteq;': 'â',
- 'sqsup;': 'â',
- 'sqsupe;': 'â',
- 'sqsupset;': 'â',
- 'sqsupseteq;': 'â',
- 'squ;': 'âĄ',
- 'Square;': 'âĄ',
- 'square;': 'âĄ',
- 'SquareIntersection;': 'â',
- 'SquareSubset;': 'â',
- 'SquareSubsetEqual;': 'â',
- 'SquareSuperset;': 'â',
- 'SquareSupersetEqual;': 'â',
- 'SquareUnion;': 'â',
- 'squarf;': 'âĒ',
- 'squf;': 'âĒ',
- 'srarr;': 'â',
- 'Sscr;': 'đŽ',
- 'sscr;': 'đ',
- 'ssetmn;': 'â',
- 'ssmile;': 'âŖ',
- 'sstarf;': 'â',
- 'Star;': 'â',
- 'star;': 'â',
- 'starf;': 'â
',
- 'straightepsilon;': 'Īĩ',
- 'straightphi;': 'Ī',
- 'strns;': '¯',
- 'Sub;': 'â',
- 'sub;': 'â',
- 'subdot;': 'âĒŊ',
- 'subE;': 'âĢ
',
- 'sube;': 'â',
- 'subedot;': 'âĢ',
- 'submult;': 'âĢ',
- 'subnE;': 'âĢ',
- 'subne;': 'â',
- 'subplus;': 'âĒŋ',
- 'subrarr;': 'âĨš',
- 'Subset;': 'â',
- 'subset;': 'â',
- 'subseteq;': 'â',
- 'subseteqq;': 'âĢ
',
- 'SubsetEqual;': 'â',
- 'subsetneq;': 'â',
- 'subsetneqq;': 'âĢ',
- 'subsim;': 'âĢ',
- 'subsub;': 'âĢ',
- 'subsup;': 'âĢ',
- 'succ;': 'âģ',
- 'succapprox;': 'âǏ',
- 'succcurlyeq;': 'âŊ',
- 'Succeeds;': 'âģ',
- 'SucceedsEqual;': 'âǰ',
- 'SucceedsSlantEqual;': 'âŊ',
- 'SucceedsTilde;': 'âŋ',
- 'succeq;': 'âǰ',
- 'succnapprox;': 'âĒē',
- 'succneqq;': 'âĒļ',
- 'succnsim;': 'âŠ',
- 'succsim;': 'âŋ',
- 'SuchThat;': 'â',
- 'Sum;': 'â',
- 'sum;': 'â',
- 'sung;': 'âĒ',
- 'Sup;': 'â',
- 'sup;': 'â',
- 'sup1;': 'š',
- sup1: 'š',
- 'sup2;': '²',
- sup2: '²',
- 'sup3;': 'Âŗ',
- sup3: 'Âŗ',
- 'supdot;': 'âĒž',
- 'supdsub;': 'âĢ',
- 'supE;': 'âĢ',
- 'supe;': 'â',
- 'supedot;': 'âĢ',
- 'Superset;': 'â',
- 'SupersetEqual;': 'â',
- 'suphsol;': 'â',
- 'suphsub;': 'âĢ',
- 'suplarr;': 'âĨģ',
- 'supmult;': 'âĢ',
- 'supnE;': 'âĢ',
- 'supne;': 'â',
- 'supplus;': 'âĢ',
- 'Supset;': 'â',
- 'supset;': 'â',
- 'supseteq;': 'â',
- 'supseteqq;': 'âĢ',
- 'supsetneq;': 'â',
- 'supsetneqq;': 'âĢ',
- 'supsim;': 'âĢ',
- 'supsub;': 'âĢ',
- 'supsup;': 'âĢ',
- 'swarhk;': 'â¤Ļ',
- 'swArr;': 'â',
- 'swarr;': 'â',
- 'swarrow;': 'â',
- 'swnwar;': 'â¤Ē',
- 'szlig;': 'Ã',
- szlig: 'Ã',
- 'Tab;': '\t',
- 'target;': 'â',
- 'Tau;': 'Τ',
- 'tau;': 'Ī',
- 'tbrk;': 'â´',
- 'Tcaron;': 'Ť',
- 'tcaron;': 'ÅĨ',
- 'Tcedil;': 'Åĸ',
- 'tcedil;': 'ÅŖ',
- 'Tcy;': 'Đĸ',
- 'tcy;': 'Ņ',
- 'tdot;': 'â',
- 'telrec;': 'â',
- 'Tfr;': 'đ',
- 'tfr;': 'đą',
- 'there4;': 'â´',
- 'Therefore;': 'â´',
- 'therefore;': 'â´',
- 'Theta;': 'Î',
- 'theta;': 'θ',
- 'thetasym;': 'Ī',
- 'thetav;': 'Ī',
- 'thickapprox;': 'â',
- 'thicksim;': 'âŧ',
- 'ThickSpace;': 'ââ',
- 'thinsp;': 'â',
- 'ThinSpace;': 'â',
- 'thkap;': 'â',
- 'thksim;': 'âŧ',
- 'THORN;': 'Ã',
- THORN: 'Ã',
- 'thorn;': 'Þ',
- thorn: 'Þ',
- 'Tilde;': 'âŧ',
- 'tilde;': 'Ë',
- 'TildeEqual;': 'â',
- 'TildeFullEqual;': 'â
',
- 'TildeTilde;': 'â',
- 'times;': 'Ã',
- times: 'Ã',
- 'timesb;': 'â ',
- 'timesbar;': '⨹',
- 'timesd;': '⨰',
- 'tint;': 'â',
- 'toea;': '⤨',
- 'top;': 'â¤',
- 'topbot;': 'âļ',
- 'topcir;': 'âĢą',
- 'Topf;': 'đ',
- 'topf;': 'đĨ',
- 'topfork;': 'âĢ',
- 'tosa;': '⤊',
- 'tprime;': 'â´',
- 'TRADE;': 'âĸ',
- 'trade;': 'âĸ',
- 'triangle;': 'âĩ',
- 'triangledown;': 'âŋ',
- 'triangleleft;': 'â',
- 'trianglelefteq;': 'â´',
- 'triangleq;': 'â',
- 'triangleright;': 'âš',
- 'trianglerighteq;': 'âĩ',
- 'tridot;': 'âŦ',
- 'trie;': 'â',
- 'triminus;': 'â¨ē',
- 'TripleDot;': 'â',
- 'triplus;': '⨚',
- 'trisb;': 'â§',
- 'tritime;': 'â¨ģ',
- 'trpezium;': 'âĸ',
- 'Tscr;': 'đ¯',
- 'tscr;': 'đ',
- 'TScy;': 'ĐĻ',
- 'tscy;': 'Ņ',
- 'TSHcy;': 'Đ',
- 'tshcy;': 'Ņ',
- 'Tstrok;': 'ÅĻ',
- 'tstrok;': 'ŧ',
- 'twixt;': 'âŦ',
- 'twoheadleftarrow;': 'â',
- 'twoheadrightarrow;': 'â ',
- 'Uacute;': 'Ã',
- Uacute: 'Ã',
- 'uacute;': 'Ãē',
- uacute: 'Ãē',
- 'Uarr;': 'â',
- 'uArr;': 'â',
- 'uarr;': 'â',
- 'Uarrocir;': 'âĨ',
- 'Ubrcy;': 'Đ',
- 'ubrcy;': 'Ņ',
- 'Ubreve;': 'ÅŦ',
- 'ubreve;': 'Å',
- 'Ucirc;': 'Ã',
- Ucirc: 'Ã',
- 'ucirc;': 'Ãģ',
- ucirc: 'Ãģ',
- 'Ucy;': 'ĐŖ',
- 'ucy;': 'Ņ',
- 'udarr;': 'â
',
- 'Udblac;': 'Ű',
- 'udblac;': 'Åą',
- 'udhar;': 'âĨŽ',
- 'ufisht;': 'âĨž',
- 'Ufr;': 'đ',
- 'ufr;': 'đ˛',
- 'Ugrave;': 'Ã',
- Ugrave: 'Ã',
- 'ugrave;': 'Ú',
- ugrave: 'Ú',
- 'uHar;': 'âĨŖ',
- 'uharl;': 'âŋ',
- 'uharr;': 'âž',
- 'uhblk;': 'â',
- 'ulcorn;': 'â',
- 'ulcorner;': 'â',
- 'ulcrop;': 'â',
- 'ultri;': 'â¸',
- 'Umacr;': 'ÅĒ',
- 'umacr;': 'ÅĢ',
- 'uml;': '¨',
- uml: '¨',
- 'UnderBar;': '_',
- 'UnderBrace;': 'â',
- 'UnderBracket;': 'âĩ',
- 'UnderParenthesis;': 'â',
- 'Union;': 'â',
- 'UnionPlus;': 'â',
- 'Uogon;': 'Ş',
- 'uogon;': 'Åŗ',
- 'Uopf;': 'đ',
- 'uopf;': 'đĻ',
- 'UpArrow;': 'â',
- 'Uparrow;': 'â',
- 'uparrow;': 'â',
- 'UpArrowBar;': 'â¤',
- 'UpArrowDownArrow;': 'â
',
- 'UpDownArrow;': 'â',
- 'Updownarrow;': 'â',
- 'updownarrow;': 'â',
- 'UpEquilibrium;': 'âĨŽ',
- 'upharpoonleft;': 'âŋ',
- 'upharpoonright;': 'âž',
- 'uplus;': 'â',
- 'UpperLeftArrow;': 'â',
- 'UpperRightArrow;': 'â',
- 'Upsi;': 'Ī',
- 'upsi;': 'Ī
',
- 'upsih;': 'Ī',
- 'Upsilon;': 'ÎĨ',
- 'upsilon;': 'Ī
',
- 'UpTee;': 'âĨ',
- 'UpTeeArrow;': 'âĨ',
- 'upuparrows;': 'â',
- 'urcorn;': 'â',
- 'urcorner;': 'â',
- 'urcrop;': 'â',
- 'Uring;': 'ÅŽ',
- 'uring;': 'ů',
- 'urtri;': 'âš',
- 'Uscr;': 'đ°',
- 'uscr;': 'đ',
- 'utdot;': 'â°',
- 'Utilde;': 'Ũ',
- 'utilde;': 'ÅŠ',
- 'utri;': 'âĩ',
- 'utrif;': 'â´',
- 'uuarr;': 'â',
- 'Uuml;': 'Ã',
- Uuml: 'Ã',
- 'uuml;': 'Ãŧ',
- uuml: 'Ãŧ',
- 'uwangle;': 'âϧ',
- 'vangrt;': 'âĻ',
- 'varepsilon;': 'Īĩ',
- 'varkappa;': 'ΰ',
- 'varnothing;': 'â
',
- 'varphi;': 'Ī',
- 'varpi;': 'Ī',
- 'varpropto;': 'â',
- 'vArr;': 'â',
- 'varr;': 'â',
- 'varrho;': 'Īą',
- 'varsigma;': 'Ī',
- 'varsubsetneq;': 'âī¸',
- 'varsubsetneqq;': 'âĢī¸',
- 'varsupsetneq;': 'âī¸',
- 'varsupsetneqq;': 'âĢī¸',
- 'vartheta;': 'Ī',
- 'vartriangleleft;': 'â˛',
- 'vartriangleright;': 'âŗ',
- 'Vbar;': 'âĢĢ',
- 'vBar;': 'â̍',
- 'vBarv;': 'âĢŠ',
- 'Vcy;': 'Đ',
- 'vcy;': 'в',
- 'VDash;': 'âĢ',
- 'Vdash;': 'âŠ',
- 'vDash;': 'â¨',
- 'vdash;': 'âĸ',
- 'Vdashl;': 'âĢĻ',
- 'Vee;': 'â',
- 'vee;': 'â¨',
- 'veebar;': 'âģ',
- 'veeeq;': 'â',
- 'vellip;': 'âŽ',
- 'Verbar;': 'â',
- 'verbar;': '|',
- 'Vert;': 'â',
- 'vert;': '|',
- 'VerticalBar;': 'âŖ',
- 'VerticalLine;': '|',
- 'VerticalSeparator;': 'â',
- 'VerticalTilde;': 'â',
- 'VeryThinSpace;': 'â',
- 'Vfr;': 'đ',
- 'vfr;': 'đŗ',
- 'vltri;': 'â˛',
- 'vnsub;': 'ââ',
- 'vnsup;': 'ââ',
- 'Vopf;': 'đ',
- 'vopf;': 'đ§',
- 'vprop;': 'â',
- 'vrtri;': 'âŗ',
- 'Vscr;': 'đą',
- 'vscr;': 'đ',
- 'vsubnE;': 'âĢī¸',
- 'vsubne;': 'âī¸',
- 'vsupnE;': 'âĢī¸',
- 'vsupne;': 'âī¸',
- 'Vvdash;': 'âĒ',
- 'vzigzag;': 'âĻ',
- 'Wcirc;': 'Å´',
- 'wcirc;': 'Åĩ',
- 'wedbar;': 'âŠ',
- 'Wedge;': 'â',
- 'wedge;': 'â§',
- 'wedgeq;': 'â',
- 'weierp;': 'â',
- 'Wfr;': 'đ',
- 'wfr;': 'đ´',
- 'Wopf;': 'đ',
- 'wopf;': 'đ¨',
- 'wp;': 'â',
- 'wr;': 'â',
- 'wreath;': 'â',
- 'Wscr;': 'đ˛',
- 'wscr;': 'đ',
- 'xcap;': 'â',
- 'xcirc;': 'â¯',
- 'xcup;': 'â',
- 'xdtri;': 'âŊ',
- 'Xfr;': 'đ',
- 'xfr;': 'đĩ',
- 'xhArr;': 'âē',
- 'xharr;': 'âˇ',
- 'Xi;': 'Î',
- 'xi;': 'Ξ',
- 'xlArr;': 'â¸',
- 'xlarr;': 'âĩ',
- 'xmap;': 'âŧ',
- 'xnis;': 'âģ',
- 'xodot;': 'â¨',
- 'Xopf;': 'đ',
- 'xopf;': 'đŠ',
- 'xoplus;': 'â¨',
- 'xotime;': 'â¨',
- 'xrArr;': 'âš',
- 'xrarr;': 'âļ',
- 'Xscr;': 'đŗ',
- 'xscr;': 'đ',
- 'xsqcup;': 'â¨',
- 'xuplus;': 'â¨',
- 'xutri;': 'âŗ',
- 'xvee;': 'â',
- 'xwedge;': 'â',
- 'Yacute;': 'Ã',
- Yacute: 'Ã',
- 'yacute;': 'ÃŊ',
- yacute: 'ÃŊ',
- 'YAcy;': 'Đ¯',
- 'yacy;': 'Ņ',
- 'Ycirc;': 'Åļ',
- 'ycirc;': 'Ŏ',
- 'Ycy;': 'ĐĢ',
- 'ycy;': 'Ņ',
- 'yen;': 'ÂĨ',
- yen: 'ÂĨ',
- 'Yfr;': 'đ',
- 'yfr;': 'đļ',
- 'YIcy;': 'Đ',
- 'yicy;': 'Ņ',
- 'Yopf;': 'đ',
- 'yopf;': 'đĒ',
- 'Yscr;': 'đ´',
- 'yscr;': 'đ',
- 'YUcy;': 'ĐŽ',
- 'yucy;': 'Ņ',
- 'Yuml;': 'Ÿ',
- 'yuml;': 'Ãŋ',
- yuml: 'Ãŋ',
- 'Zacute;': 'Åš',
- 'zacute;': 'Åē',
- 'Zcaron;': 'ÅŊ',
- 'zcaron;': 'Åž',
- 'Zcy;': 'Đ',
- 'zcy;': 'С',
- 'Zdot;': 'Åģ',
- 'zdot;': 'Åŧ',
- 'zeetrf;': 'â¨',
- 'ZeroWidthSpace;': 'â',
- 'Zeta;': 'Î',
- 'zeta;': 'Îļ',
- 'Zfr;': 'â¨',
- 'zfr;': 'đˇ',
- 'ZHcy;': 'Đ',
- 'zhcy;': 'Đļ',
- 'zigrarr;': 'â',
- 'Zopf;': 'â¤',
- 'zopf;': 'đĢ',
- 'Zscr;': 'đĩ',
- 'zscr;': 'đ',
- 'zwj;': 'â',
- 'zwnj;': 'â',
- };
- function Be(e, t) {
- if (e.length < t.length) return !1;
- for (var n = 0; n < t.length; n++) if (e[n] !== t[n]) return !1;
- return !0;
- }
- var Ge = 'a'.charCodeAt(0),
- Ve = 'z'.charCodeAt(0),
- Ke = 'A'.charCodeAt(0),
- Je = 'Z'.charCodeAt(0),
- Ye = '0'.charCodeAt(0),
- Xe = '9'.charCodeAt(0);
- function $e(e, t) {
- var n = e.charCodeAt(t);
- return (
- (Ge <= n && n <= Ve) || (Ke <= n && n <= Je) || (Ye <= n && n <= Xe)
- );
- }
- var Ze = [
- 'area',
- 'base',
- 'br',
- 'col',
- 'embed',
- 'hr',
- 'img',
- 'input',
- 'keygen',
- 'link',
- 'menuitem',
- 'meta',
- 'param',
- 'source',
- 'track',
- 'wbr',
- ];
- function Qe(e) {
- return (
- !!e &&
- (function (e, t, n) {
- for (var i = 0, r = e.length - 1; i <= r; ) {
- var a = ((i + r) / 2) | 0,
- o = ((s = t), e[a].localeCompare(s));
- if (o < 0) i = a + 1;
- else {
- if (!(o > 0)) return a;
- r = a - 1;
- }
- }
- var s;
- return -(i + 1);
- })(Ze, e.toLowerCase()) >= 0
- );
- }
- function et(e) {
- return void 0 !== e;
- }
- var tt = (function () {
- function e(e, t) {
- var n = this;
- (this.id = e),
- (this._tags = []),
- (this._tagMap = {}),
- (this._valueSetMap = {}),
- (this._tags = t.tags || []),
- (this._globalAttributes = t.globalAttributes || []),
- this._tags.forEach(function (e) {
- n._tagMap[e.name.toLowerCase()] = e;
- }),
- t.valueSets &&
- t.valueSets.forEach(function (e) {
- n._valueSetMap[e.name] = e.values;
- });
- }
- return (
- (e.prototype.isApplicable = function () {
- return !0;
- }),
- (e.prototype.getId = function () {
- return this.id;
- }),
- (e.prototype.provideTags = function () {
- return this._tags;
- }),
- (e.prototype.provideAttributes = function (e) {
- var t = [],
- n = function (e) {
- t.push(e);
- },
- i = this._tagMap[e.toLowerCase()];
- return (
- i && i.attributes.forEach(n), this._globalAttributes.forEach(n), t
- );
- }),
- (e.prototype.provideValues = function (e, t) {
- var n = this,
- i = [];
- t = t.toLowerCase();
- var r = function (e) {
- e.forEach(function (e) {
- e.name.toLowerCase() === t &&
- (e.values &&
- e.values.forEach(function (e) {
- i.push(e);
- }),
- e.valueSet &&
- n._valueSetMap[e.valueSet] &&
- n._valueSetMap[e.valueSet].forEach(function (e) {
- i.push(e);
- }));
- });
- },
- a = this._tagMap[e.toLowerCase()];
- return a ? (r(a.attributes), r(this._globalAttributes), i) : [];
- }),
- e
- );
- })();
- function nt(e, t) {
- var n = { kind: t ? 'markdown' : 'plaintext', value: '' };
- if (e.description) {
- var i = (function (e) {
- if (e)
- return 'string' == typeof e
- ? { kind: 'markdown', value: e }
- : { kind: 'markdown', value: e.value };
- })(e.description);
- i && (n.value += i.value);
- }
- if (
- (e.references &&
- e.references.length > 0 &&
- ((n.value += '\n\n'),
- (n.value += t
- ? e.references
- .map(function (e) {
- return '[' + e.name + '](' + e.url + ')';
- })
- .join(' | ')
- : e.references
- .map(function (e) {
- return e.name + ': ' + e.url;
- })
- .join('\n'))),
- '' !== n.value)
- )
- return n;
- }
- var it = function (e, t, n, i) {
- return new (n || (n = Promise))(function (r, a) {
- function o(e) {
- try {
- l(i.next(e));
- } catch (e) {
- a(e);
- }
- }
- function s(e) {
- try {
- l(i.throw(e));
- } catch (e) {
- a(e);
- }
- }
- function l(e) {
- var t;
- e.done
- ? r(e.value)
- : ((t = e.value),
- t instanceof n
- ? t
- : new n(function (e) {
- e(t);
- })).then(o, s);
- }
- l((i = i.apply(e, t || [])).next());
- });
- },
- rt = function (e, t) {
- var n,
- i,
- r,
- a,
- o = {
- label: 0,
- sent: function () {
- if (1 & r[0]) throw r[1];
- return r[1];
- },
- trys: [],
- ops: [],
- };
- return (
- (a = { next: s(0), throw: s(1), return: s(2) }),
- 'function' == typeof Symbol &&
- (a[Symbol.iterator] = function () {
- return this;
- }),
- a
- );
- function s(a) {
- return function (s) {
- return (function (a) {
- if (n) throw new TypeError('Generator is already executing.');
- for (; o; )
- try {
- if (
- ((n = 1),
- i &&
- (r =
- 2 & a[0]
- ? i.return
- : a[0]
- ? i.throw || ((r = i.return) && r.call(i), 0)
- : i.next) &&
- !(r = r.call(i, a[1])).done)
- )
- return r;
- switch (((i = 0), r && (a = [2 & a[0], r.value]), a[0])) {
- case 0:
- case 1:
- r = a;
- break;
- case 4:
- return o.label++, { value: a[1], done: !1 };
- case 5:
- o.label++, (i = a[1]), (a = [0]);
- continue;
- case 7:
- (a = o.ops.pop()), o.trys.pop();
- continue;
- default:
- if (
- !(
- (r = (r = o.trys).length > 0 && r[r.length - 1]) ||
- (6 !== a[0] && 2 !== a[0])
- )
- ) {
- o = 0;
- continue;
- }
- if (
- 3 === a[0] &&
- (!r || (a[1] > r[0] && a[1] < r[3]))
- ) {
- o.label = a[1];
- break;
- }
- if (6 === a[0] && o.label < r[1]) {
- (o.label = r[1]), (r = a);
- break;
- }
- if (r && o.label < r[2]) {
- (o.label = r[2]), o.ops.push(a);
- break;
- }
- r[2] && o.ops.pop(), o.trys.pop();
- continue;
- }
- a = t.call(e, o);
- } catch (e) {
- (a = [6, e]), (i = 0);
- } finally {
- n = r = 0;
- }
- if (5 & a[0]) throw a[1];
- return { value: a[0] ? a[1] : void 0, done: !0 };
- })([a, s]);
- };
- }
- },
- at = (function () {
- function e(e) {
- (this.readDirectory = e), (this.atributeCompletions = []);
- }
- return (
- (e.prototype.onHtmlAttributeValue = function (e) {
- var t, n, i;
- (t = e.tag),
- (n = e.attribute),
- (i = ct[t]) &&
- ('string' == typeof i ? i === n : -1 !== i.indexOf(n)) &&
- this.atributeCompletions.push(e);
- }),
- (e.prototype.computeCompletions = function (e, t) {
- return it(this, void 0, void 0, function () {
- var n, i, a, o, s, l, c, h, d, u;
- return rt(this, function (p) {
- switch (p.label) {
- case 0:
- (n = { items: [], isIncomplete: !1 }),
- (i = 0),
- (a = this.atributeCompletions),
- (p.label = 1);
- case 1:
- return i < a.length
- ? ((o = a[i]),
- (m = s = (function (e) {
- return Be(e, "'") || Be(e, '"')
- ? e.slice(1, -1)
- : e;
- })(e.getText(o.range))),
- Be(m, 'http') || Be(m, 'https') || Be(m, '//')
- ? [3, 4]
- : '.' !== s && '..' !== s
- ? [3, 2]
- : ((n.isIncomplete = !0), [3, 4]))
- : [3, 5];
- case 2:
- return (
- (l = (function (e, t, n) {
- var i,
- a = e.lastIndexOf('/');
- if (-1 === a)
- i = (function (e, t, n) {
- var i = lt(e.start, 1),
- a = lt(e.end, -1);
- return r.create(i, a);
- })(n);
- else {
- var o,
- s = t.slice(a + 1),
- l = lt(n.end, -1 - s.length),
- c = s.indexOf(' ');
- (o = -1 !== c ? lt(l, c) : lt(n.end, -1)),
- (i = r.create(l, o));
- }
- return i;
- })(o.value, s, o.range)),
- [4, this.providePathSuggestions(o.value, l, e, t)]
- );
- case 3:
- for (c = p.sent(), h = 0, d = c; h < d.length; h++)
- (u = d[h]), n.items.push(u);
- p.label = 4;
- case 4:
- return i++, [3, 1];
- case 5:
- return [2, n];
- }
- var m;
- });
- });
- }),
- (e.prototype.providePathSuggestions = function (e, t, n, i) {
- return it(this, void 0, void 0, function () {
- var r, a, o, s, l, c, h, d, u;
- return rt(this, function (p) {
- switch (p.label) {
- case 0:
- if (
- ((r = e.substring(0, e.lastIndexOf('/') + 1)),
- !(a = i.resolveReference(r || '.', n.uri)))
- )
- return [3, 4];
- p.label = 1;
- case 1:
- return (
- p.trys.push([1, 3, , 4]),
- (o = []),
- [4, this.readDirectory(a)]
- );
- case 2:
- for (s = p.sent(), l = 0, c = s; l < c.length; l++)
- (h = c[l]),
- (d = h[0]),
- (u = h[1]),
- d.charCodeAt(0) !== ot &&
- o.push(st(d, u === _e.Directory, t));
- return [2, o];
- case 3:
- return p.sent(), [3, 4];
- case 4:
- return [2, []];
- }
- });
- });
- }),
- e
- );
- })(),
- ot = '.'.charCodeAt(0);
- function st(e, t, n) {
- return t
- ? {
- label: (e += '/'),
- kind: P.Folder,
- textEdit: _.replace(n, e),
- command: {
- title: 'Suggest',
- command: 'editor.action.triggerSuggest',
- },
- }
- : { label: e, kind: P.File, textEdit: _.replace(n, e) };
- }
- function lt(e, t) {
- return i.create(e.line, e.character + t);
- }
- var ct = {
- a: 'href',
- area: 'href',
- body: 'background',
- del: 'cite',
- form: 'action',
- frame: ['src', 'longdesc'],
- img: ['src', 'longdesc'],
- ins: 'cite',
- link: 'href',
- object: 'data',
- q: 'cite',
- script: 'src',
- audio: 'src',
- button: 'formaction',
- command: 'icon',
- embed: 'src',
- html: 'manifest',
- input: ['src', 'formaction'],
- source: 'src',
- track: 'src',
- video: ['src', 'poster'],
- },
- ht = I();
- function dt(e) {
- return /^\s*$/.test(e);
- }
- function ut(e, t, n, i) {
- for (var r = Ne(e, t, n), a = r.scan(); a === fe.Whitespace; )
- a = r.scan();
- return a === i;
- }
- !(function () {
- function e(e, t) {
- (this.lsOptions = e),
- (this.dataManager = t),
- (this.completionParticipants = []);
- }
- (e.prototype.setCompletionParticipants = function (e) {
- this.completionParticipants = e || [];
- }),
- (e.prototype.doComplete2 = function (e, t, n, i, r) {
- return (
- (a = this),
- (o = void 0),
- (l = function () {
- var a, o, s, l;
- return (function (e, t) {
- var n,
- i,
- r,
- a,
- o = {
- label: 0,
- sent: function () {
- if (1 & r[0]) throw r[1];
- return r[1];
- },
- trys: [],
- ops: [],
- };
- return (
- (a = { next: s(0), throw: s(1), return: s(2) }),
- 'function' == typeof Symbol &&
- (a[Symbol.iterator] = function () {
- return this;
- }),
- a
- );
- function s(a) {
- return function (s) {
- return (function (a) {
- if (n)
- throw new TypeError(
- 'Generator is already executing.'
- );
- for (; o; )
- try {
- if (
- ((n = 1),
- i &&
- (r =
- 2 & a[0]
- ? i.return
- : a[0]
- ? i.throw ||
- ((r = i.return) && r.call(i), 0)
- : i.next) &&
- !(r = r.call(i, a[1])).done)
- )
- return r;
- switch (
- ((i = 0), r && (a = [2 & a[0], r.value]), a[0])
- ) {
- case 0:
- case 1:
- r = a;
- break;
- case 4:
- return o.label++, { value: a[1], done: !1 };
- case 5:
- o.label++, (i = a[1]), (a = [0]);
- continue;
- case 7:
- (a = o.ops.pop()), o.trys.pop();
- continue;
- default:
- if (
- !(
- (r =
- (r = o.trys).length > 0 &&
- r[r.length - 1]) ||
- (6 !== a[0] && 2 !== a[0])
- )
- ) {
- o = 0;
- continue;
- }
- if (
- 3 === a[0] &&
- (!r || (a[1] > r[0] && a[1] < r[3]))
- ) {
- o.label = a[1];
- break;
- }
- if (6 === a[0] && o.label < r[1]) {
- (o.label = r[1]), (r = a);
- break;
- }
- if (r && o.label < r[2]) {
- (o.label = r[2]), o.ops.push(a);
- break;
- }
- r[2] && o.ops.pop(), o.trys.pop();
- continue;
- }
- a = t.call(e, o);
- } catch (e) {
- (a = [6, e]), (i = 0);
- } finally {
- n = r = 0;
- }
- if (5 & a[0]) throw a[1];
- return { value: a[0] ? a[1] : void 0, done: !0 };
- })([a, s]);
- };
- }
- })(this, function (c) {
- switch (c.label) {
- case 0:
- if (
- !this.lsOptions.fileSystemProvider ||
- !this.lsOptions.fileSystemProvider.readDirectory
- )
- return [2, this.doComplete(e, t, n, r)];
- (a = new at(
- this.lsOptions.fileSystemProvider.readDirectory
- )),
- (o = this.completionParticipants),
- (this.completionParticipants = [a].concat(o)),
- (s = this.doComplete(e, t, n, r)),
- (c.label = 1);
- case 1:
- return (
- c.trys.push([1, , 3, 4]),
- [4, a.computeCompletions(e, i)]
- );
- case 2:
- return (
- (l = c.sent()),
- [
- 2,
- {
- isIncomplete: s.isIncomplete || l.isIncomplete,
- items: l.items.concat(s.items),
- },
- ]
- );
- case 3:
- return (this.completionParticipants = o), [7];
- case 4:
- return [2];
- }
- });
- }),
- new ((s = void 0) || (s = Promise))(function (e, t) {
- function n(e) {
- try {
- r(l.next(e));
- } catch (e) {
- t(e);
- }
- }
- function i(e) {
- try {
- r(l.throw(e));
- } catch (e) {
- t(e);
- }
- }
- function r(t) {
- var r;
- t.done
- ? e(t.value)
- : ((r = t.value),
- r instanceof s
- ? r
- : new s(function (e) {
- e(r);
- })).then(n, i);
- }
- r((l = l.apply(a, o || [])).next());
- })
- );
- var a, o, s, l;
- }),
- (e.prototype.doComplete = function (e, t, n, i) {
- var r = this._doComplete(e, t, n, i);
- return this.convertCompletionList(r);
- }),
- (e.prototype._doComplete = function (e, t, n, a) {
- var o = { isIncomplete: !1, items: [] },
- s = this.completionParticipants,
- l = this.dataManager.getDataProviders().filter(function (t) {
- return (
- t.isApplicable(e.languageId) && (!a || !1 !== a[t.getId()])
- );
- }),
- c = this.doesSupportMarkdown(),
- h = e.getText(),
- d = e.offsetAt(t),
- u = n.findNodeBefore(d);
- if (!u) return o;
- var p,
- m = Ne(h, u.start),
- f = '';
- function g(t, n) {
- return (
- void 0 === n && (n = d),
- t > d && (t = d),
- { start: e.positionAt(t), end: e.positionAt(n) }
- );
- }
- function b(e, t) {
- var n = g(e, t);
- return (
- l.forEach(function (e) {
- e.provideTags().forEach(function (e) {
- o.items.push({
- label: e.name,
- kind: P.Property,
- documentation: nt(e, c),
- textEdit: _.replace(n, e.name),
- insertTextFormat: O.PlainText,
- });
- });
- }),
- o
- );
- }
- function w(e) {
- for (var t = e; t > 0; ) {
- var n = h.charAt(t - 1);
- if ('\n\r'.indexOf(n) >= 0) return h.substring(t, e);
- if (!dt(n)) return null;
- t--;
- }
- return h.substring(0, e);
- }
- function v(e, t, n) {
- void 0 === n && (n = d);
- var i = g(e, n),
- r = ut(h, n, ge.WithinEndTag, fe.EndTagClose) ? '' : '>',
- a = u;
- for (t && (a = a.parent); a; ) {
- var s = a.tag;
- if (s && (!a.closed || (a.endTagStart && a.endTagStart > d))) {
- var p = {
- label: '/' + s,
- kind: P.Property,
- filterText: '/' + s,
- textEdit: _.replace(i, '/' + s + r),
- insertTextFormat: O.PlainText,
- },
- m = w(a.start),
- f = w(e - 1);
- if (null !== m && null !== f && m !== f) {
- var b = m + '' + s + r;
- (p.textEdit = _.replace(g(e - 1 - f.length), b)),
- (p.filterText = f + '' + s);
- }
- return o.items.push(p), o;
- }
- a = a.parent;
- }
- return (
- t ||
- l.forEach(function (e) {
- e.provideTags().forEach(function (e) {
- o.items.push({
- label: '/' + e.name,
- kind: P.Property,
- documentation: nt(e, c),
- filterText: '/' + e + r,
- textEdit: _.replace(i, '/' + e + r),
- insertTextFormat: O.PlainText,
- });
- });
- }),
- o
- );
- }
- function y(t, n) {
- if (a && a.hideAutoCompleteProposals) return o;
- if (!Qe(n)) {
- var i = e.positionAt(t);
- o.items.push({
- label: '' + n + '>',
- kind: P.Property,
- filterText: '' + n + '>',
- textEdit: _.insert(i, '$0' + n + '>'),
- insertTextFormat: O.Snippet,
- });
- }
- return o;
- }
- function T(e, t) {
- return b(e, t), v(e, !0, t), o;
- }
- function k(e, t) {
- void 0 === t && (t = d);
- for (var i = d; i < t && '<' !== h[i]; ) i++;
- var r = g(e, i),
- a = ut(h, t, ge.AfterAttributeName, fe.DelimiterAssign)
- ? ''
- : '="$1"',
- s = Object.create(null);
- return (
- l.forEach(function (e) {
- e.provideAttributes(f).forEach(function (e) {
- if (!s[e.name]) {
- s[e.name] = !0;
- var t,
- n = e.name;
- 'v' !== e.valueSet &&
- a.length &&
- ((n += a),
- (e.valueSet || 'style' === e.name) &&
- (t = {
- title: 'Suggest',
- command: 'editor.action.triggerSuggest',
- })),
- o.items.push({
- label: e.name,
- kind: 'handler' === e.valueSet ? P.Function : P.Value,
- documentation: nt(e, c),
- textEdit: _.replace(r, n),
- insertTextFormat: O.Snippet,
- command: t,
- });
- }
- });
- }),
- (function (e, t) {
- var i = 'data-',
- r = {};
- function a(e) {
- e.attributeNames.forEach(function (e) {
- !Be(e, i) || r[e] || t[e] || (r[e] = e + '="$1"');
- }),
- e.children.forEach(function (e) {
- return a(e);
- });
- }
- (r['data-'] = 'data-$1="$2"'),
- n &&
- n.roots.forEach(function (e) {
- return a(e);
- }),
- Object.keys(r).forEach(function (t) {
- return o.items.push({
- label: t,
- kind: P.Value,
- textEdit: _.replace(e, r[t]),
- insertTextFormat: O.Snippet,
- });
- });
- })(r, s),
- o
- );
- }
- function S(n, i) {
- var r, a, u, m;
- if (
- (void 0 === i && (i = d),
- d > n && d <= i && ((m = h[n]), /^["']*$/.test(m)))
- ) {
- var b = n + 1,
- w = i;
- i > n && h[i - 1] === h[n] && w--;
- var v = (function (e, t, n) {
- for (; t > n && !dt(e[t - 1]); ) t--;
- return t;
- })(h, d, b),
- y = (function (e, t, n) {
- for (; t < n && !dt(e[t]); ) t++;
- return t;
- })(h, d, w);
- (r = g(v, y)),
- (u = d >= b && d <= w ? h.substring(b, d) : ''),
- (a = !1);
- } else (r = g(n, i)), (u = h.substring(n, d)), (a = !0);
- if (s.length > 0)
- for (
- var T = f.toLowerCase(),
- k = p.toLowerCase(),
- S = g(n, i),
- x = 0,
- M = s;
- x < M.length;
- x++
- ) {
- var E = M[x];
- E.onHtmlAttributeValue &&
- E.onHtmlAttributeValue({
- document: e,
- position: t,
- tag: T,
- attribute: k,
- value: u,
- range: S,
- });
- }
- return (
- l.forEach(function (e) {
- e.provideValues(f, p).forEach(function (e) {
- var t = a ? '"' + e.name + '"' : e.name;
- o.items.push({
- label: e.name,
- filterText: t,
- kind: P.Unit,
- documentation: nt(e, c),
- textEdit: _.replace(r, t),
- insertTextFormat: O.PlainText,
- });
- });
- }),
- L(),
- o
- );
- }
- function x(e) {
- return d === m.getTokenEnd() &&
- (A = m.scan()) === e &&
- m.getTokenOffset() === d
- ? m.getTokenEnd()
- : d;
- }
- function M() {
- for (var n = 0, i = s; n < i.length; n++) {
- var r = i[n];
- r.onHtmlContent &&
- r.onHtmlContent({ document: e, position: t });
- }
- return L();
- }
- function L() {
- for (var e, n, a = d - 1, s = t.character; a >= 0 && $e(h, a); )
- a--, s--;
- if (a >= 0 && '&' === h[a]) {
- var l = r.create(i.create(t.line, s - 1), t);
- for (var c in Fe)
- if (
- (';',
- void 0,
- (n = (e = c).length - ';'.length) > 0
- ? e.lastIndexOf(';') === n
- : 0 === n && ';' === e)
- ) {
- var u = '&' + c;
- o.items.push({
- label: u,
- kind: P.Keyword,
- documentation: ht(
- 'entity.propose',
- "Character entity representing '" + Fe[c] + "'"
- ),
- textEdit: _.replace(l, u),
- insertTextFormat: O.PlainText,
- });
- }
- }
- return o;
- }
- for (
- var E, A = m.scan();
- A !== fe.EOS && m.getTokenOffset() <= d;
-
- ) {
- switch (A) {
- case fe.StartTagOpen:
- if (m.getTokenEnd() === d) {
- var z = x(fe.StartTag);
- return (
- 0 === t.line &&
- (void 0,
- (E = g(d, z)),
- o.items.push({
- label: '!DOCTYPE',
- kind: P.Property,
- documentation: 'A preamble for an HTML document.',
- textEdit: _.replace(E, '!DOCTYPE html>'),
- insertTextFormat: O.PlainText,
- })),
- T(d, z)
- );
- }
- break;
- case fe.StartTag:
- if (m.getTokenOffset() <= d && d <= m.getTokenEnd())
- return b(m.getTokenOffset(), m.getTokenEnd());
- f = m.getTokenText();
- break;
- case fe.AttributeName:
- if (m.getTokenOffset() <= d && d <= m.getTokenEnd())
- return k(m.getTokenOffset(), m.getTokenEnd());
- p = m.getTokenText();
- break;
- case fe.DelimiterAssign:
- if (m.getTokenEnd() === d)
- return (z = x(fe.AttributeValue)), S(d, z);
- break;
- case fe.AttributeValue:
- if (m.getTokenOffset() <= d && d <= m.getTokenEnd())
- return S(m.getTokenOffset(), m.getTokenEnd());
- break;
- case fe.Whitespace:
- if (d <= m.getTokenEnd())
- switch (m.getScannerState()) {
- case ge.AfterOpeningStartTag:
- return T(m.getTokenOffset(), x(fe.StartTag));
- case ge.WithinTag:
- case ge.AfterAttributeName:
- return k(m.getTokenEnd());
- case ge.BeforeAttributeValue:
- return S(m.getTokenEnd());
- case ge.AfterOpeningEndTag:
- return v(m.getTokenOffset() - 1, !1);
- case ge.WithinContent:
- return M();
- }
- break;
- case fe.EndTagOpen:
- if (d <= m.getTokenEnd())
- return v(m.getTokenOffset() + 1, !1, x(fe.EndTag));
- break;
- case fe.EndTag:
- if (d <= m.getTokenEnd())
- for (var R = m.getTokenOffset() - 1; R >= 0; ) {
- var I = h.charAt(R);
- if ('/' === I) return v(R, !1, m.getTokenEnd());
- if (!dt(I)) break;
- R--;
- }
- break;
- case fe.StartTagClose:
- if (d <= m.getTokenEnd() && f) return y(m.getTokenEnd(), f);
- break;
- case fe.Content:
- if (d <= m.getTokenEnd()) return M();
- break;
- default:
- if (d <= m.getTokenEnd()) return o;
- }
- A = m.scan();
- }
- return o;
- }),
- (e.prototype.doTagComplete = function (e, t, n) {
- var i = e.offsetAt(t);
- if (i <= 0) return null;
- var r = e.getText().charAt(i - 1);
- if ('>' === r) {
- if (
- (o = n.findNodeBefore(i)) &&
- o.tag &&
- !Qe(o.tag) &&
- o.start < i &&
- (!o.endTagStart || o.endTagStart > i)
- )
- for (
- var a = (s = Ne(e.getText(), o.start)).scan();
- a !== fe.EOS && s.getTokenEnd() <= i;
-
- ) {
- if (a === fe.StartTagClose && s.getTokenEnd() === i)
- return '$0' + o.tag + '>';
- a = s.scan();
- }
- } else if ('/' === r) {
- for (var o = n.findNodeBefore(i); o && o.closed; ) o = o.parent;
- var s;
- if (o && o.tag)
- for (
- a = (s = Ne(e.getText(), o.start)).scan();
- a !== fe.EOS && s.getTokenEnd() <= i;
-
- ) {
- if (a === fe.EndTagOpen && s.getTokenEnd() === i)
- return o.tag + '>';
- a = s.scan();
- }
- }
- return null;
- }),
- (e.prototype.convertCompletionList = function (e) {
- return (
- this.doesSupportMarkdown() ||
- e.items.forEach(function (e) {
- e.documentation &&
- 'string' != typeof e.documentation &&
- (e.documentation = {
- kind: 'plaintext',
- value: e.documentation.value,
- });
- }),
- e
- );
- }),
- (e.prototype.doesSupportMarkdown = function () {
- var e, t, n;
- if (!et(this.supportsMarkdown)) {
- if (!et(this.lsOptions.clientCapabilities))
- return (this.supportsMarkdown = !0), this.supportsMarkdown;
- var i =
- null ===
- (n =
- null ===
- (t =
- null ===
- (e = this.lsOptions.clientCapabilities
- .textDocument) || void 0 === e
- ? void 0
- : e.completion) || void 0 === t
- ? void 0
- : t.completionItem) || void 0 === n
- ? void 0
- : n.documentationFormat;
- this.supportsMarkdown =
- Array.isArray(i) && -1 !== i.indexOf(W.Markdown);
- }
- return this.supportsMarkdown;
- });
- })(),
- (function () {
- function e(e, t) {
- (this.lsOptions = e), (this.dataManager = t);
- }
- (e.prototype.doHover = function (e, t, n) {
- var i = this.convertContents.bind(this),
- r = this.doesSupportMarkdown(),
- a = e.offsetAt(t),
- o = n.findNodeAt(a);
- if (!o || !o.tag) return null;
- var s = this.dataManager.getDataProviders().filter(function (t) {
- return t.isApplicable(e.languageId);
- });
- function l(e, t, n) {
- for (
- var a = function (n) {
- var a = null;
- if (
- (n.provideTags().forEach(function (n) {
- if (n.name.toLowerCase() === e.toLowerCase()) {
- var i = nt(n, r);
- i ||
- (i = {
- kind: r ? 'markdown' : 'plaintext',
- value: '',
- }),
- (a = { contents: i, range: t });
- }
- }),
- a)
- )
- return (a.contents = i(a.contents)), { value: a };
- },
- o = 0,
- l = s;
- o < l.length;
- o++
- ) {
- var c = a(l[o]);
- if ('object' == typeof c) return c.value;
- }
- return null;
- }
- function c(t, n) {
- for (
- var i = Ne(e.getText(), n), r = i.scan();
- r !== fe.EOS &&
- (i.getTokenEnd() < a || (i.getTokenEnd() === a && r !== t));
-
- )
- r = i.scan();
- return r === t && a <= i.getTokenEnd()
- ? {
- start: e.positionAt(i.getTokenOffset()),
- end: e.positionAt(i.getTokenEnd()),
- }
- : null;
- }
- if (o.endTagStart && a >= o.endTagStart) {
- var h = c(fe.EndTag, o.endTagStart);
- return h ? l(o.tag, h) : null;
- }
- var d = c(fe.StartTag, o.start);
- if (d) return l(o.tag, d);
- var u = c(fe.AttributeName, o.start);
- if (u)
- return (function (e, t, n) {
- for (
- var a = function (a) {
- var o = null;
- if (
- (a.provideAttributes(e).forEach(function (e) {
- if (t === e.name && e.description) {
- var i = nt(e, r);
- o = i ? { contents: i, range: n } : null;
- }
- }),
- o)
- )
- return (o.contents = i(o.contents)), { value: o };
- },
- o = 0,
- l = s;
- o < l.length;
- o++
- ) {
- var c = a(l[o]);
- if ('object' == typeof c) return c.value;
- }
- return null;
- })((f = o.tag), e.getText(u), u);
- var p,
- m = c(fe.AttributeValue, o.start);
- if (m) {
- var f = o.tag,
- g =
- (p = e.getText(m)).length <= 1
- ? p.replace(/['"]/, '')
- : (("'" !== p[0] && '"' !== p[0]) || (p = p.slice(1)),
- ("'" !== p[p.length - 1] && '"' !== p[p.length - 1]) ||
- (p = p.slice(0, -1)),
- p),
- b = (function (t, n) {
- for (
- var i = Ne(e.getText(), t), r = i.scan(), a = void 0;
- r !== fe.EOS && i.getTokenEnd() <= n;
-
- )
- (r = i.scan()) === fe.AttributeName &&
- (a = i.getTokenText());
- return a;
- })(o.start, e.offsetAt(m.start));
- if (b)
- return (function (e, t, n, a) {
- for (
- var o = function (o) {
- var s = null;
- if (
- (o.provideValues(e, t).forEach(function (e) {
- if (n === e.name && e.description) {
- var t = nt(e, r);
- s = t ? { contents: t, range: a } : null;
- }
- }),
- s)
- )
- return (s.contents = i(s.contents)), { value: s };
- },
- l = 0,
- c = s;
- l < c.length;
- l++
- ) {
- var h = o(c[l]);
- if ('object' == typeof h) return h.value;
- }
- return null;
- })(f, b, g, m);
- }
- return null;
- }),
- (e.prototype.convertContents = function (e) {
- if (!this.doesSupportMarkdown()) {
- if ('string' == typeof e) return e;
- if ('kind' in e) return { kind: 'plaintext', value: e.value };
- if (!Array.isArray(e)) return e.value;
- e.map(function (e) {
- return 'string' == typeof e ? e : e.value;
- });
- }
- return e;
- }),
- (e.prototype.doesSupportMarkdown = function () {
- var e, t, n;
- if (!et(this.supportsMarkdown)) {
- if (!et(this.lsOptions.clientCapabilities))
- return (this.supportsMarkdown = !0), this.supportsMarkdown;
- var i =
- null ===
- (n =
- null ===
- (t =
- null === (e = this.lsOptions.clientCapabilities) ||
- void 0 === e
- ? void 0
- : e.textDocument) || void 0 === t
- ? void 0
- : t.hover) || void 0 === n
- ? void 0
- : n.contentFormat;
- this.supportsMarkdown =
- Array.isArray(i) && -1 !== i.indexOf(W.Markdown);
- }
- return this.supportsMarkdown;
- });
- })(),
- (function (e) {
- var t = {};
- function n(i) {
- if (t[i]) return t[i].exports;
- var r = (t[i] = { i, l: !1, exports: {} });
- return e[i].call(r.exports, r, r.exports, n), (r.l = !0), r.exports;
- }
- (n.m = e),
- (n.c = t),
- (n.d = function (e, t, i) {
- n.o(e, t) ||
- Object.defineProperty(e, t, { enumerable: !0, get: i });
- }),
- (n.r = function (e) {
- 'undefined' != typeof Symbol &&
- Symbol.toStringTag &&
- Object.defineProperty(e, Symbol.toStringTag, {
- value: 'Module',
- }),
- Object.defineProperty(e, '__esModule', { value: !0 });
- }),
- (n.t = function (e, t) {
- if ((1 & t && (e = n(e)), 8 & t)) return e;
- if (4 & t && 'object' == typeof e && e && e.__esModule) return e;
- var i = Object.create(null);
- if (
- (n.r(i),
- Object.defineProperty(i, 'default', {
- enumerable: !0,
- value: e,
- }),
- 2 & t && 'string' != typeof e)
- )
- for (var r in e)
- n.d(
- i,
- r,
- function (t) {
- return e[t];
- }.bind(null, r)
- );
- return i;
- }),
- (n.n = function (e) {
- var t =
- e && e.__esModule
- ? function () {
- return e.default;
- }
- : function () {
- return e;
- };
- return n.d(t, 'a', t), t;
- }),
- (n.o = function (e, t) {
- return Object.prototype.hasOwnProperty.call(e, t);
- }),
- (n.p = ''),
- n((n.s = 15));
- })([
- ,
- ,
- function (e, t, n) {
- function i(e) {
- (this.__parent = e),
- (this.__character_count = 0),
- (this.__indent_count = -1),
- (this.__alignment_count = 0),
- (this.__wrap_point_index = 0),
- (this.__wrap_point_character_count = 0),
- (this.__wrap_point_indent_count = -1),
- (this.__wrap_point_alignment_count = 0),
- (this.__items = []);
- }
- function r(e, t) {
- (this.__cache = ['']),
- (this.__indent_size = e.indent_size),
- (this.__indent_string = e.indent_char),
- e.indent_with_tabs ||
- (this.__indent_string = new Array(e.indent_size + 1).join(
- e.indent_char
- )),
- (t = t || ''),
- e.indent_level > 0 &&
- (t = new Array(e.indent_level + 1).join(
- this.__indent_string
- )),
- (this.__base_string = t),
- (this.__base_string_length = t.length);
- }
- function a(e, t) {
- (this.__indent_cache = new r(e, t)),
- (this.raw = !1),
- (this._end_with_newline = e.end_with_newline),
- (this.indent_size = e.indent_size),
- (this.wrap_line_length = e.wrap_line_length),
- (this.indent_empty_lines = e.indent_empty_lines),
- (this.__lines = []),
- (this.previous_line = null),
- (this.current_line = null),
- (this.next_line = new i(this)),
- (this.space_before_token = !1),
- (this.non_breaking_space = !1),
- (this.previous_token_wrapped = !1),
- this.__add_outputline();
- }
- (i.prototype.clone_empty = function () {
- var e = new i(this.__parent);
- return (
- e.set_indent(this.__indent_count, this.__alignment_count), e
- );
- }),
- (i.prototype.item = function (e) {
- return e < 0
- ? this.__items[this.__items.length + e]
- : this.__items[e];
- }),
- (i.prototype.has_match = function (e) {
- for (var t = this.__items.length - 1; t >= 0; t--)
- if (this.__items[t].match(e)) return !0;
- return !1;
- }),
- (i.prototype.set_indent = function (e, t) {
- this.is_empty() &&
- ((this.__indent_count = e || 0),
- (this.__alignment_count = t || 0),
- (this.__character_count = this.__parent.get_indent_size(
- this.__indent_count,
- this.__alignment_count
- )));
- }),
- (i.prototype._set_wrap_point = function () {
- this.__parent.wrap_line_length &&
- ((this.__wrap_point_index = this.__items.length),
- (this.__wrap_point_character_count = this.__character_count),
- (this.__wrap_point_indent_count = this.__parent.next_line.__indent_count),
- (this.__wrap_point_alignment_count = this.__parent.next_line.__alignment_count));
- }),
- (i.prototype._should_wrap = function () {
- return (
- this.__wrap_point_index &&
- this.__character_count > this.__parent.wrap_line_length &&
- this.__wrap_point_character_count >
- this.__parent.next_line.__character_count
- );
- }),
- (i.prototype._allow_wrap = function () {
- if (this._should_wrap()) {
- this.__parent.add_new_line();
- var e = this.__parent.current_line;
- return (
- e.set_indent(
- this.__wrap_point_indent_count,
- this.__wrap_point_alignment_count
- ),
- (e.__items = this.__items.slice(this.__wrap_point_index)),
- (this.__items = this.__items.slice(
- 0,
- this.__wrap_point_index
- )),
- (e.__character_count +=
- this.__character_count -
- this.__wrap_point_character_count),
- (this.__character_count = this.__wrap_point_character_count),
- ' ' === e.__items[0] &&
- (e.__items.splice(0, 1), (e.__character_count -= 1)),
- !0
- );
- }
- return !1;
- }),
- (i.prototype.is_empty = function () {
- return 0 === this.__items.length;
- }),
- (i.prototype.last = function () {
- return this.is_empty()
- ? null
- : this.__items[this.__items.length - 1];
- }),
- (i.prototype.push = function (e) {
- this.__items.push(e);
- var t = e.lastIndexOf('\n');
- -1 !== t
- ? (this.__character_count = e.length - t)
- : (this.__character_count += e.length);
- }),
- (i.prototype.pop = function () {
- var e = null;
- return (
- this.is_empty() ||
- ((e = this.__items.pop()),
- (this.__character_count -= e.length)),
- e
- );
- }),
- (i.prototype._remove_indent = function () {
- this.__indent_count > 0 &&
- ((this.__indent_count -= 1),
- (this.__character_count -= this.__parent.indent_size));
- }),
- (i.prototype._remove_wrap_indent = function () {
- this.__wrap_point_indent_count > 0 &&
- (this.__wrap_point_indent_count -= 1);
- }),
- (i.prototype.trim = function () {
- for (; ' ' === this.last(); )
- this.__items.pop(), (this.__character_count -= 1);
- }),
- (i.prototype.toString = function () {
- var e = '';
- return (
- this.is_empty()
- ? this.__parent.indent_empty_lines &&
- (e = this.__parent.get_indent_string(this.__indent_count))
- : ((e = this.__parent.get_indent_string(
- this.__indent_count,
- this.__alignment_count
- )),
- (e += this.__items.join(''))),
- e
- );
- }),
- (r.prototype.get_indent_size = function (e, t) {
- var n = this.__base_string_length;
- return (
- (t = t || 0),
- e < 0 && (n = 0),
- (n += e * this.__indent_size) + t
- );
- }),
- (r.prototype.get_indent_string = function (e, t) {
- var n = this.__base_string;
- return (
- (t = t || 0),
- e < 0 && ((e = 0), (n = '')),
- (t += e * this.__indent_size),
- this.__ensure_cache(t),
- n + this.__cache[t]
- );
- }),
- (r.prototype.__ensure_cache = function (e) {
- for (; e >= this.__cache.length; ) this.__add_column();
- }),
- (r.prototype.__add_column = function () {
- var e = this.__cache.length,
- t = 0,
- n = '';
- this.__indent_size &&
- e >= this.__indent_size &&
- ((e -=
- (t = Math.floor(e / this.__indent_size)) *
- this.__indent_size),
- (n = new Array(t + 1).join(this.__indent_string))),
- e && (n += new Array(e + 1).join(' ')),
- this.__cache.push(n);
- }),
- (a.prototype.__add_outputline = function () {
- (this.previous_line = this.current_line),
- (this.current_line = this.next_line.clone_empty()),
- this.__lines.push(this.current_line);
- }),
- (a.prototype.get_line_number = function () {
- return this.__lines.length;
- }),
- (a.prototype.get_indent_string = function (e, t) {
- return this.__indent_cache.get_indent_string(e, t);
- }),
- (a.prototype.get_indent_size = function (e, t) {
- return this.__indent_cache.get_indent_size(e, t);
- }),
- (a.prototype.is_empty = function () {
- return !this.previous_line && this.current_line.is_empty();
- }),
- (a.prototype.add_new_line = function (e) {
- return !(
- this.is_empty() ||
- (!e && this.just_added_newline()) ||
- (this.raw || this.__add_outputline(), 0)
- );
- }),
- (a.prototype.get_code = function (e) {
- this.trim(!0);
- var t = this.current_line.pop();
- t &&
- ('\n' === t[t.length - 1] && (t = t.replace(/\n+$/g, '')),
- this.current_line.push(t)),
- this._end_with_newline && this.__add_outputline();
- var n = this.__lines.join('\n');
- return '\n' !== e && (n = n.replace(/[\n]/g, e)), n;
- }),
- (a.prototype.set_wrap_point = function () {
- this.current_line._set_wrap_point();
- }),
- (a.prototype.set_indent = function (e, t) {
- return (
- (e = e || 0),
- (t = t || 0),
- this.next_line.set_indent(e, t),
- this.__lines.length > 1
- ? (this.current_line.set_indent(e, t), !0)
- : (this.current_line.set_indent(), !1)
- );
- }),
- (a.prototype.add_raw_token = function (e) {
- for (var t = 0; t < e.newlines; t++) this.__add_outputline();
- this.current_line.set_indent(-1),
- this.current_line.push(e.whitespace_before),
- this.current_line.push(e.text),
- (this.space_before_token = !1),
- (this.non_breaking_space = !1),
- (this.previous_token_wrapped = !1);
- }),
- (a.prototype.add_token = function (e) {
- this.__add_space_before_token(),
- this.current_line.push(e),
- (this.space_before_token = !1),
- (this.non_breaking_space = !1),
- (this.previous_token_wrapped = this.current_line._allow_wrap());
- }),
- (a.prototype.__add_space_before_token = function () {
- this.space_before_token &&
- !this.just_added_newline() &&
- (this.non_breaking_space || this.set_wrap_point(),
- this.current_line.push(' '));
- }),
- (a.prototype.remove_indent = function (e) {
- for (var t = this.__lines.length; e < t; )
- this.__lines[e]._remove_indent(), e++;
- this.current_line._remove_wrap_indent();
- }),
- (a.prototype.trim = function (e) {
- for (
- e = void 0 !== e && e, this.current_line.trim();
- e && this.__lines.length > 1 && this.current_line.is_empty();
-
- )
- this.__lines.pop(),
- (this.current_line = this.__lines[this.__lines.length - 1]),
- this.current_line.trim();
- this.previous_line =
- this.__lines.length > 1
- ? this.__lines[this.__lines.length - 2]
- : null;
- }),
- (a.prototype.just_added_newline = function () {
- return this.current_line.is_empty();
- }),
- (a.prototype.just_added_blankline = function () {
- return (
- this.is_empty() ||
- (this.current_line.is_empty() &&
- this.previous_line.is_empty())
- );
- }),
- (a.prototype.ensure_empty_line_above = function (e, t) {
- for (var n = this.__lines.length - 2; n >= 0; ) {
- var r = this.__lines[n];
- if (r.is_empty()) break;
- if (0 !== r.item(0).indexOf(e) && r.item(-1) !== t) {
- this.__lines.splice(n + 1, 0, new i(this)),
- (this.previous_line = this.__lines[
- this.__lines.length - 2
- ]);
- break;
- }
- n--;
- }
- }),
- (e.exports.Output = a);
- },
- ,
- ,
- ,
- function (e, t, n) {
- function i(e, t) {
- (this.raw_options = r(e, t)),
- (this.disabled = this._get_boolean('disabled')),
- (this.eol = this._get_characters('eol', 'auto')),
- (this.end_with_newline = this._get_boolean('end_with_newline')),
- (this.indent_size = this._get_number('indent_size', 4)),
- (this.indent_char = this._get_characters('indent_char', ' ')),
- (this.indent_level = this._get_number('indent_level')),
- (this.preserve_newlines = this._get_boolean(
- 'preserve_newlines',
- !0
- )),
- (this.max_preserve_newlines = this._get_number(
- 'max_preserve_newlines',
- 32786
- )),
- this.preserve_newlines || (this.max_preserve_newlines = 0),
- (this.indent_with_tabs = this._get_boolean(
- 'indent_with_tabs',
- '\t' === this.indent_char
- )),
- this.indent_with_tabs &&
- ((this.indent_char = '\t'),
- 1 === this.indent_size && (this.indent_size = 4)),
- (this.wrap_line_length = this._get_number(
- 'wrap_line_length',
- this._get_number('max_char')
- )),
- (this.indent_empty_lines = this._get_boolean(
- 'indent_empty_lines'
- )),
- (this.templating = this._get_selection_list(
- 'templating',
- ['auto', 'none', 'django', 'erb', 'handlebars', 'php'],
- ['auto']
- ));
- }
- function r(e, t) {
- var n,
- i = {};
- for (n in (e = a(e))) n !== t && (i[n] = e[n]);
- if (t && e[t]) for (n in e[t]) i[n] = e[t][n];
- return i;
- }
- function a(e) {
- var t,
- n = {};
- for (t in e) n[t.replace(/-/g, '_')] = e[t];
- return n;
- }
- (i.prototype._get_array = function (e, t) {
- var n = this.raw_options[e],
- i = t || [];
- return (
- 'object' == typeof n
- ? null !== n &&
- 'function' == typeof n.concat &&
- (i = n.concat())
- : 'string' == typeof n && (i = n.split(/[^a-zA-Z0-9_\/\-]+/)),
- i
- );
- }),
- (i.prototype._get_boolean = function (e, t) {
- var n = this.raw_options[e];
- return void 0 === n ? !!t : !!n;
- }),
- (i.prototype._get_characters = function (e, t) {
- var n = this.raw_options[e],
- i = t || '';
- return (
- 'string' == typeof n &&
- (i = n
- .replace(/\\r/, '\r')
- .replace(/\\n/, '\n')
- .replace(/\\t/, '\t')),
- i
- );
- }),
- (i.prototype._get_number = function (e, t) {
- var n = this.raw_options[e];
- (t = parseInt(t, 10)), isNaN(t) && (t = 0);
- var i = parseInt(n, 10);
- return isNaN(i) && (i = t), i;
- }),
- (i.prototype._get_selection = function (e, t, n) {
- var i = this._get_selection_list(e, t, n);
- if (1 !== i.length)
- throw new Error(
- "Invalid Option Value: The option '" +
- e +
- "' can only be one of the following values:\n" +
- t +
- "\nYou passed in: '" +
- this.raw_options[e] +
- "'"
- );
- return i[0];
- }),
- (i.prototype._get_selection_list = function (e, t, n) {
- if (!t || 0 === t.length)
- throw new Error('Selection list cannot be empty.');
- if (((n = n || [t[0]]), !this._is_valid_selection(n, t)))
- throw new Error('Invalid Default Value!');
- var i = this._get_array(e, n);
- if (!this._is_valid_selection(i, t))
- throw new Error(
- "Invalid Option Value: The option '" +
- e +
- "' can contain only the following values:\n" +
- t +
- "\nYou passed in: '" +
- this.raw_options[e] +
- "'"
- );
- return i;
- }),
- (i.prototype._is_valid_selection = function (e, t) {
- return (
- e.length &&
- t.length &&
- !e.some(function (e) {
- return -1 === t.indexOf(e);
- })
- );
- }),
- (e.exports.Options = i),
- (e.exports.normalizeOpts = a),
- (e.exports.mergeOpts = r);
- },
- ,
- function (e, t, n) {
- var i = RegExp.prototype.hasOwnProperty('sticky');
- function r(e) {
- (this.__input = e || ''),
- (this.__input_length = this.__input.length),
- (this.__position = 0);
- }
- (r.prototype.restart = function () {
- this.__position = 0;
- }),
- (r.prototype.back = function () {
- this.__position > 0 && (this.__position -= 1);
- }),
- (r.prototype.hasNext = function () {
- return this.__position < this.__input_length;
- }),
- (r.prototype.next = function () {
- var e = null;
- return (
- this.hasNext() &&
- ((e = this.__input.charAt(this.__position)),
- (this.__position += 1)),
- e
- );
- }),
- (r.prototype.peek = function (e) {
- var t = null;
- return (
- (e = e || 0),
- (e += this.__position) >= 0 &&
- e < this.__input_length &&
- (t = this.__input.charAt(e)),
- t
- );
- }),
- (r.prototype.__match = function (e, t) {
- e.lastIndex = t;
- var n = e.exec(this.__input);
- return (
- !n || (i && e.sticky) || (n.index !== t && (n = null)), n
- );
- }),
- (r.prototype.test = function (e, t) {
- return (
- (t = t || 0),
- (t += this.__position) >= 0 &&
- t < this.__input_length &&
- !!this.__match(e, t)
- );
- }),
- (r.prototype.testChar = function (e, t) {
- var n = this.peek(t);
- return (e.lastIndex = 0), null !== n && e.test(n);
- }),
- (r.prototype.match = function (e) {
- var t = this.__match(e, this.__position);
- return t ? (this.__position += t[0].length) : (t = null), t;
- }),
- (r.prototype.read = function (e, t, n) {
- var i,
- r = '';
- return (
- e && (i = this.match(e)) && (r += i[0]),
- !t || (!i && e) || (r += this.readUntil(t, n)),
- r
- );
- }),
- (r.prototype.readUntil = function (e, t) {
- var n,
- i = this.__position;
- e.lastIndex = this.__position;
- var r = e.exec(this.__input);
- return (
- r
- ? ((i = r.index), t && (i += r[0].length))
- : (i = this.__input_length),
- (n = this.__input.substring(this.__position, i)),
- (this.__position = i),
- n
- );
- }),
- (r.prototype.readUntilAfter = function (e) {
- return this.readUntil(e, !0);
- }),
- (r.prototype.get_regexp = function (e, t) {
- var n = null,
- r = 'g';
- return (
- t && i && (r = 'y'),
- 'string' == typeof e && '' !== e
- ? (n = new RegExp(e, r))
- : e && (n = new RegExp(e.source, r)),
- n
- );
- }),
- (r.prototype.get_literal_regexp = function (e) {
- return RegExp(e.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&'));
- }),
- (r.prototype.peekUntilAfter = function (e) {
- var t = this.__position,
- n = this.readUntilAfter(e);
- return (this.__position = t), n;
- }),
- (r.prototype.lookBack = function (e) {
- var t = this.__position - 1;
- return (
- t >= e.length &&
- this.__input.substring(t - e.length, t).toLowerCase() === e
- );
- }),
- (e.exports.InputScanner = r);
- },
- ,
- ,
- ,
- ,
- function (e, t, n) {
- function i(e, t) {
- (e = 'string' == typeof e ? e : e.source),
- (t = 'string' == typeof t ? t : t.source),
- (this.__directives_block_pattern = new RegExp(
- e + / beautify( \w+[:]\w+)+ /.source + t,
- 'g'
- )),
- (this.__directive_pattern = / (\w+)[:](\w+)/g),
- (this.__directives_end_ignore_pattern = new RegExp(
- e + /\sbeautify\signore:end\s/.source + t,
- 'g'
- ));
- }
- (i.prototype.get_directives = function (e) {
- if (!e.match(this.__directives_block_pattern)) return null;
- var t = {};
- this.__directive_pattern.lastIndex = 0;
- for (var n = this.__directive_pattern.exec(e); n; )
- (t[n[1]] = n[2]), (n = this.__directive_pattern.exec(e));
- return t;
- }),
- (i.prototype.readIgnored = function (e) {
- return e.readUntilAfter(this.__directives_end_ignore_pattern);
- }),
- (e.exports.Directives = i);
- },
- ,
- function (e, t, n) {
- var i = n(16).Beautifier,
- r = n(17).Options;
- (e.exports = function (e, t) {
- return new i(e, t).beautify();
- }),
- (e.exports.defaultOptions = function () {
- return new r();
- });
- },
- function (e, t, n) {
- var i = n(17).Options,
- r = n(2).Output,
- a = n(8).InputScanner,
- o = new (0, n(13).Directives)(/\/\*/, /\*\//),
- s = /\r\n|[\r\n]/,
- l = /\r\n|[\r\n]/g,
- c = /\s/,
- h = /(?:\s|\n)+/g,
- d = /\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,
- u = /\/\/(?:[^\n\r\u2028\u2029]*)/g;
- function p(e, t) {
- (this._source_text = e || ''),
- (this._options = new i(t)),
- (this._ch = null),
- (this._input = null),
- (this.NESTED_AT_RULE = {
- '@page': !0,
- '@font-face': !0,
- '@keyframes': !0,
- '@media': !0,
- '@supports': !0,
- '@document': !0,
- }),
- (this.CONDITIONAL_GROUP_RULE = {
- '@media': !0,
- '@supports': !0,
- '@document': !0,
- });
- }
- (p.prototype.eatString = function (e) {
- var t = '';
- for (this._ch = this._input.next(); this._ch; ) {
- if (((t += this._ch), '\\' === this._ch))
- t += this._input.next();
- else if (-1 !== e.indexOf(this._ch) || '\n' === this._ch) break;
- this._ch = this._input.next();
- }
- return t;
- }),
- (p.prototype.eatWhitespace = function (e) {
- for (
- var t = c.test(this._input.peek()), n = !0;
- c.test(this._input.peek());
-
- )
- (this._ch = this._input.next()),
- e &&
- '\n' === this._ch &&
- (this._options.preserve_newlines || n) &&
- ((n = !1), this._output.add_new_line(!0));
- return t;
- }),
- (p.prototype.foundNestedPseudoClass = function () {
- for (var e = 0, t = 1, n = this._input.peek(t); n; ) {
- if ('{' === n) return !0;
- if ('(' === n) e += 1;
- else if (')' === n) {
- if (0 === e) return !1;
- e -= 1;
- } else if (';' === n || '}' === n) return !1;
- t++, (n = this._input.peek(t));
- }
- return !1;
- }),
- (p.prototype.print_string = function (e) {
- this._output.set_indent(this._indentLevel),
- (this._output.non_breaking_space = !0),
- this._output.add_token(e);
- }),
- (p.prototype.preserveSingleSpace = function (e) {
- e && (this._output.space_before_token = !0);
- }),
- (p.prototype.indent = function () {
- this._indentLevel++;
- }),
- (p.prototype.outdent = function () {
- this._indentLevel > 0 && this._indentLevel--;
- }),
- (p.prototype.beautify = function () {
- if (this._options.disabled) return this._source_text;
- var e = this._source_text,
- t = this._options.eol;
- 'auto' === t &&
- ((t = '\n'), e && s.test(e || '') && (t = e.match(s)[0]));
- var n = (e = e.replace(l, '\n')).match(/^[\t ]*/)[0];
- (this._output = new r(this._options, n)),
- (this._input = new a(e)),
- (this._indentLevel = 0),
- (this._nestedLevel = 0),
- (this._ch = null);
- for (
- var i,
- p,
- m = 0,
- f = !1,
- g = !1,
- b = !1,
- _ = !1,
- w = !1,
- v = this._ch;
- (i = '' !== this._input.read(h)),
- (p = v),
- (this._ch = this._input.next()),
- '\\' === this._ch &&
- this._input.hasNext() &&
- (this._ch += this._input.next()),
- (v = this._ch),
- this._ch;
-
- )
- if ('/' === this._ch && '*' === this._input.peek()) {
- this._output.add_new_line(), this._input.back();
- var y = this._input.read(d),
- T = o.get_directives(y);
- T &&
- 'start' === T.ignore &&
- (y += o.readIgnored(this._input)),
- this.print_string(y),
- this.eatWhitespace(!0),
- this._output.add_new_line();
- } else if ('/' === this._ch && '/' === this._input.peek())
- (this._output.space_before_token = !0),
- this._input.back(),
- this.print_string(this._input.read(u)),
- this.eatWhitespace(!0);
- else if ('@' === this._ch)
- if (
- (this.preserveSingleSpace(i), '{' === this._input.peek())
- )
- this.print_string(this._ch + this.eatString('}'));
- else {
- this.print_string(this._ch);
- var k = this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);
- k.match(/[ :]$/) &&
- ((k = this.eatString(': ').replace(/\s$/, '')),
- this.print_string(k),
- (this._output.space_before_token = !0)),
- 'extend' === (k = k.replace(/\s$/, ''))
- ? (_ = !0)
- : 'import' === k && (w = !0),
- k in this.NESTED_AT_RULE
- ? ((this._nestedLevel += 1),
- k in this.CONDITIONAL_GROUP_RULE && (b = !0))
- : f ||
- 0 !== m ||
- -1 === k.indexOf(':') ||
- ((g = !0), this.indent());
- }
- else
- '#' === this._ch && '{' === this._input.peek()
- ? (this.preserveSingleSpace(i),
- this.print_string(this._ch + this.eatString('}')))
- : '{' === this._ch
- ? (g && ((g = !1), this.outdent()),
- this.indent(),
- (this._output.space_before_token = !0),
- this.print_string(this._ch),
- b
- ? ((b = !1),
- (f = this._indentLevel > this._nestedLevel))
- : (f = this._indentLevel >= this._nestedLevel),
- this._options.newline_between_rules &&
- f &&
- this._output.previous_line &&
- '{' !== this._output.previous_line.item(-1) &&
- this._output.ensure_empty_line_above('/', ','),
- this.eatWhitespace(!0),
- this._output.add_new_line())
- : '}' === this._ch
- ? (this.outdent(),
- this._output.add_new_line(),
- '{' === p && this._output.trim(!0),
- (w = !1),
- (_ = !1),
- g && (this.outdent(), (g = !1)),
- this.print_string(this._ch),
- (f = !1),
- this._nestedLevel && this._nestedLevel--,
- this.eatWhitespace(!0),
- this._output.add_new_line(),
- this._options.newline_between_rules &&
- !this._output.just_added_blankline() &&
- '}' !== this._input.peek() &&
- this._output.add_new_line(!0))
- : ':' === this._ch
- ? (!f && !b) ||
- this._input.lookBack('&') ||
- this.foundNestedPseudoClass() ||
- this._input.lookBack('(') ||
- _ ||
- 0 !== m
- ? (this._input.lookBack(' ') &&
- (this._output.space_before_token = !0),
- ':' === this._input.peek()
- ? ((this._ch = this._input.next()),
- this.print_string('::'))
- : this.print_string(':'))
- : (this.print_string(':'),
- g ||
- ((g = !0),
- (this._output.space_before_token = !0),
- this.eatWhitespace(!0),
- this.indent()))
- : '"' === this._ch || "'" === this._ch
- ? (this.preserveSingleSpace(i),
- this.print_string(this._ch + this.eatString(this._ch)),
- this.eatWhitespace(!0))
- : ';' === this._ch
- ? 0 === m
- ? (g && (this.outdent(), (g = !1)),
- (_ = !1),
- (w = !1),
- this.print_string(this._ch),
- this.eatWhitespace(!0),
- '/' !== this._input.peek() &&
- this._output.add_new_line())
- : (this.print_string(this._ch),
- this.eatWhitespace(!0),
- (this._output.space_before_token = !0))
- : '(' === this._ch
- ? this._input.lookBack('url')
- ? (this.print_string(this._ch),
- this.eatWhitespace(),
- m++,
- this.indent(),
- (this._ch = this._input.next()),
- ')' === this._ch ||
- '"' === this._ch ||
- "'" === this._ch
- ? this._input.back()
- : this._ch &&
- (this.print_string(
- this._ch + this.eatString(')')
- ),
- m && (m--, this.outdent())))
- : (this.preserveSingleSpace(i),
- this.print_string(this._ch),
- this.eatWhitespace(),
- m++,
- this.indent())
- : ')' === this._ch
- ? (m && (m--, this.outdent()),
- this.print_string(this._ch))
- : ',' === this._ch
- ? (this.print_string(this._ch),
- this.eatWhitespace(!0),
- !this._options.selector_separator_newline ||
- g ||
- 0 !== m ||
- w
- ? (this._output.space_before_token = !0)
- : this._output.add_new_line())
- : ('>' !== this._ch &&
- '+' !== this._ch &&
- '~' !== this._ch) ||
- g ||
- 0 !== m
- ? ']' === this._ch
- ? this.print_string(this._ch)
- : '[' === this._ch
- ? (this.preserveSingleSpace(i),
- this.print_string(this._ch))
- : '=' === this._ch
- ? (this.eatWhitespace(),
- this.print_string('='),
- c.test(this._ch) && (this._ch = ''))
- : '!' !== this._ch || this._input.lookBack('\\')
- ? (this.preserveSingleSpace(i),
- this.print_string(this._ch))
- : (this.print_string(' '), this.print_string(this._ch))
- : this._options.space_around_combinator
- ? ((this._output.space_before_token = !0),
- this.print_string(this._ch),
- (this._output.space_before_token = !0))
- : (this.print_string(this._ch),
- this.eatWhitespace(),
- this._ch && c.test(this._ch) && (this._ch = ''));
- return this._output.get_code(t);
- }),
- (e.exports.Beautifier = p);
- },
- function (e, t, n) {
- var i = n(6).Options;
- function r(e) {
- i.call(this, e, 'css'),
- (this.selector_separator_newline = this._get_boolean(
- 'selector_separator_newline',
- !0
- )),
- (this.newline_between_rules = this._get_boolean(
- 'newline_between_rules',
- !0
- ));
- var t = this._get_boolean('space_around_selector_separator');
- this.space_around_combinator =
- this._get_boolean('space_around_combinator') || t;
- }
- (r.prototype = new i()), (e.exports.Options = r);
- },
- ]),
- (function (e) {
- var t = {};
- function n(i) {
- if (t[i]) return t[i].exports;
- var r = (t[i] = { i, l: !1, exports: {} });
- return e[i].call(r.exports, r, r.exports, n), (r.l = !0), r.exports;
- }
- (n.m = e),
- (n.c = t),
- (n.d = function (e, t, i) {
- n.o(e, t) ||
- Object.defineProperty(e, t, { enumerable: !0, get: i });
- }),
- (n.r = function (e) {
- 'undefined' != typeof Symbol &&
- Symbol.toStringTag &&
- Object.defineProperty(e, Symbol.toStringTag, {
- value: 'Module',
- }),
- Object.defineProperty(e, '__esModule', { value: !0 });
- }),
- (n.t = function (e, t) {
- if ((1 & t && (e = n(e)), 8 & t)) return e;
- if (4 & t && 'object' == typeof e && e && e.__esModule) return e;
- var i = Object.create(null);
- if (
- (n.r(i),
- Object.defineProperty(i, 'default', {
- enumerable: !0,
- value: e,
- }),
- 2 & t && 'string' != typeof e)
- )
- for (var r in e)
- n.d(
- i,
- r,
- function (t) {
- return e[t];
- }.bind(null, r)
- );
- return i;
- }),
- (n.n = function (e) {
- var t =
- e && e.__esModule
- ? function () {
- return e.default;
- }
- : function () {
- return e;
- };
- return n.d(t, 'a', t), t;
- }),
- (n.o = function (e, t) {
- return Object.prototype.hasOwnProperty.call(e, t);
- }),
- (n.p = ''),
- n((n.s = 18));
- })([
- ,
- ,
- function (e, t, n) {
- function i(e) {
- (this.__parent = e),
- (this.__character_count = 0),
- (this.__indent_count = -1),
- (this.__alignment_count = 0),
- (this.__wrap_point_index = 0),
- (this.__wrap_point_character_count = 0),
- (this.__wrap_point_indent_count = -1),
- (this.__wrap_point_alignment_count = 0),
- (this.__items = []);
- }
- function r(e, t) {
- (this.__cache = ['']),
- (this.__indent_size = e.indent_size),
- (this.__indent_string = e.indent_char),
- e.indent_with_tabs ||
- (this.__indent_string = new Array(e.indent_size + 1).join(
- e.indent_char
- )),
- (t = t || ''),
- e.indent_level > 0 &&
- (t = new Array(e.indent_level + 1).join(
- this.__indent_string
- )),
- (this.__base_string = t),
- (this.__base_string_length = t.length);
- }
- function a(e, t) {
- (this.__indent_cache = new r(e, t)),
- (this.raw = !1),
- (this._end_with_newline = e.end_with_newline),
- (this.indent_size = e.indent_size),
- (this.wrap_line_length = e.wrap_line_length),
- (this.indent_empty_lines = e.indent_empty_lines),
- (this.__lines = []),
- (this.previous_line = null),
- (this.current_line = null),
- (this.next_line = new i(this)),
- (this.space_before_token = !1),
- (this.non_breaking_space = !1),
- (this.previous_token_wrapped = !1),
- this.__add_outputline();
- }
- (i.prototype.clone_empty = function () {
- var e = new i(this.__parent);
- return (
- e.set_indent(this.__indent_count, this.__alignment_count), e
- );
- }),
- (i.prototype.item = function (e) {
- return e < 0
- ? this.__items[this.__items.length + e]
- : this.__items[e];
- }),
- (i.prototype.has_match = function (e) {
- for (var t = this.__items.length - 1; t >= 0; t--)
- if (this.__items[t].match(e)) return !0;
- return !1;
- }),
- (i.prototype.set_indent = function (e, t) {
- this.is_empty() &&
- ((this.__indent_count = e || 0),
- (this.__alignment_count = t || 0),
- (this.__character_count = this.__parent.get_indent_size(
- this.__indent_count,
- this.__alignment_count
- )));
- }),
- (i.prototype._set_wrap_point = function () {
- this.__parent.wrap_line_length &&
- ((this.__wrap_point_index = this.__items.length),
- (this.__wrap_point_character_count = this.__character_count),
- (this.__wrap_point_indent_count = this.__parent.next_line.__indent_count),
- (this.__wrap_point_alignment_count = this.__parent.next_line.__alignment_count));
- }),
- (i.prototype._should_wrap = function () {
- return (
- this.__wrap_point_index &&
- this.__character_count > this.__parent.wrap_line_length &&
- this.__wrap_point_character_count >
- this.__parent.next_line.__character_count
- );
- }),
- (i.prototype._allow_wrap = function () {
- if (this._should_wrap()) {
- this.__parent.add_new_line();
- var e = this.__parent.current_line;
- return (
- e.set_indent(
- this.__wrap_point_indent_count,
- this.__wrap_point_alignment_count
- ),
- (e.__items = this.__items.slice(this.__wrap_point_index)),
- (this.__items = this.__items.slice(
- 0,
- this.__wrap_point_index
- )),
- (e.__character_count +=
- this.__character_count -
- this.__wrap_point_character_count),
- (this.__character_count = this.__wrap_point_character_count),
- ' ' === e.__items[0] &&
- (e.__items.splice(0, 1), (e.__character_count -= 1)),
- !0
- );
- }
- return !1;
- }),
- (i.prototype.is_empty = function () {
- return 0 === this.__items.length;
- }),
- (i.prototype.last = function () {
- return this.is_empty()
- ? null
- : this.__items[this.__items.length - 1];
- }),
- (i.prototype.push = function (e) {
- this.__items.push(e);
- var t = e.lastIndexOf('\n');
- -1 !== t
- ? (this.__character_count = e.length - t)
- : (this.__character_count += e.length);
- }),
- (i.prototype.pop = function () {
- var e = null;
- return (
- this.is_empty() ||
- ((e = this.__items.pop()),
- (this.__character_count -= e.length)),
- e
- );
- }),
- (i.prototype._remove_indent = function () {
- this.__indent_count > 0 &&
- ((this.__indent_count -= 1),
- (this.__character_count -= this.__parent.indent_size));
- }),
- (i.prototype._remove_wrap_indent = function () {
- this.__wrap_point_indent_count > 0 &&
- (this.__wrap_point_indent_count -= 1);
- }),
- (i.prototype.trim = function () {
- for (; ' ' === this.last(); )
- this.__items.pop(), (this.__character_count -= 1);
- }),
- (i.prototype.toString = function () {
- var e = '';
- return (
- this.is_empty()
- ? this.__parent.indent_empty_lines &&
- (e = this.__parent.get_indent_string(this.__indent_count))
- : ((e = this.__parent.get_indent_string(
- this.__indent_count,
- this.__alignment_count
- )),
- (e += this.__items.join(''))),
- e
- );
- }),
- (r.prototype.get_indent_size = function (e, t) {
- var n = this.__base_string_length;
- return (
- (t = t || 0),
- e < 0 && (n = 0),
- (n += e * this.__indent_size) + t
- );
- }),
- (r.prototype.get_indent_string = function (e, t) {
- var n = this.__base_string;
- return (
- (t = t || 0),
- e < 0 && ((e = 0), (n = '')),
- (t += e * this.__indent_size),
- this.__ensure_cache(t),
- n + this.__cache[t]
- );
- }),
- (r.prototype.__ensure_cache = function (e) {
- for (; e >= this.__cache.length; ) this.__add_column();
- }),
- (r.prototype.__add_column = function () {
- var e = this.__cache.length,
- t = 0,
- n = '';
- this.__indent_size &&
- e >= this.__indent_size &&
- ((e -=
- (t = Math.floor(e / this.__indent_size)) *
- this.__indent_size),
- (n = new Array(t + 1).join(this.__indent_string))),
- e && (n += new Array(e + 1).join(' ')),
- this.__cache.push(n);
- }),
- (a.prototype.__add_outputline = function () {
- (this.previous_line = this.current_line),
- (this.current_line = this.next_line.clone_empty()),
- this.__lines.push(this.current_line);
- }),
- (a.prototype.get_line_number = function () {
- return this.__lines.length;
- }),
- (a.prototype.get_indent_string = function (e, t) {
- return this.__indent_cache.get_indent_string(e, t);
- }),
- (a.prototype.get_indent_size = function (e, t) {
- return this.__indent_cache.get_indent_size(e, t);
- }),
- (a.prototype.is_empty = function () {
- return !this.previous_line && this.current_line.is_empty();
- }),
- (a.prototype.add_new_line = function (e) {
- return !(
- this.is_empty() ||
- (!e && this.just_added_newline()) ||
- (this.raw || this.__add_outputline(), 0)
- );
- }),
- (a.prototype.get_code = function (e) {
- this.trim(!0);
- var t = this.current_line.pop();
- t &&
- ('\n' === t[t.length - 1] && (t = t.replace(/\n+$/g, '')),
- this.current_line.push(t)),
- this._end_with_newline && this.__add_outputline();
- var n = this.__lines.join('\n');
- return '\n' !== e && (n = n.replace(/[\n]/g, e)), n;
- }),
- (a.prototype.set_wrap_point = function () {
- this.current_line._set_wrap_point();
- }),
- (a.prototype.set_indent = function (e, t) {
- return (
- (e = e || 0),
- (t = t || 0),
- this.next_line.set_indent(e, t),
- this.__lines.length > 1
- ? (this.current_line.set_indent(e, t), !0)
- : (this.current_line.set_indent(), !1)
- );
- }),
- (a.prototype.add_raw_token = function (e) {
- for (var t = 0; t < e.newlines; t++) this.__add_outputline();
- this.current_line.set_indent(-1),
- this.current_line.push(e.whitespace_before),
- this.current_line.push(e.text),
- (this.space_before_token = !1),
- (this.non_breaking_space = !1),
- (this.previous_token_wrapped = !1);
- }),
- (a.prototype.add_token = function (e) {
- this.__add_space_before_token(),
- this.current_line.push(e),
- (this.space_before_token = !1),
- (this.non_breaking_space = !1),
- (this.previous_token_wrapped = this.current_line._allow_wrap());
- }),
- (a.prototype.__add_space_before_token = function () {
- this.space_before_token &&
- !this.just_added_newline() &&
- (this.non_breaking_space || this.set_wrap_point(),
- this.current_line.push(' '));
- }),
- (a.prototype.remove_indent = function (e) {
- for (var t = this.__lines.length; e < t; )
- this.__lines[e]._remove_indent(), e++;
- this.current_line._remove_wrap_indent();
- }),
- (a.prototype.trim = function (e) {
- for (
- e = void 0 !== e && e, this.current_line.trim();
- e && this.__lines.length > 1 && this.current_line.is_empty();
-
- )
- this.__lines.pop(),
- (this.current_line = this.__lines[this.__lines.length - 1]),
- this.current_line.trim();
- this.previous_line =
- this.__lines.length > 1
- ? this.__lines[this.__lines.length - 2]
- : null;
- }),
- (a.prototype.just_added_newline = function () {
- return this.current_line.is_empty();
- }),
- (a.prototype.just_added_blankline = function () {
- return (
- this.is_empty() ||
- (this.current_line.is_empty() &&
- this.previous_line.is_empty())
- );
- }),
- (a.prototype.ensure_empty_line_above = function (e, t) {
- for (var n = this.__lines.length - 2; n >= 0; ) {
- var r = this.__lines[n];
- if (r.is_empty()) break;
- if (0 !== r.item(0).indexOf(e) && r.item(-1) !== t) {
- this.__lines.splice(n + 1, 0, new i(this)),
- (this.previous_line = this.__lines[
- this.__lines.length - 2
- ]);
- break;
- }
- n--;
- }
- }),
- (e.exports.Output = a);
- },
- function (e, t, n) {
- e.exports.Token = function (e, t, n, i) {
- (this.type = e),
- (this.text = t),
- (this.comments_before = null),
- (this.newlines = n || 0),
- (this.whitespace_before = i || ''),
- (this.parent = null),
- (this.next = null),
- (this.previous = null),
- (this.opened = null),
- (this.closed = null),
- (this.directives = null);
- };
- },
- ,
- ,
- function (e, t, n) {
- function i(e, t) {
- (this.raw_options = r(e, t)),
- (this.disabled = this._get_boolean('disabled')),
- (this.eol = this._get_characters('eol', 'auto')),
- (this.end_with_newline = this._get_boolean('end_with_newline')),
- (this.indent_size = this._get_number('indent_size', 4)),
- (this.indent_char = this._get_characters('indent_char', ' ')),
- (this.indent_level = this._get_number('indent_level')),
- (this.preserve_newlines = this._get_boolean(
- 'preserve_newlines',
- !0
- )),
- (this.max_preserve_newlines = this._get_number(
- 'max_preserve_newlines',
- 32786
- )),
- this.preserve_newlines || (this.max_preserve_newlines = 0),
- (this.indent_with_tabs = this._get_boolean(
- 'indent_with_tabs',
- '\t' === this.indent_char
- )),
- this.indent_with_tabs &&
- ((this.indent_char = '\t'),
- 1 === this.indent_size && (this.indent_size = 4)),
- (this.wrap_line_length = this._get_number(
- 'wrap_line_length',
- this._get_number('max_char')
- )),
- (this.indent_empty_lines = this._get_boolean(
- 'indent_empty_lines'
- )),
- (this.templating = this._get_selection_list(
- 'templating',
- ['auto', 'none', 'django', 'erb', 'handlebars', 'php'],
- ['auto']
- ));
- }
- function r(e, t) {
- var n,
- i = {};
- for (n in (e = a(e))) n !== t && (i[n] = e[n]);
- if (t && e[t]) for (n in e[t]) i[n] = e[t][n];
- return i;
- }
- function a(e) {
- var t,
- n = {};
- for (t in e) n[t.replace(/-/g, '_')] = e[t];
- return n;
- }
- (i.prototype._get_array = function (e, t) {
- var n = this.raw_options[e],
- i = t || [];
- return (
- 'object' == typeof n
- ? null !== n &&
- 'function' == typeof n.concat &&
- (i = n.concat())
- : 'string' == typeof n && (i = n.split(/[^a-zA-Z0-9_\/\-]+/)),
- i
- );
- }),
- (i.prototype._get_boolean = function (e, t) {
- var n = this.raw_options[e];
- return void 0 === n ? !!t : !!n;
- }),
- (i.prototype._get_characters = function (e, t) {
- var n = this.raw_options[e],
- i = t || '';
- return (
- 'string' == typeof n &&
- (i = n
- .replace(/\\r/, '\r')
- .replace(/\\n/, '\n')
- .replace(/\\t/, '\t')),
- i
- );
- }),
- (i.prototype._get_number = function (e, t) {
- var n = this.raw_options[e];
- (t = parseInt(t, 10)), isNaN(t) && (t = 0);
- var i = parseInt(n, 10);
- return isNaN(i) && (i = t), i;
- }),
- (i.prototype._get_selection = function (e, t, n) {
- var i = this._get_selection_list(e, t, n);
- if (1 !== i.length)
- throw new Error(
- "Invalid Option Value: The option '" +
- e +
- "' can only be one of the following values:\n" +
- t +
- "\nYou passed in: '" +
- this.raw_options[e] +
- "'"
- );
- return i[0];
- }),
- (i.prototype._get_selection_list = function (e, t, n) {
- if (!t || 0 === t.length)
- throw new Error('Selection list cannot be empty.');
- if (((n = n || [t[0]]), !this._is_valid_selection(n, t)))
- throw new Error('Invalid Default Value!');
- var i = this._get_array(e, n);
- if (!this._is_valid_selection(i, t))
- throw new Error(
- "Invalid Option Value: The option '" +
- e +
- "' can contain only the following values:\n" +
- t +
- "\nYou passed in: '" +
- this.raw_options[e] +
- "'"
- );
- return i;
- }),
- (i.prototype._is_valid_selection = function (e, t) {
- return (
- e.length &&
- t.length &&
- !e.some(function (e) {
- return -1 === t.indexOf(e);
- })
- );
- }),
- (e.exports.Options = i),
- (e.exports.normalizeOpts = a),
- (e.exports.mergeOpts = r);
- },
- ,
- function (e, t, n) {
- var i = RegExp.prototype.hasOwnProperty('sticky');
- function r(e) {
- (this.__input = e || ''),
- (this.__input_length = this.__input.length),
- (this.__position = 0);
- }
- (r.prototype.restart = function () {
- this.__position = 0;
- }),
- (r.prototype.back = function () {
- this.__position > 0 && (this.__position -= 1);
- }),
- (r.prototype.hasNext = function () {
- return this.__position < this.__input_length;
- }),
- (r.prototype.next = function () {
- var e = null;
- return (
- this.hasNext() &&
- ((e = this.__input.charAt(this.__position)),
- (this.__position += 1)),
- e
- );
- }),
- (r.prototype.peek = function (e) {
- var t = null;
- return (
- (e = e || 0),
- (e += this.__position) >= 0 &&
- e < this.__input_length &&
- (t = this.__input.charAt(e)),
- t
- );
- }),
- (r.prototype.__match = function (e, t) {
- e.lastIndex = t;
- var n = e.exec(this.__input);
- return (
- !n || (i && e.sticky) || (n.index !== t && (n = null)), n
- );
- }),
- (r.prototype.test = function (e, t) {
- return (
- (t = t || 0),
- (t += this.__position) >= 0 &&
- t < this.__input_length &&
- !!this.__match(e, t)
- );
- }),
- (r.prototype.testChar = function (e, t) {
- var n = this.peek(t);
- return (e.lastIndex = 0), null !== n && e.test(n);
- }),
- (r.prototype.match = function (e) {
- var t = this.__match(e, this.__position);
- return t ? (this.__position += t[0].length) : (t = null), t;
- }),
- (r.prototype.read = function (e, t, n) {
- var i,
- r = '';
- return (
- e && (i = this.match(e)) && (r += i[0]),
- !t || (!i && e) || (r += this.readUntil(t, n)),
- r
- );
- }),
- (r.prototype.readUntil = function (e, t) {
- var n,
- i = this.__position;
- e.lastIndex = this.__position;
- var r = e.exec(this.__input);
- return (
- r
- ? ((i = r.index), t && (i += r[0].length))
- : (i = this.__input_length),
- (n = this.__input.substring(this.__position, i)),
- (this.__position = i),
- n
- );
- }),
- (r.prototype.readUntilAfter = function (e) {
- return this.readUntil(e, !0);
- }),
- (r.prototype.get_regexp = function (e, t) {
- var n = null,
- r = 'g';
- return (
- t && i && (r = 'y'),
- 'string' == typeof e && '' !== e
- ? (n = new RegExp(e, r))
- : e && (n = new RegExp(e.source, r)),
- n
- );
- }),
- (r.prototype.get_literal_regexp = function (e) {
- return RegExp(e.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&'));
- }),
- (r.prototype.peekUntilAfter = function (e) {
- var t = this.__position,
- n = this.readUntilAfter(e);
- return (this.__position = t), n;
- }),
- (r.prototype.lookBack = function (e) {
- var t = this.__position - 1;
- return (
- t >= e.length &&
- this.__input.substring(t - e.length, t).toLowerCase() === e
- );
- }),
- (e.exports.InputScanner = r);
- },
- function (e, t, n) {
- var i = n(8).InputScanner,
- r = n(3).Token,
- a = n(10).TokenStream,
- o = n(11).WhitespacePattern,
- s = { START: 'TK_START', RAW: 'TK_RAW', EOF: 'TK_EOF' },
- l = function (e, t) {
- (this._input = new i(e)),
- (this._options = t || {}),
- (this.__tokens = null),
- (this._patterns = {}),
- (this._patterns.whitespace = new o(this._input));
- };
- (l.prototype.tokenize = function () {
- var e;
- this._input.restart(), (this.__tokens = new a()), this._reset();
- for (
- var t = new r(s.START, ''), n = null, i = [], o = new a();
- t.type !== s.EOF;
-
- ) {
- for (e = this._get_next_token(t, n); this._is_comment(e); )
- o.add(e), (e = this._get_next_token(t, n));
- o.isEmpty() || ((e.comments_before = o), (o = new a())),
- (e.parent = n),
- this._is_opening(e)
- ? (i.push(n), (n = e))
- : n &&
- this._is_closing(e, n) &&
- ((e.opened = n),
- (n.closed = e),
- (n = i.pop()),
- (e.parent = n)),
- (e.previous = t),
- (t.next = e),
- this.__tokens.add(e),
- (t = e);
- }
- return this.__tokens;
- }),
- (l.prototype._is_first_token = function () {
- return this.__tokens.isEmpty();
- }),
- (l.prototype._reset = function () {}),
- (l.prototype._get_next_token = function (e, t) {
- this._readWhitespace();
- var n = this._input.read(/.+/g);
- return n
- ? this._create_token(s.RAW, n)
- : this._create_token(s.EOF, '');
- }),
- (l.prototype._is_comment = function (e) {
- return !1;
- }),
- (l.prototype._is_opening = function (e) {
- return !1;
- }),
- (l.prototype._is_closing = function (e, t) {
- return !1;
- }),
- (l.prototype._create_token = function (e, t) {
- return new r(
- e,
- t,
- this._patterns.whitespace.newline_count,
- this._patterns.whitespace.whitespace_before_token
- );
- }),
- (l.prototype._readWhitespace = function () {
- return this._patterns.whitespace.read();
- }),
- (e.exports.Tokenizer = l),
- (e.exports.TOKEN = s);
- },
- function (e, t, n) {
- function i(e) {
- (this.__tokens = []),
- (this.__tokens_length = this.__tokens.length),
- (this.__position = 0),
- (this.__parent_token = e);
- }
- (i.prototype.restart = function () {
- this.__position = 0;
- }),
- (i.prototype.isEmpty = function () {
- return 0 === this.__tokens_length;
- }),
- (i.prototype.hasNext = function () {
- return this.__position < this.__tokens_length;
- }),
- (i.prototype.next = function () {
- var e = null;
- return (
- this.hasNext() &&
- ((e = this.__tokens[this.__position]),
- (this.__position += 1)),
- e
- );
- }),
- (i.prototype.peek = function (e) {
- var t = null;
- return (
- (e = e || 0),
- (e += this.__position) >= 0 &&
- e < this.__tokens_length &&
- (t = this.__tokens[e]),
- t
- );
- }),
- (i.prototype.add = function (e) {
- this.__parent_token && (e.parent = this.__parent_token),
- this.__tokens.push(e),
- (this.__tokens_length += 1);
- }),
- (e.exports.TokenStream = i);
- },
- function (e, t, n) {
- var i = n(12).Pattern;
- function r(e, t) {
- i.call(this, e, t),
- t
- ? (this._line_regexp = this._input.get_regexp(t._line_regexp))
- : this.__set_whitespace_patterns('', ''),
- (this.newline_count = 0),
- (this.whitespace_before_token = '');
- }
- (r.prototype = new i()),
- (r.prototype.__set_whitespace_patterns = function (e, t) {
- (e += '\\t '),
- (t += '\\n\\r'),
- (this._match_pattern = this._input.get_regexp(
- '[' + e + t + ']+',
- !0
- )),
- (this._newline_regexp = this._input.get_regexp(
- '\\r\\n|[' + t + ']'
- ));
- }),
- (r.prototype.read = function () {
- (this.newline_count = 0), (this.whitespace_before_token = '');
- var e = this._input.read(this._match_pattern);
- if (' ' === e) this.whitespace_before_token = ' ';
- else if (e) {
- var t = this.__split(this._newline_regexp, e);
- (this.newline_count = t.length - 1),
- (this.whitespace_before_token = t[this.newline_count]);
- }
- return e;
- }),
- (r.prototype.matching = function (e, t) {
- var n = this._create();
- return n.__set_whitespace_patterns(e, t), n._update(), n;
- }),
- (r.prototype._create = function () {
- return new r(this._input, this);
- }),
- (r.prototype.__split = function (e, t) {
- e.lastIndex = 0;
- for (var n = 0, i = [], r = e.exec(t); r; )
- i.push(t.substring(n, r.index)),
- (n = r.index + r[0].length),
- (r = e.exec(t));
- return (
- n < t.length ? i.push(t.substring(n, t.length)) : i.push(''),
- i
- );
- }),
- (e.exports.WhitespacePattern = r);
- },
- function (e, t, n) {
- function i(e, t) {
- (this._input = e),
- (this._starting_pattern = null),
- (this._match_pattern = null),
- (this._until_pattern = null),
- (this._until_after = !1),
- t &&
- ((this._starting_pattern = this._input.get_regexp(
- t._starting_pattern,
- !0
- )),
- (this._match_pattern = this._input.get_regexp(
- t._match_pattern,
- !0
- )),
- (this._until_pattern = this._input.get_regexp(
- t._until_pattern
- )),
- (this._until_after = t._until_after));
- }
- (i.prototype.read = function () {
- var e = this._input.read(this._starting_pattern);
- return (
- (this._starting_pattern && !e) ||
- (e += this._input.read(
- this._match_pattern,
- this._until_pattern,
- this._until_after
- )),
- e
- );
- }),
- (i.prototype.read_match = function () {
- return this._input.match(this._match_pattern);
- }),
- (i.prototype.until_after = function (e) {
- var t = this._create();
- return (
- (t._until_after = !0),
- (t._until_pattern = this._input.get_regexp(e)),
- t._update(),
- t
- );
- }),
- (i.prototype.until = function (e) {
- var t = this._create();
- return (
- (t._until_after = !1),
- (t._until_pattern = this._input.get_regexp(e)),
- t._update(),
- t
- );
- }),
- (i.prototype.starting_with = function (e) {
- var t = this._create();
- return (
- (t._starting_pattern = this._input.get_regexp(e, !0)),
- t._update(),
- t
- );
- }),
- (i.prototype.matching = function (e) {
- var t = this._create();
- return (
- (t._match_pattern = this._input.get_regexp(e, !0)),
- t._update(),
- t
- );
- }),
- (i.prototype._create = function () {
- return new i(this._input, this);
- }),
- (i.prototype._update = function () {}),
- (e.exports.Pattern = i);
- },
- function (e, t, n) {
- function i(e, t) {
- (e = 'string' == typeof e ? e : e.source),
- (t = 'string' == typeof t ? t : t.source),
- (this.__directives_block_pattern = new RegExp(
- e + / beautify( \w+[:]\w+)+ /.source + t,
- 'g'
- )),
- (this.__directive_pattern = / (\w+)[:](\w+)/g),
- (this.__directives_end_ignore_pattern = new RegExp(
- e + /\sbeautify\signore:end\s/.source + t,
- 'g'
- ));
- }
- (i.prototype.get_directives = function (e) {
- if (!e.match(this.__directives_block_pattern)) return null;
- var t = {};
- this.__directive_pattern.lastIndex = 0;
- for (var n = this.__directive_pattern.exec(e); n; )
- (t[n[1]] = n[2]), (n = this.__directive_pattern.exec(e));
- return t;
- }),
- (i.prototype.readIgnored = function (e) {
- return e.readUntilAfter(this.__directives_end_ignore_pattern);
- }),
- (e.exports.Directives = i);
- },
- function (e, t, n) {
- var i = n(12).Pattern,
- r = { django: !1, erb: !1, handlebars: !1, php: !1 };
- function a(e, t) {
- i.call(this, e, t),
- (this.__template_pattern = null),
- (this._disabled = Object.assign({}, r)),
- (this._excluded = Object.assign({}, r)),
- t &&
- ((this.__template_pattern = this._input.get_regexp(
- t.__template_pattern
- )),
- (this._excluded = Object.assign(this._excluded, t._excluded)),
- (this._disabled = Object.assign(
- this._disabled,
- t._disabled
- )));
- var n = new i(e);
- this.__patterns = {
- handlebars_comment: n
- .starting_with(/{{!--/)
- .until_after(/--}}/),
- handlebars_unescaped: n.starting_with(/{{{/).until_after(/}}}/),
- handlebars: n.starting_with(/{{/).until_after(/}}/),
- php: n.starting_with(/<\?(?:[=]|php)/).until_after(/\?>/),
- erb: n.starting_with(/<%[^%]/).until_after(/[^%]%>/),
- django: n.starting_with(/{%/).until_after(/%}/),
- django_value: n.starting_with(/{{/).until_after(/}}/),
- django_comment: n.starting_with(/{#/).until_after(/#}/),
- };
- }
- (a.prototype = new i()),
- (a.prototype._create = function () {
- return new a(this._input, this);
- }),
- (a.prototype._update = function () {
- this.__set_templated_pattern();
- }),
- (a.prototype.disable = function (e) {
- var t = this._create();
- return (t._disabled[e] = !0), t._update(), t;
- }),
- (a.prototype.read_options = function (e) {
- var t = this._create();
- for (var n in r)
- t._disabled[n] = -1 === e.templating.indexOf(n);
- return t._update(), t;
- }),
- (a.prototype.exclude = function (e) {
- var t = this._create();
- return (t._excluded[e] = !0), t._update(), t;
- }),
- (a.prototype.read = function () {
- var e = '';
- e = this._match_pattern
- ? this._input.read(this._starting_pattern)
- : this._input.read(
- this._starting_pattern,
- this.__template_pattern
- );
- for (var t = this._read_template(); t; )
- this._match_pattern
- ? (t += this._input.read(this._match_pattern))
- : (t += this._input.readUntil(this.__template_pattern)),
- (e += t),
- (t = this._read_template());
- return (
- this._until_after &&
- (e += this._input.readUntilAfter(this._until_pattern)),
- e
- );
- }),
- (a.prototype.__set_templated_pattern = function () {
- var e = [];
- this._disabled.php ||
- e.push(this.__patterns.php._starting_pattern.source),
- this._disabled.handlebars ||
- e.push(this.__patterns.handlebars._starting_pattern.source),
- this._disabled.erb ||
- e.push(this.__patterns.erb._starting_pattern.source),
- this._disabled.django ||
- (e.push(this.__patterns.django._starting_pattern.source),
- e.push(
- this.__patterns.django_value._starting_pattern.source
- ),
- e.push(
- this.__patterns.django_comment._starting_pattern.source
- )),
- this._until_pattern && e.push(this._until_pattern.source),
- (this.__template_pattern = this._input.get_regexp(
- '(?:' + e.join('|') + ')'
- ));
- }),
- (a.prototype._read_template = function () {
- var e = '',
- t = this._input.peek();
- if ('<' === t) {
- var n = this._input.peek(1);
- this._disabled.php ||
- this._excluded.php ||
- '?' !== n ||
- (e = e || this.__patterns.php.read()),
- this._disabled.erb ||
- this._excluded.erb ||
- '%' !== n ||
- (e = e || this.__patterns.erb.read());
- } else
- '{' === t &&
- (this._disabled.handlebars ||
- this._excluded.handlebars ||
- (e =
- (e =
- (e =
- e || this.__patterns.handlebars_comment.read()) ||
- this.__patterns.handlebars_unescaped.read()) ||
- this.__patterns.handlebars.read()),
- this._disabled.django ||
- (this._excluded.django ||
- this._excluded.handlebars ||
- (e = e || this.__patterns.django_value.read()),
- this._excluded.django ||
- (e =
- (e = e || this.__patterns.django_comment.read()) ||
- this.__patterns.django.read())));
- return e;
- }),
- (e.exports.TemplatablePattern = a);
- },
- ,
- ,
- ,
- function (e, t, n) {
- var i = n(19).Beautifier,
- r = n(20).Options;
- (e.exports = function (e, t, n, r) {
- return new i(e, t, n, r).beautify();
- }),
- (e.exports.defaultOptions = function () {
- return new r();
- });
- },
- function (e, t, n) {
- var i = n(20).Options,
- r = n(2).Output,
- a = n(21).Tokenizer,
- o = n(21).TOKEN,
- s = /\r\n|[\r\n]/,
- l = /\r\n|[\r\n]/g,
- c = function (e, t) {
- (this.indent_level = 0),
- (this.alignment_size = 0),
- (this.max_preserve_newlines = e.max_preserve_newlines),
- (this.preserve_newlines = e.preserve_newlines),
- (this._output = new r(e, t));
- };
- (c.prototype.current_line_has_match = function (e) {
- return this._output.current_line.has_match(e);
- }),
- (c.prototype.set_space_before_token = function (e, t) {
- (this._output.space_before_token = e),
- (this._output.non_breaking_space = t);
- }),
- (c.prototype.set_wrap_point = function () {
- this._output.set_indent(this.indent_level, this.alignment_size),
- this._output.set_wrap_point();
- }),
- (c.prototype.add_raw_token = function (e) {
- this._output.add_raw_token(e);
- }),
- (c.prototype.print_preserved_newlines = function (e) {
- var t = 0;
- e.type !== o.TEXT &&
- e.previous.type !== o.TEXT &&
- (t = e.newlines ? 1 : 0),
- this.preserve_newlines &&
- (t =
- e.newlines < this.max_preserve_newlines + 1
- ? e.newlines
- : this.max_preserve_newlines + 1);
- for (var n = 0; n < t; n++) this.print_newline(n > 0);
- return 0 !== t;
- }),
- (c.prototype.traverse_whitespace = function (e) {
- return !(
- (!e.whitespace_before && !e.newlines) ||
- (this.print_preserved_newlines(e) ||
- (this._output.space_before_token = !0),
- 0)
- );
- }),
- (c.prototype.previous_token_wrapped = function () {
- return this._output.previous_token_wrapped;
- }),
- (c.prototype.print_newline = function (e) {
- this._output.add_new_line(e);
- }),
- (c.prototype.print_token = function (e) {
- e.text &&
- (this._output.set_indent(
- this.indent_level,
- this.alignment_size
- ),
- this._output.add_token(e.text));
- }),
- (c.prototype.indent = function () {
- this.indent_level++;
- }),
- (c.prototype.get_full_indent = function (e) {
- return (e = this.indent_level + (e || 0)) < 1
- ? ''
- : this._output.get_indent_string(e);
- });
- function h(e, t) {
- return -1 !== t.indexOf(e);
- }
- function d(e, t, n) {
- (this.parent = e || null),
- (this.tag = t ? t.tag_name : ''),
- (this.indent_level = n || 0),
- (this.parser_token = t || null);
- }
- function u(e) {
- (this._printer = e), (this._current_frame = null);
- }
- function p(e, t, n, r) {
- (this._source_text = e || ''),
- (t = t || {}),
- (this._js_beautify = n),
- (this._css_beautify = r),
- (this._tag_stack = null);
- var a = new i(t, 'html');
- (this._options = a),
- (this._is_wrap_attributes_force =
- 'force' ===
- this._options.wrap_attributes.substr(0, 'force'.length)),
- (this._is_wrap_attributes_force_expand_multiline =
- 'force-expand-multiline' === this._options.wrap_attributes),
- (this._is_wrap_attributes_force_aligned =
- 'force-aligned' === this._options.wrap_attributes),
- (this._is_wrap_attributes_aligned_multiple =
- 'aligned-multiple' === this._options.wrap_attributes),
- (this._is_wrap_attributes_preserve =
- 'preserve' ===
- this._options.wrap_attributes.substr(0, 'preserve'.length)),
- (this._is_wrap_attributes_preserve_aligned =
- 'preserve-aligned' === this._options.wrap_attributes);
- }
- (u.prototype.get_parser_token = function () {
- return this._current_frame
- ? this._current_frame.parser_token
- : null;
- }),
- (u.prototype.record_tag = function (e) {
- var t = new d(
- this._current_frame,
- e,
- this._printer.indent_level
- );
- this._current_frame = t;
- }),
- (u.prototype._try_pop_frame = function (e) {
- var t = null;
- return (
- e &&
- ((t = e.parser_token),
- (this._printer.indent_level = e.indent_level),
- (this._current_frame = e.parent)),
- t
- );
- }),
- (u.prototype._get_frame = function (e, t) {
- for (
- var n = this._current_frame;
- n && -1 === e.indexOf(n.tag);
-
- ) {
- if (t && -1 !== t.indexOf(n.tag)) {
- n = null;
- break;
- }
- n = n.parent;
- }
- return n;
- }),
- (u.prototype.try_pop = function (e, t) {
- var n = this._get_frame([e], t);
- return this._try_pop_frame(n);
- }),
- (u.prototype.indent_to_tag = function (e) {
- var t = this._get_frame(e);
- t && (this._printer.indent_level = t.indent_level);
- }),
- (p.prototype.beautify = function () {
- if (this._options.disabled) return this._source_text;
- var e = this._source_text,
- t = this._options.eol;
- 'auto' === this._options.eol &&
- ((t = '\n'), e && s.test(e) && (t = e.match(s)[0]));
- var n = (e = e.replace(l, '\n')).match(/^[\t ]*/)[0],
- i = { text: '', type: '' },
- r = new m(),
- h = new c(this._options, n),
- d = new a(e, this._options).tokenize();
- this._tag_stack = new u(h);
- for (var p = null, f = d.next(); f.type !== o.EOF; )
- f.type === o.TAG_OPEN || f.type === o.COMMENT
- ? (r = p = this._handle_tag_open(h, f, r, i))
- : f.type === o.ATTRIBUTE ||
- f.type === o.EQUALS ||
- f.type === o.VALUE ||
- (f.type === o.TEXT && !r.tag_complete)
- ? (p = this._handle_inside_tag(h, f, r, d))
- : f.type === o.TAG_CLOSE
- ? (p = this._handle_tag_close(h, f, r))
- : f.type === o.TEXT
- ? (p = this._handle_text(h, f, r))
- : h.add_raw_token(f),
- (i = p),
- (f = d.next());
- return h._output.get_code(t);
- }),
- (p.prototype._handle_tag_close = function (e, t, n) {
- var i = { text: t.text, type: t.type };
- return (
- (e.alignment_size = 0),
- (n.tag_complete = !0),
- e.set_space_before_token(
- t.newlines || '' !== t.whitespace_before,
- !0
- ),
- n.is_unformatted
- ? e.add_raw_token(t)
- : ('<' === n.tag_start_char &&
- (e.set_space_before_token('/' === t.text[0], !0),
- this._is_wrap_attributes_force_expand_multiline &&
- n.has_wrapped_attrs &&
- e.print_newline(!1)),
- e.print_token(t)),
- !n.indent_content ||
- n.is_unformatted ||
- n.is_content_unformatted ||
- (e.indent(), (n.indent_content = !1)),
- n.is_inline_element ||
- n.is_unformatted ||
- n.is_content_unformatted ||
- e.set_wrap_point(),
- i
- );
- }),
- (p.prototype._handle_inside_tag = function (e, t, n, i) {
- var r = n.has_wrapped_attrs,
- a = { text: t.text, type: t.type };
- if (
- (e.set_space_before_token(
- t.newlines || '' !== t.whitespace_before,
- !0
- ),
- n.is_unformatted)
- )
- e.add_raw_token(t);
- else if ('{' === n.tag_start_char && t.type === o.TEXT)
- e.print_preserved_newlines(t)
- ? ((t.newlines = 0), e.add_raw_token(t))
- : e.print_token(t);
- else {
- if (
- (t.type === o.ATTRIBUTE
- ? (e.set_space_before_token(!0), (n.attr_count += 1))
- : (t.type === o.EQUALS ||
- (t.type === o.VALUE &&
- t.previous.type === o.EQUALS)) &&
- e.set_space_before_token(!1),
- t.type === o.ATTRIBUTE &&
- '<' === n.tag_start_char &&
- ((this._is_wrap_attributes_preserve ||
- this._is_wrap_attributes_preserve_aligned) &&
- (e.traverse_whitespace(t), (r = r || 0 !== t.newlines)),
- this._is_wrap_attributes_force))
- ) {
- var s = n.attr_count > 1;
- if (
- this._is_wrap_attributes_force_expand_multiline &&
- 1 === n.attr_count
- ) {
- var l,
- c = !0,
- h = 0;
- do {
- if ((l = i.peek(h)).type === o.ATTRIBUTE) {
- c = !1;
- break;
- }
- h += 1;
- } while (
- h < 4 &&
- l.type !== o.EOF &&
- l.type !== o.TAG_CLOSE
- );
- s = !c;
- }
- s && (e.print_newline(!1), (r = !0));
- }
- e.print_token(t),
- (r = r || e.previous_token_wrapped()),
- (n.has_wrapped_attrs = r);
- }
- return a;
- }),
- (p.prototype._handle_text = function (e, t, n) {
- var i = { text: t.text, type: 'TK_CONTENT' };
- return (
- n.custom_beautifier_name
- ? this._print_custom_beatifier_text(e, t, n)
- : n.is_unformatted || n.is_content_unformatted
- ? e.add_raw_token(t)
- : (e.traverse_whitespace(t), e.print_token(t)),
- i
- );
- }),
- (p.prototype._print_custom_beatifier_text = function (e, t, n) {
- var i = this;
- if ('' !== t.text) {
- var r,
- a = t.text,
- o = 1,
- s = '',
- l = '';
- 'javascript' === n.custom_beautifier_name &&
- 'function' == typeof this._js_beautify
- ? (r = this._js_beautify)
- : 'css' === n.custom_beautifier_name &&
- 'function' == typeof this._css_beautify
- ? (r = this._css_beautify)
- : 'html' === n.custom_beautifier_name &&
- (r = function (e, t) {
- return new p(
- e,
- t,
- i._js_beautify,
- i._css_beautify
- ).beautify();
- }),
- 'keep' === this._options.indent_scripts
- ? (o = 0)
- : 'separate' === this._options.indent_scripts &&
- (o = -e.indent_level);
- var c = e.get_full_indent(o);
- if (
- ((a = a.replace(/\n[ \t]*$/, '')),
- 'html' !== n.custom_beautifier_name &&
- '<' === a[0] &&
- a.match(/^(|]]>)$/.exec(
- a
- );
- if (!h) return void e.add_raw_token(t);
- (s = c + h[1] + '\n'),
- (a = h[4]),
- h[5] && (l = c + h[5]),
- (a = a.replace(/\n[ \t]*$/, '')),
- (h[2] || -1 !== h[3].indexOf('\n')) &&
- (h = h[3].match(/[ \t]+$/)) &&
- (t.whitespace_before = h[0]);
- }
- if (a)
- if (r) {
- var d = function () {
- this.eol = '\n';
- };
- (d.prototype = this._options.raw_options),
- (a = r(c + a, new d()));
- } else {
- var u = t.whitespace_before;
- u &&
- (a = a.replace(
- new RegExp('\n(' + u + ')?', 'g'),
- '\n'
- )),
- (a = c + a.replace(/\n/g, '\n' + c));
- }
- s && (a = a ? s + a + '\n' + l : s + l),
- e.print_newline(!1),
- a &&
- ((t.text = a),
- (t.whitespace_before = ''),
- (t.newlines = 0),
- e.add_raw_token(t),
- e.print_newline(!0));
- }
- }),
- (p.prototype._handle_tag_open = function (e, t, n, i) {
- var r = this._get_tag_open_token(t);
- return (
- (n.is_unformatted || n.is_content_unformatted) &&
- t.type === o.TAG_OPEN &&
- 0 === t.text.indexOf('')
- ? (e.add_raw_token(t),
- (r.start_tag_token = this._tag_stack.try_pop(r.tag_name)))
- : (e.traverse_whitespace(t),
- this._set_tag_position(e, t, r, n, i),
- r.is_inline_element || e.set_wrap_point(),
- e.print_token(t)),
- (this._is_wrap_attributes_force_aligned ||
- this._is_wrap_attributes_aligned_multiple ||
- this._is_wrap_attributes_preserve_aligned) &&
- (r.alignment_size = t.text.length + 1),
- r.tag_complete ||
- r.is_unformatted ||
- (e.alignment_size = r.alignment_size),
- r
- );
- });
- var m = function (e, t) {
- var n;
- (this.parent = e || null),
- (this.text = ''),
- (this.type = 'TK_TAG_OPEN'),
- (this.tag_name = ''),
- (this.is_inline_element = !1),
- (this.is_unformatted = !1),
- (this.is_content_unformatted = !1),
- (this.is_empty_element = !1),
- (this.is_start_tag = !1),
- (this.is_end_tag = !1),
- (this.indent_content = !1),
- (this.multiline_content = !1),
- (this.custom_beautifier_name = null),
- (this.start_tag_token = null),
- (this.attr_count = 0),
- (this.has_wrapped_attrs = !1),
- (this.alignment_size = 0),
- (this.tag_complete = !1),
- (this.tag_start_char = ''),
- (this.tag_check = ''),
- t
- ? ((this.tag_start_char = t.text[0]),
- (this.text = t.text),
- '<' === this.tag_start_char
- ? ((n = t.text.match(/^<([^\s>]*)/)),
- (this.tag_check = n ? n[1] : ''))
- : ((n = t.text.match(/^{{(?:[\^]|#\*?)?([^\s}]+)/)),
- (this.tag_check = n ? n[1] : ''),
- '{{#>' === t.text &&
- '>' === this.tag_check &&
- null !== t.next &&
- (this.tag_check = t.next.text)),
- (this.tag_check = this.tag_check.toLowerCase()),
- t.type === o.COMMENT && (this.tag_complete = !0),
- (this.is_start_tag = '/' !== this.tag_check.charAt(0)),
- (this.tag_name = this.is_start_tag
- ? this.tag_check
- : this.tag_check.substr(1)),
- (this.is_end_tag =
- !this.is_start_tag ||
- (t.closed && '/>' === t.closed.text)),
- (this.is_end_tag =
- this.is_end_tag ||
- ('{' === this.tag_start_char &&
- (this.text.length < 3 ||
- /[^#\^]/.test(this.text.charAt(2))))))
- : (this.tag_complete = !0);
- };
- (p.prototype._get_tag_open_token = function (e) {
- var t = new m(this._tag_stack.get_parser_token(), e);
- return (
- (t.alignment_size = this._options.wrap_attributes_indent_size),
- (t.is_end_tag =
- t.is_end_tag || h(t.tag_check, this._options.void_elements)),
- (t.is_empty_element =
- t.tag_complete || (t.is_start_tag && t.is_end_tag)),
- (t.is_unformatted =
- !t.tag_complete && h(t.tag_check, this._options.unformatted)),
- (t.is_content_unformatted =
- !t.is_empty_element &&
- h(t.tag_check, this._options.content_unformatted)),
- (t.is_inline_element =
- h(t.tag_name, this._options.inline) ||
- '{' === t.tag_start_char),
- t
- );
- }),
- (p.prototype._set_tag_position = function (e, t, n, i, r) {
- n.is_empty_element ||
- (n.is_end_tag
- ? (n.start_tag_token = this._tag_stack.try_pop(n.tag_name))
- : (this._do_optional_end_element(n) &&
- (n.is_inline_element ||
- (n.parent && (n.parent.multiline_content = !0),
- e.print_newline(!1))),
- this._tag_stack.record_tag(n),
- ('script' !== n.tag_name && 'style' !== n.tag_name) ||
- n.is_unformatted ||
- n.is_content_unformatted ||
- (n.custom_beautifier_name = (function (e, t) {
- var n = null,
- i = null;
- return t.closed
- ? ('script' === e
- ? (n = 'text/javascript')
- : 'style' === e && (n = 'text/css'),
- (n =
- (function (e) {
- for (
- var t = null, n = e.next;
- n.type !== o.EOF && e.closed !== n;
-
- ) {
- if (
- n.type === o.ATTRIBUTE &&
- 'type' === n.text
- ) {
- n.next &&
- n.next.type === o.EQUALS &&
- n.next.next &&
- n.next.next.type === o.VALUE &&
- (t = n.next.next.text);
- break;
- }
- n = n.next;
- }
- return t;
- })(t) || n).search('text/css') > -1
- ? (i = 'css')
- : n.search(
- /module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/
- ) > -1
- ? (i = 'javascript')
- : n.search(
- /(text|application|dojo)\/(x-)?(html)/
- ) > -1
- ? (i = 'html')
- : n.search(/test\/null/) > -1 && (i = 'null'),
- i)
- : null;
- })(n.tag_check, t)))),
- h(n.tag_check, this._options.extra_liners) &&
- (e.print_newline(!1),
- e._output.just_added_blankline() || e.print_newline(!0)),
- n.is_empty_element
- ? ('{' === n.tag_start_char &&
- 'else' === n.tag_check &&
- (this._tag_stack.indent_to_tag([
- 'if',
- 'unless',
- 'each',
- ]),
- (n.indent_content = !0),
- e.current_line_has_match(/{{#if/) ||
- e.print_newline(!1)),
- ('!--' === n.tag_name &&
- r.type === o.TAG_CLOSE &&
- i.is_end_tag &&
- -1 === n.text.indexOf('\n')) ||
- n.is_inline_element ||
- n.is_unformatted ||
- e.print_newline(!1))
- : n.is_unformatted || n.is_content_unformatted
- ? n.is_inline_element ||
- n.is_unformatted ||
- e.print_newline(!1)
- : n.is_end_tag
- ? ((n.start_tag_token &&
- n.start_tag_token.multiline_content) ||
- !(
- n.is_inline_element ||
- i.is_inline_element ||
- (r.type === o.TAG_CLOSE && n.start_tag_token === i) ||
- 'TK_CONTENT' === r.type
- )) &&
- e.print_newline(!1)
- : ((n.indent_content = !n.custom_beautifier_name),
- '<' === n.tag_start_char &&
- ('html' === n.tag_name
- ? (n.indent_content = this._options.indent_inner_html)
- : 'head' === n.tag_name
- ? (n.indent_content = this._options.indent_head_inner_html)
- : 'body' === n.tag_name &&
- (n.indent_content = this._options.indent_body_inner_html)),
- n.is_inline_element ||
- 'TK_CONTENT' === r.type ||
- (n.parent && (n.parent.multiline_content = !0),
- e.print_newline(!1)));
- });
- var f = [
- 'address',
- 'article',
- 'aside',
- 'blockquote',
- 'details',
- 'div',
- 'dl',
- 'fieldset',
- 'figcaption',
- 'figure',
- 'footer',
- 'form',
- 'h1',
- 'h2',
- 'h3',
- 'h4',
- 'h5',
- 'h6',
- 'header',
- 'hr',
- 'main',
- 'nav',
- 'ol',
- 'p',
- 'pre',
- 'section',
- 'table',
- 'ul',
- ],
- g = ['a', 'audio', 'del', 'ins', 'map', 'noscript', 'video'];
- (p.prototype._do_optional_end_element = function (e) {
- var t = null;
- if (!e.is_empty_element && e.is_start_tag && e.parent) {
- if ('body' === e.tag_name)
- t = t || this._tag_stack.try_pop('head');
- else if ('li' === e.tag_name)
- t = t || this._tag_stack.try_pop('li', ['ol', 'ul']);
- else if ('dd' === e.tag_name || 'dt' === e.tag_name)
- t =
- (t = t || this._tag_stack.try_pop('dt', ['dl'])) ||
- this._tag_stack.try_pop('dd', ['dl']);
- else if (
- 'p' === e.parent.tag_name &&
- -1 !== f.indexOf(e.tag_name)
- ) {
- var n = e.parent.parent;
- (n && -1 !== g.indexOf(n.tag_name)) ||
- (t = t || this._tag_stack.try_pop('p'));
- } else
- 'rp' === e.tag_name || 'rt' === e.tag_name
- ? (t =
- (t =
- t ||
- this._tag_stack.try_pop('rt', ['ruby', 'rtc'])) ||
- this._tag_stack.try_pop('rp', ['ruby', 'rtc']))
- : 'optgroup' === e.tag_name
- ? (t = t || this._tag_stack.try_pop('optgroup', ['select']))
- : 'option' === e.tag_name
- ? (t =
- t ||
- this._tag_stack.try_pop('option', [
- 'select',
- 'datalist',
- 'optgroup',
- ]))
- : 'colgroup' === e.tag_name
- ? (t = t || this._tag_stack.try_pop('caption', ['table']))
- : 'thead' === e.tag_name
- ? (t =
- (t =
- t || this._tag_stack.try_pop('caption', ['table'])) ||
- this._tag_stack.try_pop('colgroup', ['table']))
- : 'tbody' === e.tag_name || 'tfoot' === e.tag_name
- ? (t =
- (t =
- (t =
- (t =
- t ||
- this._tag_stack.try_pop('caption', ['table'])) ||
- this._tag_stack.try_pop('colgroup', ['table'])) ||
- this._tag_stack.try_pop('thead', ['table'])) ||
- this._tag_stack.try_pop('tbody', ['table']))
- : 'tr' === e.tag_name
- ? (t =
- (t =
- (t =
- t ||
- this._tag_stack.try_pop('caption', ['table'])) ||
- this._tag_stack.try_pop('colgroup', ['table'])) ||
- this._tag_stack.try_pop('tr', [
- 'table',
- 'thead',
- 'tbody',
- 'tfoot',
- ]))
- : ('th' !== e.tag_name && 'td' !== e.tag_name) ||
- (t =
- (t =
- t ||
- this._tag_stack.try_pop('td', [
- 'table',
- 'thead',
- 'tbody',
- 'tfoot',
- 'tr',
- ])) ||
- this._tag_stack.try_pop('th', [
- 'table',
- 'thead',
- 'tbody',
- 'tfoot',
- 'tr',
- ]));
- return (e.parent = this._tag_stack.get_parser_token()), t;
- }
- }),
- (e.exports.Beautifier = p);
- },
- function (e, t, n) {
- var i = n(6).Options;
- function r(e) {
- i.call(this, e, 'html'),
- 1 === this.templating.length &&
- 'auto' === this.templating[0] &&
- (this.templating = ['django', 'erb', 'handlebars', 'php']),
- (this.indent_inner_html = this._get_boolean(
- 'indent_inner_html'
- )),
- (this.indent_body_inner_html = this._get_boolean(
- 'indent_body_inner_html',
- !0
- )),
- (this.indent_head_inner_html = this._get_boolean(
- 'indent_head_inner_html',
- !0
- )),
- (this.indent_handlebars = this._get_boolean(
- 'indent_handlebars',
- !0
- )),
- (this.wrap_attributes = this._get_selection('wrap_attributes', [
- 'auto',
- 'force',
- 'force-aligned',
- 'force-expand-multiline',
- 'aligned-multiple',
- 'preserve',
- 'preserve-aligned',
- ])),
- (this.wrap_attributes_indent_size = this._get_number(
- 'wrap_attributes_indent_size',
- this.indent_size
- )),
- (this.extra_liners = this._get_array('extra_liners', [
- 'head',
- 'body',
- '/html',
- ])),
- (this.inline = this._get_array('inline', [
- 'a',
- 'abbr',
- 'area',
- 'audio',
- 'b',
- 'bdi',
- 'bdo',
- 'br',
- 'button',
- 'canvas',
- 'cite',
- 'code',
- 'data',
- 'datalist',
- 'del',
- 'dfn',
- 'em',
- 'embed',
- 'i',
- 'iframe',
- 'img',
- 'input',
- 'ins',
- 'kbd',
- 'keygen',
- 'label',
- 'map',
- 'mark',
- 'math',
- 'meter',
- 'noscript',
- 'object',
- 'output',
- 'progress',
- 'q',
- 'ruby',
- 's',
- 'samp',
- 'select',
- 'small',
- 'span',
- 'strong',
- 'sub',
- 'sup',
- 'svg',
- 'template',
- 'textarea',
- 'time',
- 'u',
- 'var',
- 'video',
- 'wbr',
- 'text',
- 'acronym',
- 'big',
- 'strike',
- 'tt',
- ])),
- (this.void_elements = this._get_array('void_elements', [
- 'area',
- 'base',
- 'br',
- 'col',
- 'embed',
- 'hr',
- 'img',
- 'input',
- 'keygen',
- 'link',
- 'menuitem',
- 'meta',
- 'param',
- 'source',
- 'track',
- 'wbr',
- '!doctype',
- '?xml',
- 'basefont',
- 'isindex',
- ])),
- (this.unformatted = this._get_array('unformatted', [])),
- (this.content_unformatted = this._get_array(
- 'content_unformatted',
- ['pre', 'textarea']
- )),
- (this.unformatted_content_delimiter = this._get_characters(
- 'unformatted_content_delimiter'
- )),
- (this.indent_scripts = this._get_selection('indent_scripts', [
- 'normal',
- 'keep',
- 'separate',
- ]));
- }
- (r.prototype = new i()), (e.exports.Options = r);
- },
- function (e, t, n) {
- var i = n(9).Tokenizer,
- r = n(9).TOKEN,
- a = n(13).Directives,
- o = n(14).TemplatablePattern,
- s = n(12).Pattern,
- l = {
- TAG_OPEN: 'TK_TAG_OPEN',
- TAG_CLOSE: 'TK_TAG_CLOSE',
- ATTRIBUTE: 'TK_ATTRIBUTE',
- EQUALS: 'TK_EQUALS',
- VALUE: 'TK_VALUE',
- COMMENT: 'TK_COMMENT',
- TEXT: 'TK_TEXT',
- UNKNOWN: 'TK_UNKNOWN',
- START: r.START,
- RAW: r.RAW,
- EOF: r.EOF,
- },
- c = new a(/<\!--/, /-->/),
- h = function (e, t) {
- i.call(this, e, t), (this._current_tag_name = '');
- var n = new o(this._input).read_options(this._options),
- r = new s(this._input);
- if (
- ((this.__patterns = {
- word: n.until(/[\n\r\t <]/),
- single_quote: n.until_after(/'/),
- double_quote: n.until_after(/"/),
- attribute: n.until(/[\n\r\t =>]|\/>/),
- element_name: n.until(/[\n\r\t >\/]/),
- handlebars_comment: r
- .starting_with(/{{!--/)
- .until_after(/--}}/),
- handlebars: r.starting_with(/{{/).until_after(/}}/),
- handlebars_open: r.until(/[\n\r\t }]/),
- handlebars_raw_close: r.until(/}}/),
- comment: r.starting_with(//),
- cdata: r.starting_with(//),
- conditional_comment: r
- .starting_with(//),
- processing: r.starting_with(/<\?/).until_after(/\?>/),
- }),
- this._options.indent_handlebars &&
- (this.__patterns.word = this.__patterns.word.exclude(
- 'handlebars'
- )),
- (this._unformatted_content_delimiter = null),
- this._options.unformatted_content_delimiter)
- ) {
- var a = this._input.get_literal_regexp(
- this._options.unformatted_content_delimiter
- );
- this.__patterns.unformatted_content_delimiter = r
- .matching(a)
- .until_after(a);
- }
- };
- ((h.prototype = new i())._is_comment = function (e) {
- return !1;
- }),
- (h.prototype._is_opening = function (e) {
- return e.type === l.TAG_OPEN;
- }),
- (h.prototype._is_closing = function (e, t) {
- return (
- e.type === l.TAG_CLOSE &&
- t &&
- ((('>' === e.text || '/>' === e.text) && '<' === t.text[0]) ||
- ('}}' === e.text && '{' === t.text[0] && '{' === t.text[1]))
- );
- }),
- (h.prototype._reset = function () {
- this._current_tag_name = '';
- }),
- (h.prototype._get_next_token = function (e, t) {
- var n = null;
- this._readWhitespace();
- var i = this._input.peek();
- return null === i
- ? this._create_token(l.EOF, '')
- : (n =
- (n =
- (n =
- (n =
- (n =
- (n =
- (n =
- (n =
- (n =
- n || this._read_open_handlebars(i, t)) ||
- this._read_attribute(i, e, t)) ||
- this._read_raw_content(i, e, t)) ||
- this._read_close(i, t)) ||
- this._read_content_word(i)) ||
- this._read_comment_or_cdata(i)) ||
- this._read_processing(i)) || this._read_open(i, t)) ||
- this._create_token(l.UNKNOWN, this._input.next()));
- }),
- (h.prototype._read_comment_or_cdata = function (e) {
- var t = null,
- n = null,
- i = null;
- return (
- '<' === e &&
- ('!' === this._input.peek(1) &&
- ((n = this.__patterns.comment.read())
- ? (i = c.get_directives(n)) &&
- 'start' === i.ignore &&
- (n += c.readIgnored(this._input))
- : (n = this.__patterns.cdata.read())),
- n &&
- ((t = this._create_token(l.COMMENT, n)).directives = i)),
- t
- );
- }),
- (h.prototype._read_processing = function (e) {
- var t = null,
- n = null;
- if ('<' === e) {
- var i = this._input.peek(1);
- ('!' !== i && '?' !== i) ||
- (n =
- (n = this.__patterns.conditional_comment.read()) ||
- this.__patterns.processing.read()),
- n &&
- ((t = this._create_token(
- l.COMMENT,
- n
- )).directives = null);
- }
- return t;
- }),
- (h.prototype._read_open = function (e, t) {
- var n = null,
- i = null;
- return (
- t ||
- ('<' === e &&
- ((n = this._input.next()),
- '/' === this._input.peek() && (n += this._input.next()),
- (n += this.__patterns.element_name.read()),
- (i = this._create_token(l.TAG_OPEN, n)))),
- i
- );
- }),
- (h.prototype._read_open_handlebars = function (e, t) {
- var n = null,
- i = null;
- return (
- t ||
- (this._options.indent_handlebars &&
- '{' === e &&
- '{' === this._input.peek(1) &&
- ('!' === this._input.peek(2)
- ? ((n =
- (n = this.__patterns.handlebars_comment.read()) ||
- this.__patterns.handlebars.read()),
- (i = this._create_token(l.COMMENT, n)))
- : ((n = this.__patterns.handlebars_open.read()),
- (i = this._create_token(l.TAG_OPEN, n))))),
- i
- );
- }),
- (h.prototype._read_close = function (e, t) {
- var n = null,
- i = null;
- return (
- t &&
- ('<' === t.text[0] &&
- ('>' === e || ('/' === e && '>' === this._input.peek(1)))
- ? ((n = this._input.next()),
- '/' === e && (n += this._input.next()),
- (i = this._create_token(l.TAG_CLOSE, n)))
- : '{' === t.text[0] &&
- '}' === e &&
- '}' === this._input.peek(1) &&
- (this._input.next(),
- this._input.next(),
- (i = this._create_token(l.TAG_CLOSE, '}}')))),
- i
- );
- }),
- (h.prototype._read_attribute = function (e, t, n) {
- var i = null,
- r = '';
- if (n && '<' === n.text[0])
- if ('=' === e)
- i = this._create_token(l.EQUALS, this._input.next());
- else if ('"' === e || "'" === e) {
- var a = this._input.next();
- (a +=
- '"' === e
- ? this.__patterns.double_quote.read()
- : this.__patterns.single_quote.read()),
- (i = this._create_token(l.VALUE, a));
- } else
- (r = this.__patterns.attribute.read()) &&
- (i =
- t.type === l.EQUALS
- ? this._create_token(l.VALUE, r)
- : this._create_token(l.ATTRIBUTE, r));
- return i;
- }),
- (h.prototype._is_content_unformatted = function (e) {
- return (
- -1 === this._options.void_elements.indexOf(e) &&
- (-1 !== this._options.content_unformatted.indexOf(e) ||
- -1 !== this._options.unformatted.indexOf(e))
- );
- }),
- (h.prototype._read_raw_content = function (e, t, n) {
- var i = '';
- if (n && '{' === n.text[0])
- i = this.__patterns.handlebars_raw_close.read();
- else if (t.type === l.TAG_CLOSE && '<' === t.opened.text[0]) {
- var r = t.opened.text.substr(1).toLowerCase();
- if ('script' === r || 'style' === r) {
- var a = this._read_comment_or_cdata(e);
- if (a) return (a.type = l.TEXT), a;
- i = this._input.readUntil(
- new RegExp('' + r + '[\\n\\r\\t ]*?>', 'ig')
- );
- } else
- this._is_content_unformatted(r) &&
- (i = this._input.readUntil(
- new RegExp('' + r + '[\\n\\r\\t ]*?>', 'ig')
- ));
- }
- return i ? this._create_token(l.TEXT, i) : null;
- }),
- (h.prototype._read_content_word = function (e) {
- var t = '';
- if (
- (this._options.unformatted_content_delimiter &&
- e === this._options.unformatted_content_delimiter[0] &&
- (t = this.__patterns.unformatted_content_delimiter.read()),
- t || (t = this.__patterns.word.read()),
- t)
- )
- return this._create_token(l.TEXT, t);
- }),
- (e.exports.Tokenizer = h),
- (e.exports.TOKEN = l);
- },
- ]);
- var pt,
- mt,
- ft,
- gt =
- ((pt = function (e, t) {
- return (pt =
- Object.setPrototypeOf ||
- ({ __proto__: [] } instanceof Array &&
- function (e, t) {
- e.__proto__ = t;
- }) ||
- function (e, t) {
- for (var n in t) t.hasOwnProperty(n) && (e[n] = t[n]);
- })(e, t);
- }),
- function (e, t) {
- function n() {
- this.constructor = e;
- }
- pt(e, t),
- (e.prototype =
- null === t
- ? Object.create(t)
- : ((n.prototype = t.prototype), new n()));
- });
- if ('object' == typeof process) ft = 'win32' === process.platform;
- else if ('object' == typeof navigator) {
- var bt = navigator.userAgent;
- ft = bt.indexOf('Windows') >= 0;
- }
- var _t = /^\w[\w\d+.-]*$/,
- wt = /^\//,
- vt = /^\/\//,
- yt = '',
- Tt = '/',
- kt = /^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,
- St = (function () {
- function e(e, t, n, i, r, a) {
- void 0 === a && (a = !1),
- 'object' == typeof e
- ? ((this.scheme = e.scheme || yt),
- (this.authority = e.authority || yt),
- (this.path = e.path || yt),
- (this.query = e.query || yt),
- (this.fragment = e.fragment || yt))
- : ((this.scheme = (function (e, t) {
- return e || t ? e : 'file';
- })(e, a)),
- (this.authority = t || yt),
- (this.path = (function (e, t) {
- switch (e) {
- case 'https':
- case 'http':
- case 'file':
- t ? t[0] !== Tt && (t = Tt + t) : (t = Tt);
- }
- return t;
- })(this.scheme, n || yt)),
- (this.query = i || yt),
- (this.fragment = r || yt),
- (function (e, t) {
- if (!e.scheme && t)
- throw new Error(
- '[UriError]: Scheme is missing: {scheme: "", authority: "' +
- e.authority +
- '", path: "' +
- e.path +
- '", query: "' +
- e.query +
- '", fragment: "' +
- e.fragment +
- '"}'
- );
- if (e.scheme && !_t.test(e.scheme))
- throw new Error(
- '[UriError]: Scheme contains illegal characters.'
- );
- if (e.path)
- if (e.authority) {
- if (!wt.test(e.path))
- throw new Error(
- '[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character'
- );
- } else if (vt.test(e.path))
- throw new Error(
- '[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")'
- );
- })(this, a));
- }
- return (
- (e.isUri = function (t) {
- return (
- t instanceof e ||
- (!!t &&
- 'string' == typeof t.authority &&
- 'string' == typeof t.fragment &&
- 'string' == typeof t.path &&
- 'string' == typeof t.query &&
- 'string' == typeof t.scheme &&
- 'function' == typeof t.fsPath &&
- 'function' == typeof t.with &&
- 'function' == typeof t.toString)
- );
- }),
- Object.defineProperty(e.prototype, 'fsPath', {
- get: function () {
- return zt(this, !1);
- },
- enumerable: !0,
- configurable: !0,
- }),
- (e.prototype.with = function (e) {
- if (!e) return this;
- var t = e.scheme,
- n = e.authority,
- i = e.path,
- r = e.query,
- a = e.fragment;
- return (
- void 0 === t ? (t = this.scheme) : null === t && (t = yt),
- void 0 === n ? (n = this.authority) : null === n && (n = yt),
- void 0 === i ? (i = this.path) : null === i && (i = yt),
- void 0 === r ? (r = this.query) : null === r && (r = yt),
- void 0 === a ? (a = this.fragment) : null === a && (a = yt),
- t === this.scheme &&
- n === this.authority &&
- i === this.path &&
- r === this.query &&
- a === this.fragment
- ? this
- : new Mt(t, n, i, r, a)
- );
- }),
- (e.parse = function (e, t) {
- void 0 === t && (t = !1);
- var n = kt.exec(e);
- return n
- ? new Mt(
- n[2] || yt,
- Ct(n[4] || yt),
- Ct(n[5] || yt),
- Ct(n[7] || yt),
- Ct(n[9] || yt),
- t
- )
- : new Mt(yt, yt, yt, yt, yt);
- }),
- (e.file = function (e) {
- var t = yt;
- if (
- (ft && (e = e.replace(/\\/g, Tt)), e[0] === Tt && e[1] === Tt)
- ) {
- var n = e.indexOf(Tt, 2);
- -1 === n
- ? ((t = e.substring(2)), (e = Tt))
- : ((t = e.substring(2, n)), (e = e.substring(n) || Tt));
- }
- return new Mt('file', t, e, yt, yt);
- }),
- (e.from = function (e) {
- return new Mt(e.scheme, e.authority, e.path, e.query, e.fragment);
- }),
- (e.prototype.toString = function (e) {
- return void 0 === e && (e = !1), Rt(this, e);
- }),
- (e.prototype.toJSON = function () {
- return this;
- }),
- (e.revive = function (t) {
- if (t) {
- if (t instanceof e) return t;
- var n = new Mt(t);
- return (
- (n._formatted = t.external),
- (n._fsPath = t._sep === xt ? t.fsPath : null),
- n
- );
- }
- return t;
- }),
- e
- );
- })(),
- xt = ft ? 1 : void 0,
- Mt = (function (e) {
- function t() {
- var t = (null !== e && e.apply(this, arguments)) || this;
- return (t._formatted = null), (t._fsPath = null), t;
- }
- return (
- gt(t, e),
- Object.defineProperty(t.prototype, 'fsPath', {
- get: function () {
- return (
- this._fsPath || (this._fsPath = zt(this, !1)), this._fsPath
- );
- },
- enumerable: !0,
- configurable: !0,
- }),
- (t.prototype.toString = function (e) {
- return (
- void 0 === e && (e = !1),
- e
- ? Rt(this, !0)
- : (this._formatted || (this._formatted = Rt(this, !1)),
- this._formatted)
- );
- }),
- (t.prototype.toJSON = function () {
- var e = { $mid: 1 };
- return (
- this._fsPath && ((e.fsPath = this._fsPath), (e._sep = xt)),
- this._formatted && (e.external = this._formatted),
- this.path && (e.path = this.path),
- this.scheme && (e.scheme = this.scheme),
- this.authority && (e.authority = this.authority),
- this.query && (e.query = this.query),
- this.fragment && (e.fragment = this.fragment),
- e
- );
- }),
- t
- );
- })(St),
- Lt =
- (((mt = {})[58] = '%3A'),
- (mt[47] = '%2F'),
- (mt[63] = '%3F'),
- (mt[35] = '%23'),
- (mt[91] = '%5B'),
- (mt[93] = '%5D'),
- (mt[64] = '%40'),
- (mt[33] = '%21'),
- (mt[36] = '%24'),
- (mt[38] = '%26'),
- (mt[39] = '%27'),
- (mt[40] = '%28'),
- (mt[41] = '%29'),
- (mt[42] = '%2A'),
- (mt[43] = '%2B'),
- (mt[44] = '%2C'),
- (mt[59] = '%3B'),
- (mt[61] = '%3D'),
- (mt[32] = '%20'),
- mt);
- function Et(e, t) {
- for (var n = void 0, i = -1, r = 0; r < e.length; r++) {
- var a = e.charCodeAt(r);
- if (
- (a >= 97 && a <= 122) ||
- (a >= 65 && a <= 90) ||
- (a >= 48 && a <= 57) ||
- 45 === a ||
- 46 === a ||
- 95 === a ||
- 126 === a ||
- (t && 47 === a)
- )
- -1 !== i &&
- ((n += encodeURIComponent(e.substring(i, r))), (i = -1)),
- void 0 !== n && (n += e.charAt(r));
- else {
- void 0 === n && (n = e.substr(0, r));
- var o = Lt[a];
- void 0 !== o
- ? (-1 !== i &&
- ((n += encodeURIComponent(e.substring(i, r))), (i = -1)),
- (n += o))
- : -1 === i && (i = r);
- }
- }
- return (
- -1 !== i && (n += encodeURIComponent(e.substring(i))),
- void 0 !== n ? n : e
- );
- }
- function At(e) {
- for (var t = void 0, n = 0; n < e.length; n++) {
- var i = e.charCodeAt(n);
- 35 === i || 63 === i
- ? (void 0 === t && (t = e.substr(0, n)), (t += Lt[i]))
- : void 0 !== t && (t += e[n]);
- }
- return void 0 !== t ? t : e;
- }
- function zt(e, t) {
- var n;
- return (
- (n =
- e.authority && e.path.length > 1 && 'file' === e.scheme
- ? '//' + e.authority + e.path
- : 47 === e.path.charCodeAt(0) &&
- ((e.path.charCodeAt(1) >= 65 && e.path.charCodeAt(1) <= 90) ||
- (e.path.charCodeAt(1) >= 97 &&
- e.path.charCodeAt(1) <= 122)) &&
- 58 === e.path.charCodeAt(2)
- ? t
- ? e.path.substr(1)
- : e.path[1].toLowerCase() + e.path.substr(2)
- : e.path),
- ft && (n = n.replace(/\//g, '\\')),
- n
- );
- }
- function Rt(e, t) {
- var n = t ? At : Et,
- i = '',
- r = e.scheme,
- a = e.authority,
- o = e.path,
- s = e.query,
- l = e.fragment;
- if (
- (r && ((i += r), (i += ':')),
- (a || 'file' === r) && ((i += Tt), (i += Tt)),
- a)
- ) {
- var c = a.indexOf('@');
- if (-1 !== c) {
- var h = a.substr(0, c);
- (a = a.substr(c + 1)),
- -1 === (c = h.indexOf(':'))
- ? (i += n(h, !1))
- : ((i += n(h.substr(0, c), !1)),
- (i += ':'),
- (i += n(h.substr(c + 1), !1))),
- (i += '@');
- }
- -1 === (c = (a = a.toLowerCase()).indexOf(':'))
- ? (i += n(a, !1))
- : ((i += n(a.substr(0, c), !1)), (i += a.substr(c)));
- }
- if (o) {
- if (o.length >= 3 && 47 === o.charCodeAt(0) && 58 === o.charCodeAt(2))
- (d = o.charCodeAt(1)) >= 65 &&
- d <= 90 &&
- (o = '/' + String.fromCharCode(d + 32) + ':' + o.substr(3));
- else if (o.length >= 2 && 58 === o.charCodeAt(1)) {
- var d;
- (d = o.charCodeAt(0)) >= 65 &&
- d <= 90 &&
- (o = String.fromCharCode(d + 32) + ':' + o.substr(2));
- }
- i += n(o, !0);
- }
- return (
- s && ((i += '?'), (i += n(s, !1))),
- l && ((i += '#'), (i += t ? l : Et(l, !1))),
- i
- );
- }
- function It(e) {
- try {
- return decodeURIComponent(e);
- } catch (t) {
- return e.length > 3 ? e.substr(0, 3) + It(e.substr(3)) : e;
- }
- }
- var Ht = /(%[0-9A-Za-z][0-9A-Za-z])+/g;
- function Ct(e) {
- return e.match(Ht)
- ? e.replace(Ht, function (e) {
- return It(e);
- })
- : e;
- }
- var Ut = {
- version: 1.1,
- tags: [
- {
- name: 'html',
- description: {
- kind: 'markdown',
- value:
- 'The html element represents the root of an HTML document.',
- },
- attributes: [
- {
- name: 'manifest',
- description: {
- kind: 'markdown',
- value:
- 'Specifies the URI of a resource manifest indicating resources that should be cached locally. See [Using the application cache](https://developer.mozilla.org/en-US/docs/Web/HTML/Using_the_application_cache) for details.',
- },
- },
- {
- name: 'version',
- description:
- 'Specifies the version of the HTML [Document Type Definition](https://developer.mozilla.org/en-US/docs/Glossary/DTD "Document Type Definition: In HTML, the doctype is the required "" preamble found at the top of all documents. Its sole purpose is to prevent a browser from switching into so-called âquirks modeâ when rendering a document; that is, the "" doctype ensures that the browser makes a best-effort attempt at following the relevant specifications, rather than using a different rendering mode that is incompatible with some specifications.") that governs the current document. This attribute is not needed, because it is redundant with the version information in the document type declaration.',
- },
- {
- name: 'xmlns',
- description:
- 'Specifies the XML Namespace of the document. Default value is `"http://www.w3.org/1999/xhtml"`. This is required in documents parsed with XML parsers, and optional in text/html documents.',
- },
- ],
- references: [
- {
- name: 'MDN Reference',
- url: 'https://developer.mozilla.org/docs/Web/HTML/Element/html',
- },
- ],
- },
- {
- name: 'head',
- description: {
- kind: 'markdown',
- value:
- 'The head element represents a collection of metadata for the Document.',
- },
- attributes: [
- {
- name: 'profile',
- description:
- 'The URIs of one or more metadata profiles, separated by white space.',
- },
- ],
- references: [
- {
- name: 'MDN Reference',
- url: 'https://developer.mozilla.org/docs/Web/HTML/Element/head',
- },
- ],
- },
- {
- name: 'title',
- description: {
- kind: 'markdown',
- value:
- "The title element represents the document's title or name. Authors should use titles that identify their documents even when they are used out of context, for example in a user's history or bookmarks, or in search results. The document's title is often different from its first heading, since the first heading does not have to stand alone when taken out of context.",
- },
- attributes: [],
- references: [
- {
- name: 'MDN Reference',
- url:
- 'https://developer.mozilla.org/docs/Web/HTML/Element/title',
- },
- ],
- },
- {
- name: 'base',
- description: {
- kind: 'markdown',
- value:
- 'The base element allows authors to specify the document base URL for the purposes of resolving relative URLs, and the name of the default browsing context for the purposes of following hyperlinks. The element does not represent any content beyond this information.',
- },
- attributes: [
- {
- name: 'href',
- description: {
- kind: 'markdown',
- value:
- 'The base URL to be used throughout the document for relative URL addresses. If this attribute is specified, this element must come before any other elements with attributes whose values are URLs. Absolute and relative URLs are allowed.',
- },
- },
- {
- name: 'target',
- description: {
- kind: 'markdown',
- value:
- 'A name or keyword indicating the default location to display the result when hyperlinks or forms cause navigation, for elements that do not have an explicit target reference. It is a name of, or keyword for, a _browsing context_ (for example: tab, window, or inline frame). The following keywords have special meanings:\n\n* `_self`: Load the result into the same browsing context as the current one. This value is the default if the attribute is not specified.\n* `_blank`: Load the result into a new unnamed browsing context.\n* `_parent`: Load the result into the parent browsing context of the current one. If there is no parent, this option behaves the same way as `_self`.\n* `_top`: Load the result into the top-level browsing context (that is, the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as `_self`.\n\nIf this attribute is specified, this element must come before any other elements with attributes whose values are URLs.',
- },
- },
- ],
- references: [
- {
- name: 'MDN Reference',
- url: 'https://developer.mozilla.org/docs/Web/HTML/Element/base',
- },
- ],
- },
- {
- name: 'link',
- description: {
- kind: 'markdown',
- value:
- 'The link element allows authors to link their document to other resources.',
- },
- attributes: [
- {
- name: 'href',
- description: {
- kind: 'markdown',
- value:
- 'This attribute specifies the [URL](https://developer.mozilla.org/en-US/docs/Glossary/URL "URL: Uniform Resource Locator (URL) is a text string specifying where a resource can be found on the Internet.") of the linked resource. A URL can be absolute or relative.',
- },
- },
- {
- name: 'crossorigin',
- valueSet: 'xo',
- description: {
- kind: 'markdown',
- value:
- 'This enumerated attribute indicates whether [CORS](https://developer.mozilla.org/en-US/docs/Glossary/CORS "CORS: CORS (Cross-Origin Resource Sharing) is a system, consisting of transmitting HTTP headers, that determines whether browsers block frontend JavaScript code from accessing responses for cross-origin requests.") must be used when fetching the resource. [CORS-enabled images](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_Enabled_Image) can be reused in the [`