@hpcc-js/markdown-it-plugins 1.5.7 → 1.5.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +43 -43
- package/README.md +47 -47
- package/dist/assets/hpcc-systems-dark.svg +78 -78
- package/dist/assets/hpcc-systems.svg +68 -68
- package/dist/ecl-lang.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +1 -1
- package/dist/index.umd.cjs.map +1 -1
- package/dist/loader.node.js.map +1 -1
- package/package.json +4 -4
- package/src/__package__.ts +3 -3
- package/src/ecl-lang/ecl-configuration.json +163 -163
- package/src/ecl-lang/ecl.tmLanguage.json +347 -347
- package/src/ecl-lang/index.ts +12 -12
- package/src/fence.ts +59 -59
- package/src/index.ts +47 -47
- package/src/loader.ts +154 -154
- package/src/render.ts +63 -63
- package/src/template-literal.ts +113 -113
- package/src/util.ts +81 -81
- package/src/vitepress/RenderComponent.vue +32 -32
- package/src/vitepress/card.css +43 -43
- package/src/vitepress/global.css +284 -284
- package/src/vitepress/grid.css +82 -82
- package/src/vitepress/inspector.css +193 -193
- package/src/vitepress/layout.css +684 -684
- package/src/vitepress/note.css +80 -80
- package/src/vitepress/plot.css +6 -6
- package/src/vitepress/style.css +113 -113
- package/src/vitepress/styles.ts +8 -8
package/LICENSE
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems.
|
|
2
|
-
|
|
3
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
you may not use this file except in compliance with the License.
|
|
5
|
-
You may obtain a copy of the License at
|
|
6
|
-
|
|
7
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
-
|
|
9
|
-
Unless required by applicable law or agreed to in writing, software
|
|
10
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
-
See the License for the specific language governing permissions and
|
|
13
|
-
limitations under the License.
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
Intersection Algorithms Provided by Kevin Lindsey
|
|
17
|
-
Copyright (c) 2000-2011, Kevin Lindsey
|
|
18
|
-
All rights reserved.
|
|
19
|
-
|
|
20
|
-
Redistribution and use in source and binary forms, with or without
|
|
21
|
-
modification, are permitted provided that the following conditions are met:
|
|
22
|
-
|
|
23
|
-
- Redistributions of source code must retain the above copyright notice,
|
|
24
|
-
this list of conditions and the following disclaimer.
|
|
25
|
-
|
|
26
|
-
- Redistributions in binary form must reproduce the above copyright
|
|
27
|
-
notice, this list of conditions and the following disclaimer in the
|
|
28
|
-
documentation and/or other materials provided with the distribution.
|
|
29
|
-
|
|
30
|
-
- Neither the name of this software nor the names of its contributors
|
|
31
|
-
may be used to endorse or promote products derived from this software
|
|
32
|
-
without specific prior written permission.
|
|
33
|
-
|
|
34
|
-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
35
|
-
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
36
|
-
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
37
|
-
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
|
|
38
|
-
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
|
39
|
-
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
|
40
|
-
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
|
41
|
-
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
42
|
-
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
43
|
-
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
1
|
+
HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems.
|
|
2
|
+
|
|
3
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
you may not use this file except in compliance with the License.
|
|
5
|
+
You may obtain a copy of the License at
|
|
6
|
+
|
|
7
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
|
|
9
|
+
Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
See the License for the specific language governing permissions and
|
|
13
|
+
limitations under the License.
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
Intersection Algorithms Provided by Kevin Lindsey
|
|
17
|
+
Copyright (c) 2000-2011, Kevin Lindsey
|
|
18
|
+
All rights reserved.
|
|
19
|
+
|
|
20
|
+
Redistribution and use in source and binary forms, with or without
|
|
21
|
+
modification, are permitted provided that the following conditions are met:
|
|
22
|
+
|
|
23
|
+
- Redistributions of source code must retain the above copyright notice,
|
|
24
|
+
this list of conditions and the following disclaimer.
|
|
25
|
+
|
|
26
|
+
- Redistributions in binary form must reproduce the above copyright
|
|
27
|
+
notice, this list of conditions and the following disclaimer in the
|
|
28
|
+
documentation and/or other materials provided with the distribution.
|
|
29
|
+
|
|
30
|
+
- Neither the name of this software nor the names of its contributors
|
|
31
|
+
may be used to endorse or promote products derived from this software
|
|
32
|
+
without specific prior written permission.
|
|
33
|
+
|
|
34
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
35
|
+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
36
|
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
37
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
|
|
38
|
+
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
|
39
|
+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
|
40
|
+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
|
41
|
+
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
42
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
43
|
+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
package/README.md
CHANGED
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
# @hpcc-js/markdown-it-plugins
|
|
2
|
-
|
|
3
|
-
_Collection of plugins and extensions for [markdown-it](https://github.com/markdown-it/markdown-it) and [VitePress](https://vitepress.dev)._
|
|
4
|
-
|
|
5
|
-
## Quick Start
|
|
6
|
-
|
|
7
|
-
_Simple example of using the `exec` directive to execute ObservableHQ style JavaScript code in markdown:_
|
|
8
|
-
|
|
9
|
-
1. Install with your package manager of choice:
|
|
10
|
-
|
|
11
|
-
```bash
|
|
12
|
-
npm install --save @hpcc-js/markdown-it-plugins
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
2. Initialise `markdown-it` as normal and `use` the `observable` plugin:
|
|
16
|
-
|
|
17
|
-
```js
|
|
18
|
-
import markdownit from "markdown-it";
|
|
19
|
-
import { observable } from "@hpcc-js/markdown-it-plugins";
|
|
20
|
-
|
|
21
|
-
const md = markdownit({
|
|
22
|
-
html: true,
|
|
23
|
-
linkify: true,
|
|
24
|
-
typographer: true
|
|
25
|
-
});
|
|
26
|
-
|
|
27
|
-
const md = markdownit();
|
|
28
|
-
md.use(observable);
|
|
29
|
-
|
|
30
|
-
const html = md.render(`\
|
|
31
|
-
# Hello World - I am ${age} years old!
|
|
32
|
-
|
|
33
|
-
\`\`\`js exec
|
|
34
|
-
age = 20 + 1;
|
|
35
|
-
\`\`\`
|
|
36
|
-
`);
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
Which will produce: `Hello World - I am 21 years old!`
|
|
40
|
-
|
|
41
|
-
## Documentation
|
|
42
|
-
|
|
43
|
-
* ObservableHQ style notebook Integration:
|
|
44
|
-
* [markdown-it](docs/observablehq-markdown-it.md)
|
|
45
|
-
* [VitePress](docs/observablehq-vitepress.md)
|
|
46
|
-
* ECL Code Highlighting
|
|
47
|
-
* [VitePress](docs/ecl-vitepress.md)
|
|
1
|
+
# @hpcc-js/markdown-it-plugins
|
|
2
|
+
|
|
3
|
+
_Collection of plugins and extensions for [markdown-it](https://github.com/markdown-it/markdown-it) and [VitePress](https://vitepress.dev)._
|
|
4
|
+
|
|
5
|
+
## Quick Start
|
|
6
|
+
|
|
7
|
+
_Simple example of using the `exec` directive to execute ObservableHQ style JavaScript code in markdown:_
|
|
8
|
+
|
|
9
|
+
1. Install with your package manager of choice:
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npm install --save @hpcc-js/markdown-it-plugins
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
2. Initialise `markdown-it` as normal and `use` the `observable` plugin:
|
|
16
|
+
|
|
17
|
+
```js
|
|
18
|
+
import markdownit from "markdown-it";
|
|
19
|
+
import { observable } from "@hpcc-js/markdown-it-plugins";
|
|
20
|
+
|
|
21
|
+
const md = markdownit({
|
|
22
|
+
html: true,
|
|
23
|
+
linkify: true,
|
|
24
|
+
typographer: true
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
const md = markdownit();
|
|
28
|
+
md.use(observable);
|
|
29
|
+
|
|
30
|
+
const html = md.render(`\
|
|
31
|
+
# Hello World - I am ${age} years old!
|
|
32
|
+
|
|
33
|
+
\`\`\`js exec
|
|
34
|
+
age = 20 + 1;
|
|
35
|
+
\`\`\`
|
|
36
|
+
`);
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
Which will produce: `Hello World - I am 21 years old!`
|
|
40
|
+
|
|
41
|
+
## Documentation
|
|
42
|
+
|
|
43
|
+
* ObservableHQ style notebook Integration:
|
|
44
|
+
* [markdown-it](docs/observablehq-markdown-it.md)
|
|
45
|
+
* [VitePress](docs/observablehq-vitepress.md)
|
|
46
|
+
* ECL Code Highlighting
|
|
47
|
+
* [VitePress](docs/ecl-vitepress.md)
|
|
48
48
|
d
|
|
@@ -1,79 +1,79 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<svg id="Layer_2" data-name="Layer 2" xmlns="http://www.w3.org/2000/svg" width="580.15"
|
|
3
|
-
height="182.22" viewBox="0 0 580.15 182.22">
|
|
4
|
-
<g id="Layer_1-2" data-name="Layer 1">
|
|
5
|
-
<g>
|
|
6
|
-
<g>
|
|
7
|
-
<polygon
|
|
8
|
-
points="249.96 23.64 249.96 72.84 203.06 72.84 203.06 23.64 185.23 23.64 185.23 128.34 203.06 128.34 203.06 89.66 249.96 89.66 249.96 128.34 267.79 128.34 267.79 23.64 249.96 23.64"
|
|
9
|
-
style="fill: #fff;" />
|
|
10
|
-
<path
|
|
11
|
-
d="M327.47,23.64h-45.41v104.7h17.83v-38.38h27.57c18.46,0,33.47-14.85,33.47-33.09s-15.02-33.22-33.47-33.22Zm-27.57,17.2h27.07c8.91,0,16.15,7.19,16.15,16.03s-7.25,15.9-16.15,15.9h-27.07v-31.92Z"
|
|
12
|
-
style="fill: #fff;" />
|
|
13
|
-
<path
|
|
14
|
-
d="M457.26,114.78c-9.89,9.17-22.84,14.4-36.37,14.4-29.53,0-53.54-24.15-53.54-53.69s24.01-53.54,53.54-53.54c13.53,0,26.48,4.95,36.37,14.11l-12.8,13.82c-6.4-5.97-14.84-9.31-23.57-9.31-19.2,0-34.77,15.71-34.77,34.92s15.57,34.92,34.77,34.92c8.87,0,17.31-3.35,23.71-9.31l12.66,13.68Z"
|
|
15
|
-
style="fill: #fff;" />
|
|
16
|
-
<path
|
|
17
|
-
d="M550.64,114.78c-9.89,9.17-22.84,14.4-36.37,14.4-29.53,0-53.54-24.15-53.54-53.69s24.01-53.54,53.54-53.54c13.53,0,26.48,4.95,36.37,14.11l-12.8,13.82c-6.4-5.97-14.84-9.31-23.57-9.31-19.2,0-34.77,15.71-34.77,34.92s15.57,34.92,34.77,34.92c8.87,0,17.31-3.35,23.71-9.31l12.66,13.68Z"
|
|
18
|
-
style="fill: #fff;" />
|
|
19
|
-
</g>
|
|
20
|
-
<g>
|
|
21
|
-
<path
|
|
22
|
-
d="M207.28,174.43c0,5.86-5.52,7.79-11.23,7.79-3.9,0-7.34-.91-10.82-2.91l2.46-3.9c2.69,1.48,5.71,2.42,8.55,2.42,3.63,0,5.98-.95,5.98-3.14,0-2.42-3.21-3.33-6.73-4.43-4.58-1.4-9.72-2.99-9.72-8.32,0-2.12,.91-3.9,2.65-5.18,1.89-1.36,4.69-2.08,8.13-2.08s6.73,.91,10.21,2.91l-2.38,3.78c-2.72-1.51-5.26-2.35-8.06-2.35-3.71,0-5.48,1.13-5.48,2.72,0,2.5,3.29,3.37,6.92,4.5,4.46,1.4,9.53,3.14,9.53,8.17Z"
|
|
23
|
-
style="fill: #fff;" />
|
|
24
|
-
<path
|
|
25
|
-
d="M265.43,155.21l-10.78,15.92v10.52h-4.88v-10.52l-10.74-15.92h5.56l7.64,11.31,7.64-11.31h5.56Z"
|
|
26
|
-
style="fill: #fff;" />
|
|
27
|
-
<path
|
|
28
|
-
d="M318.44,174.43c0,5.86-5.52,7.79-11.23,7.79-3.9,0-7.34-.91-10.82-2.91l2.46-3.9c2.69,1.48,5.71,2.42,8.55,2.42,3.63,0,5.98-.95,5.98-3.14,0-2.42-3.21-3.33-6.73-4.43-4.58-1.4-9.72-2.99-9.72-8.32,0-2.12,.91-3.9,2.65-5.18,1.89-1.36,4.69-2.08,8.13-2.08s6.73,.91,10.21,2.91l-2.38,3.78c-2.72-1.51-5.26-2.35-8.06-2.35-3.71,0-5.48,1.13-5.48,2.72,0,2.5,3.29,3.37,6.92,4.5,4.46,1.4,9.53,3.14,9.53,8.17Z"
|
|
29
|
-
style="fill: #fff;" />
|
|
30
|
-
<path d="M374.7,155.21v4.54h-9.27v21.9h-4.84v-21.9h-9.27v-4.54h23.38Z"
|
|
31
|
-
style="fill: #fff;" />
|
|
32
|
-
<path
|
|
33
|
-
d="M413.98,159.75v6.39h13.58v4.58h-13.58v6.35h16.42v4.58h-21.3v-26.44h21.3v4.54h-16.42Z"
|
|
34
|
-
style="fill: #fff;" />
|
|
35
|
-
<path
|
|
36
|
-
d="M494.3,181.66h-4.84v-17.36l-8.17,11.42h-2.84l-8.17-11.42v17.36h-4.88v-26.44h3.82l10.63,14.9,10.67-14.9h3.78v26.44Z"
|
|
37
|
-
style="fill: #fff;" />
|
|
38
|
-
<path
|
|
39
|
-
d="M550.64,174.43c0,5.86-5.52,7.79-11.23,7.79-3.9,0-7.34-.91-10.82-2.91l2.46-3.9c2.69,1.48,5.71,2.42,8.55,2.42,3.63,0,5.98-.95,5.98-3.14,0-2.42-3.21-3.33-6.73-4.43-4.58-1.4-9.72-2.99-9.72-8.32,0-2.12,.91-3.9,2.65-5.18,1.89-1.36,4.69-2.08,8.13-2.08s6.73,.91,10.21,2.91l-2.38,3.78c-2.72-1.51-5.26-2.35-8.06-2.35-3.71,0-5.48,1.13-5.48,2.72,0,2.5,3.29,3.37,6.92,4.5,4.46,1.4,9.53,3.14,9.53,8.17Z"
|
|
40
|
-
style="fill: #fff;" />
|
|
41
|
-
</g>
|
|
42
|
-
<g>
|
|
43
|
-
<circle cx="81.95" cy="81.95" r="81.95" style="fill: #347faa;" />
|
|
44
|
-
<path
|
|
45
|
-
d="M78.58,48.84c6.6,4.33,16.44,.43,16.22-8.68,0,0,0,0,0-.01s0,0,0-.01c0,0,0,0,0-.01s0,0,0-.01c0,0,0,0,0-.01,0,0,0,0,0-.01,0,0,0,0,0,0,0,0,0,0,0-.01-1.07-7.57-7.8-9.79-12.23-8.95-8.97,1.71-11.46,12.79-3.98,17.71Z"
|
|
46
|
-
style="fill: #fff;" />
|
|
47
|
-
<path
|
|
48
|
-
d="M74.29,122.72h0s0,.01,0,.02c0,0,0,0,0,0,0,0,0,0,0,0s0,0,0,0c0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0-.19,9.67,11.57,13.12,17.66,7.29,2.33-2.23,2.66-4.69,2.83-5.88,.18-7.76-6.46-10.35-10.68-10.16-3.22,.14-8.9,2.14-9.8,8.69Z"
|
|
49
|
-
style="fill: #fff;" />
|
|
50
|
-
<path
|
|
51
|
-
d="M99.52,112.51c7.45,6.41,19.21,1.37,19.66-8.43-.09-8.73-7.3-12.09-12.39-11.7-10.5,.82-15.06,13.42-7.27,20.13Z"
|
|
52
|
-
style="fill: #fff;" />
|
|
53
|
-
<path
|
|
54
|
-
d="M124.12,92.72c7.56,6.34,19.87,2.09,20.49-9.99,0-7.8-6.35-13.72-13.86-12.93-11,1.15-15.22,15.72-6.64,22.92Z"
|
|
55
|
-
style="fill: #fff;" />
|
|
56
|
-
<path
|
|
57
|
-
d="M95.58,61.36s0,0,0,0c0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1.09,11.81,14.91,14.82,21.05,7.1,2.36-2.97,2.41-6.02,2.43-7.48h0s0,0,0,0h0s0,0,0,0c0,0,0,0,0,0h0s0,0,0,0c0,0,0,0,0,0-.78-8.96-8.29-12.15-13.37-11.55-3.45,.4-9.99,3.41-10.11,11.9Z"
|
|
58
|
-
style="fill: #fff;" />
|
|
59
|
-
<g>
|
|
60
|
-
<path
|
|
61
|
-
d="M51.79,112.51c7.45,6.41,19.21,1.37,19.66-8.43-.09-8.73-7.3-12.09-12.39-11.7-10.5,.82-15.06,13.42-7.27,20.13Z"
|
|
62
|
-
style="fill: #8dd4ff;" />
|
|
63
|
-
<path
|
|
64
|
-
d="M76.4,92.72c7.56,6.34,19.87,2.09,20.49-9.99,0-7.8-6.35-13.72-13.86-12.93-11,1.15-15.22,15.72-6.64,22.92Z"
|
|
65
|
-
style="fill: #8dd4ff;" />
|
|
66
|
-
<path
|
|
67
|
-
d="M47.86,61.36s0,0,0,0c0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1.09,11.81,14.91,14.82,21.05,7.1,2.36-2.97,2.41-6.02,2.43-7.48h0s0,0,0,0h0s0,0,0,0c0,0,0,0,0,0h0s0,0,0,0c0,0,0,0,0,0-.78-8.96-8.29-12.15-13.37-11.55-3.45,.4-9.99,3.41-10.11,11.9Z"
|
|
68
|
-
style="fill: #8dd4ff;" />
|
|
69
|
-
</g>
|
|
70
|
-
<path
|
|
71
|
-
d="M27.9,92.72c7.56,6.34,19.87,2.09,20.49-9.99,0-7.8-6.35-13.72-13.86-12.93-11,1.15-15.22,15.72-6.64,22.92Z"
|
|
72
|
-
style="fill: #00af91;" />
|
|
73
|
-
</g>
|
|
74
|
-
</g>
|
|
75
|
-
<path
|
|
76
|
-
d="M563.94,25.65h-2.56v-2.01h7.3v2.01h-2.54v6.59h-2.2v-6.59Zm7.31-2.01h2.56l1.18,2.92,.66,1.98h.11l.69-1.98,1.16-2.92h2.54v8.6h-2.01v-3.14l.25-3.06h-.11l-1.76,4.91h-1.6l-1.76-4.91h-.11l.25,3.06v3.14h-2.04v-8.6Z"
|
|
77
|
-
style="fill: #fff;" />
|
|
78
|
-
</g>
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg id="Layer_2" data-name="Layer 2" xmlns="http://www.w3.org/2000/svg" width="580.15"
|
|
3
|
+
height="182.22" viewBox="0 0 580.15 182.22">
|
|
4
|
+
<g id="Layer_1-2" data-name="Layer 1">
|
|
5
|
+
<g>
|
|
6
|
+
<g>
|
|
7
|
+
<polygon
|
|
8
|
+
points="249.96 23.64 249.96 72.84 203.06 72.84 203.06 23.64 185.23 23.64 185.23 128.34 203.06 128.34 203.06 89.66 249.96 89.66 249.96 128.34 267.79 128.34 267.79 23.64 249.96 23.64"
|
|
9
|
+
style="fill: #fff;" />
|
|
10
|
+
<path
|
|
11
|
+
d="M327.47,23.64h-45.41v104.7h17.83v-38.38h27.57c18.46,0,33.47-14.85,33.47-33.09s-15.02-33.22-33.47-33.22Zm-27.57,17.2h27.07c8.91,0,16.15,7.19,16.15,16.03s-7.25,15.9-16.15,15.9h-27.07v-31.92Z"
|
|
12
|
+
style="fill: #fff;" />
|
|
13
|
+
<path
|
|
14
|
+
d="M457.26,114.78c-9.89,9.17-22.84,14.4-36.37,14.4-29.53,0-53.54-24.15-53.54-53.69s24.01-53.54,53.54-53.54c13.53,0,26.48,4.95,36.37,14.11l-12.8,13.82c-6.4-5.97-14.84-9.31-23.57-9.31-19.2,0-34.77,15.71-34.77,34.92s15.57,34.92,34.77,34.92c8.87,0,17.31-3.35,23.71-9.31l12.66,13.68Z"
|
|
15
|
+
style="fill: #fff;" />
|
|
16
|
+
<path
|
|
17
|
+
d="M550.64,114.78c-9.89,9.17-22.84,14.4-36.37,14.4-29.53,0-53.54-24.15-53.54-53.69s24.01-53.54,53.54-53.54c13.53,0,26.48,4.95,36.37,14.11l-12.8,13.82c-6.4-5.97-14.84-9.31-23.57-9.31-19.2,0-34.77,15.71-34.77,34.92s15.57,34.92,34.77,34.92c8.87,0,17.31-3.35,23.71-9.31l12.66,13.68Z"
|
|
18
|
+
style="fill: #fff;" />
|
|
19
|
+
</g>
|
|
20
|
+
<g>
|
|
21
|
+
<path
|
|
22
|
+
d="M207.28,174.43c0,5.86-5.52,7.79-11.23,7.79-3.9,0-7.34-.91-10.82-2.91l2.46-3.9c2.69,1.48,5.71,2.42,8.55,2.42,3.63,0,5.98-.95,5.98-3.14,0-2.42-3.21-3.33-6.73-4.43-4.58-1.4-9.72-2.99-9.72-8.32,0-2.12,.91-3.9,2.65-5.18,1.89-1.36,4.69-2.08,8.13-2.08s6.73,.91,10.21,2.91l-2.38,3.78c-2.72-1.51-5.26-2.35-8.06-2.35-3.71,0-5.48,1.13-5.48,2.72,0,2.5,3.29,3.37,6.92,4.5,4.46,1.4,9.53,3.14,9.53,8.17Z"
|
|
23
|
+
style="fill: #fff;" />
|
|
24
|
+
<path
|
|
25
|
+
d="M265.43,155.21l-10.78,15.92v10.52h-4.88v-10.52l-10.74-15.92h5.56l7.64,11.31,7.64-11.31h5.56Z"
|
|
26
|
+
style="fill: #fff;" />
|
|
27
|
+
<path
|
|
28
|
+
d="M318.44,174.43c0,5.86-5.52,7.79-11.23,7.79-3.9,0-7.34-.91-10.82-2.91l2.46-3.9c2.69,1.48,5.71,2.42,8.55,2.42,3.63,0,5.98-.95,5.98-3.14,0-2.42-3.21-3.33-6.73-4.43-4.58-1.4-9.72-2.99-9.72-8.32,0-2.12,.91-3.9,2.65-5.18,1.89-1.36,4.69-2.08,8.13-2.08s6.73,.91,10.21,2.91l-2.38,3.78c-2.72-1.51-5.26-2.35-8.06-2.35-3.71,0-5.48,1.13-5.48,2.72,0,2.5,3.29,3.37,6.92,4.5,4.46,1.4,9.53,3.14,9.53,8.17Z"
|
|
29
|
+
style="fill: #fff;" />
|
|
30
|
+
<path d="M374.7,155.21v4.54h-9.27v21.9h-4.84v-21.9h-9.27v-4.54h23.38Z"
|
|
31
|
+
style="fill: #fff;" />
|
|
32
|
+
<path
|
|
33
|
+
d="M413.98,159.75v6.39h13.58v4.58h-13.58v6.35h16.42v4.58h-21.3v-26.44h21.3v4.54h-16.42Z"
|
|
34
|
+
style="fill: #fff;" />
|
|
35
|
+
<path
|
|
36
|
+
d="M494.3,181.66h-4.84v-17.36l-8.17,11.42h-2.84l-8.17-11.42v17.36h-4.88v-26.44h3.82l10.63,14.9,10.67-14.9h3.78v26.44Z"
|
|
37
|
+
style="fill: #fff;" />
|
|
38
|
+
<path
|
|
39
|
+
d="M550.64,174.43c0,5.86-5.52,7.79-11.23,7.79-3.9,0-7.34-.91-10.82-2.91l2.46-3.9c2.69,1.48,5.71,2.42,8.55,2.42,3.63,0,5.98-.95,5.98-3.14,0-2.42-3.21-3.33-6.73-4.43-4.58-1.4-9.72-2.99-9.72-8.32,0-2.12,.91-3.9,2.65-5.18,1.89-1.36,4.69-2.08,8.13-2.08s6.73,.91,10.21,2.91l-2.38,3.78c-2.72-1.51-5.26-2.35-8.06-2.35-3.71,0-5.48,1.13-5.48,2.72,0,2.5,3.29,3.37,6.92,4.5,4.46,1.4,9.53,3.14,9.53,8.17Z"
|
|
40
|
+
style="fill: #fff;" />
|
|
41
|
+
</g>
|
|
42
|
+
<g>
|
|
43
|
+
<circle cx="81.95" cy="81.95" r="81.95" style="fill: #347faa;" />
|
|
44
|
+
<path
|
|
45
|
+
d="M78.58,48.84c6.6,4.33,16.44,.43,16.22-8.68,0,0,0,0,0-.01s0,0,0-.01c0,0,0,0,0-.01s0,0,0-.01c0,0,0,0,0-.01,0,0,0,0,0-.01,0,0,0,0,0,0,0,0,0,0,0-.01-1.07-7.57-7.8-9.79-12.23-8.95-8.97,1.71-11.46,12.79-3.98,17.71Z"
|
|
46
|
+
style="fill: #fff;" />
|
|
47
|
+
<path
|
|
48
|
+
d="M74.29,122.72h0s0,.01,0,.02c0,0,0,0,0,0,0,0,0,0,0,0s0,0,0,0c0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0-.19,9.67,11.57,13.12,17.66,7.29,2.33-2.23,2.66-4.69,2.83-5.88,.18-7.76-6.46-10.35-10.68-10.16-3.22,.14-8.9,2.14-9.8,8.69Z"
|
|
49
|
+
style="fill: #fff;" />
|
|
50
|
+
<path
|
|
51
|
+
d="M99.52,112.51c7.45,6.41,19.21,1.37,19.66-8.43-.09-8.73-7.3-12.09-12.39-11.7-10.5,.82-15.06,13.42-7.27,20.13Z"
|
|
52
|
+
style="fill: #fff;" />
|
|
53
|
+
<path
|
|
54
|
+
d="M124.12,92.72c7.56,6.34,19.87,2.09,20.49-9.99,0-7.8-6.35-13.72-13.86-12.93-11,1.15-15.22,15.72-6.64,22.92Z"
|
|
55
|
+
style="fill: #fff;" />
|
|
56
|
+
<path
|
|
57
|
+
d="M95.58,61.36s0,0,0,0c0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1.09,11.81,14.91,14.82,21.05,7.1,2.36-2.97,2.41-6.02,2.43-7.48h0s0,0,0,0h0s0,0,0,0c0,0,0,0,0,0h0s0,0,0,0c0,0,0,0,0,0-.78-8.96-8.29-12.15-13.37-11.55-3.45,.4-9.99,3.41-10.11,11.9Z"
|
|
58
|
+
style="fill: #fff;" />
|
|
59
|
+
<g>
|
|
60
|
+
<path
|
|
61
|
+
d="M51.79,112.51c7.45,6.41,19.21,1.37,19.66-8.43-.09-8.73-7.3-12.09-12.39-11.7-10.5,.82-15.06,13.42-7.27,20.13Z"
|
|
62
|
+
style="fill: #8dd4ff;" />
|
|
63
|
+
<path
|
|
64
|
+
d="M76.4,92.72c7.56,6.34,19.87,2.09,20.49-9.99,0-7.8-6.35-13.72-13.86-12.93-11,1.15-15.22,15.72-6.64,22.92Z"
|
|
65
|
+
style="fill: #8dd4ff;" />
|
|
66
|
+
<path
|
|
67
|
+
d="M47.86,61.36s0,0,0,0c0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1.09,11.81,14.91,14.82,21.05,7.1,2.36-2.97,2.41-6.02,2.43-7.48h0s0,0,0,0h0s0,0,0,0c0,0,0,0,0,0h0s0,0,0,0c0,0,0,0,0,0-.78-8.96-8.29-12.15-13.37-11.55-3.45,.4-9.99,3.41-10.11,11.9Z"
|
|
68
|
+
style="fill: #8dd4ff;" />
|
|
69
|
+
</g>
|
|
70
|
+
<path
|
|
71
|
+
d="M27.9,92.72c7.56,6.34,19.87,2.09,20.49-9.99,0-7.8-6.35-13.72-13.86-12.93-11,1.15-15.22,15.72-6.64,22.92Z"
|
|
72
|
+
style="fill: #00af91;" />
|
|
73
|
+
</g>
|
|
74
|
+
</g>
|
|
75
|
+
<path
|
|
76
|
+
d="M563.94,25.65h-2.56v-2.01h7.3v2.01h-2.54v6.59h-2.2v-6.59Zm7.31-2.01h2.56l1.18,2.92,.66,1.98h.11l.69-1.98,1.16-2.92h2.54v8.6h-2.01v-3.14l.25-3.06h-.11l-1.76,4.91h-1.6l-1.76-4.91h-.11l.25,3.06v3.14h-2.04v-8.6Z"
|
|
77
|
+
style="fill: #fff;" />
|
|
78
|
+
</g>
|
|
79
79
|
</svg>
|
|
@@ -1,69 +1,69 @@
|
|
|
1
|
-
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" width="580.15"
|
|
2
|
-
height="182.22" viewBox="0 0 580.15 182.22">
|
|
3
|
-
<defs>
|
|
4
|
-
<style>
|
|
5
|
-
.cls-1{fill:#0a314f;}.cls-2{fill:#095f8a;}.cls-3{fill:#fff;}.cls-4{fill:#60a9d4;}.cls-5{fill:#00ae8f;}</style>
|
|
6
|
-
</defs>
|
|
7
|
-
<polygon class="cls-1"
|
|
8
|
-
points="249.96 23.64 249.96 72.84 203.06 72.84 203.06 23.64 185.22 23.64 185.22 128.34 203.06 128.34 203.06 89.66 249.96 89.66 249.96 128.34 267.79 128.34 267.79 23.64 249.96 23.64" />
|
|
9
|
-
<path class="cls-1"
|
|
10
|
-
d="M432.16,128.34h-45.4V233h17.83V194.66h27.57a33.16,33.16,0,1,0,0-66.32Zm-27.57,17.2h27.07a16,16,0,1,1,0,31.92H404.59Z"
|
|
11
|
-
transform="translate(-104.7 -104.7)" />
|
|
12
|
-
<path class="cls-1"
|
|
13
|
-
d="M562,219.48a53.47,53.47,0,1,1,0-78.71l-12.8,13.82a34.85,34.85,0,1,0,.15,51.22Z"
|
|
14
|
-
transform="translate(-104.7 -104.7)" />
|
|
15
|
-
<path class="cls-1"
|
|
16
|
-
d="M655.33,219.48a53.47,53.47,0,1,1,0-78.71l-12.8,13.82a34.85,34.85,0,1,0,.15,51.22Z"
|
|
17
|
-
transform="translate(-104.7 -104.7)" />
|
|
18
|
-
<path class="cls-2"
|
|
19
|
-
d="M312,279.13c0,5.86-5.53,7.79-11.24,7.79A20.92,20.92,0,0,1,289.92,284l2.46-3.9a18.27,18.27,0,0,0,8.55,2.42c3.63,0,6-.94,6-3.14,0-2.42-3.22-3.33-6.73-4.42-4.58-1.4-9.73-3-9.73-8.32a6.23,6.23,0,0,1,2.65-5.19c1.89-1.36,4.69-2.08,8.13-2.08a19.51,19.51,0,0,1,10.22,2.92l-2.39,3.78a16.19,16.19,0,0,0-8.05-2.35c-3.71,0-5.49,1.14-5.49,2.73,0,2.49,3.29,3.36,6.92,4.5C306.91,272.36,312,274.1,312,279.13Z"
|
|
20
|
-
transform="translate(-104.7 -104.7)" />
|
|
21
|
-
<path class="cls-2"
|
|
22
|
-
d="M370.13,259.91l-10.78,15.93v10.51h-4.88V275.84l-10.74-15.93h5.56l7.64,11.31,7.64-11.31Z"
|
|
23
|
-
transform="translate(-104.7 -104.7)" />
|
|
24
|
-
<path class="cls-2"
|
|
25
|
-
d="M423.14,279.13c0,5.86-5.52,7.79-11.24,7.79A20.88,20.88,0,0,1,401.09,284l2.45-3.9a18.27,18.27,0,0,0,8.55,2.42c3.63,0,6-.94,6-3.14,0-2.42-3.22-3.33-6.73-4.42-4.58-1.4-9.72-3-9.72-8.32a6.23,6.23,0,0,1,2.64-5.19c1.89-1.36,4.69-2.08,8.14-2.08a19.5,19.5,0,0,1,10.21,2.92l-2.38,3.78a16.25,16.25,0,0,0-8.06-2.35c-3.71,0-5.49,1.14-5.49,2.73,0,2.49,3.29,3.36,6.93,4.5C418.07,272.36,423.14,274.1,423.14,279.13Z"
|
|
26
|
-
transform="translate(-104.7 -104.7)" />
|
|
27
|
-
<path class="cls-2" d="M479.4,259.91v4.54h-9.27v21.9h-4.84v-21.9H456v-4.54Z"
|
|
28
|
-
transform="translate(-104.7 -104.7)" />
|
|
29
|
-
<path class="cls-2"
|
|
30
|
-
d="M518.68,264.45v6.4h13.58v4.57H518.68v6.36h16.41v4.57H513.8V259.91h21.29v4.54Z"
|
|
31
|
-
transform="translate(-104.7 -104.7)" />
|
|
32
|
-
<path class="cls-2"
|
|
33
|
-
d="M599,286.35h-4.84V269L586,280.42h-2.83L575,269v17.36H570.1V259.91h3.82l10.63,14.91,10.66-14.91H599Z"
|
|
34
|
-
transform="translate(-104.7 -104.7)" />
|
|
35
|
-
<path class="cls-2"
|
|
36
|
-
d="M655.33,279.13c0,5.86-5.52,7.79-11.23,7.79A20.89,20.89,0,0,1,633.28,284l2.46-3.9a18.23,18.23,0,0,0,8.55,2.42c3.63,0,6-.94,6-3.14,0-2.42-3.22-3.33-6.74-4.42-4.57-1.4-9.72-3-9.72-8.32a6.23,6.23,0,0,1,2.65-5.19c1.89-1.36,4.69-2.08,8.13-2.08a19.53,19.53,0,0,1,10.22,2.92l-2.39,3.78a16.22,16.22,0,0,0-8-2.35c-3.71,0-5.49,1.14-5.49,2.73,0,2.49,3.29,3.36,6.92,4.5C650.27,272.36,655.33,274.1,655.33,279.13Z"
|
|
37
|
-
transform="translate(-104.7 -104.7)" />
|
|
38
|
-
<circle class="cls-1" cx="81.95" cy="81.95" r="81.95" />
|
|
39
|
-
<path class="cls-3"
|
|
40
|
-
d="M183.27,153.54c6.6,4.33,16.45.43,16.22-8.68h0a10.3,10.3,0,0,0-12.23-8.95C178.29,137.54,175.79,148.63,183.27,153.54Z"
|
|
41
|
-
transform="translate(-104.7 -104.7)" />
|
|
42
|
-
<path class="cls-3"
|
|
43
|
-
d="M179,227.42h0c-.19,9.68,11.57,13.12,17.66,7.29a9.28,9.28,0,0,0,2.83-5.88c.18-7.76-6.46-10.35-10.69-10.16C185.57,218.87,179.88,220.87,179,227.42Z"
|
|
44
|
-
transform="translate(-104.7 -104.7)" />
|
|
45
|
-
<path class="cls-3"
|
|
46
|
-
d="M204.22,217.21a12,12,0,0,0,19.66-8.43,11.41,11.41,0,0,0-12.39-11.7C201,197.9,196.43,210.5,204.22,217.21Z"
|
|
47
|
-
transform="translate(-104.7 -104.7)" />
|
|
48
|
-
<path class="cls-3"
|
|
49
|
-
d="M228.82,197.42c7.56,6.34,19.87,2.09,20.5-10,0-7.8-6.35-13.72-13.86-12.94C224.45,175.66,220.24,190.22,228.82,197.42Z"
|
|
50
|
-
transform="translate(-104.7 -104.7)" />
|
|
51
|
-
<path class="cls-3"
|
|
52
|
-
d="M200.28,166.05h0c1.09,11.81,14.91,14.82,21.05,7.1a11.58,11.58,0,0,0,2.43-7.48h0a12.14,12.14,0,0,0-13.37-11.55A11.64,11.64,0,0,0,200.28,166.05Z"
|
|
53
|
-
transform="translate(-104.7 -104.7)" />
|
|
54
|
-
<path class="cls-4"
|
|
55
|
-
d="M156.49,217.21a12,12,0,0,0,19.67-8.43,11.41,11.41,0,0,0-12.39-11.7C153.26,197.9,148.71,210.5,156.49,217.21Z"
|
|
56
|
-
transform="translate(-104.7 -104.7)" />
|
|
57
|
-
<path class="cls-4"
|
|
58
|
-
d="M181.1,197.42c7.56,6.34,19.87,2.09,20.49-10,0-7.8-6.35-13.72-13.86-12.94C176.73,175.66,172.51,190.22,181.1,197.42Z"
|
|
59
|
-
transform="translate(-104.7 -104.7)" />
|
|
60
|
-
<path class="cls-4"
|
|
61
|
-
d="M152.56,166.05h0c1.09,11.81,14.91,14.82,21.05,7.1a11.7,11.7,0,0,0,2.43-7.48h0c-.79-8.95-8.29-12.14-13.37-11.55A11.64,11.64,0,0,0,152.56,166.05Z"
|
|
62
|
-
transform="translate(-104.7 -104.7)" />
|
|
63
|
-
<path class="cls-5"
|
|
64
|
-
d="M132.59,197.42c7.56,6.34,19.87,2.09,20.5-10,0-7.8-6.35-13.72-13.86-12.94C128.23,175.66,124,190.22,132.59,197.42Z"
|
|
65
|
-
transform="translate(-104.7 -104.7)" />
|
|
66
|
-
<path class="cls-1"
|
|
67
|
-
d="M668.64,130.35h-2.56v-2h7.3v2h-2.54v6.59h-2.2Zm7.31-2h2.56l1.19,2.92.66,2h.11l.69-2,1.16-2.92h2.53v8.6h-2V133.8l.25-3.06H683l-1.77,4.9h-1.59l-1.77-4.9h-.11l.25,3.06v3.14h-2Z"
|
|
68
|
-
transform="translate(-104.7 -104.7)" />
|
|
1
|
+
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" width="580.15"
|
|
2
|
+
height="182.22" viewBox="0 0 580.15 182.22">
|
|
3
|
+
<defs>
|
|
4
|
+
<style>
|
|
5
|
+
.cls-1{fill:#0a314f;}.cls-2{fill:#095f8a;}.cls-3{fill:#fff;}.cls-4{fill:#60a9d4;}.cls-5{fill:#00ae8f;}</style>
|
|
6
|
+
</defs>
|
|
7
|
+
<polygon class="cls-1"
|
|
8
|
+
points="249.96 23.64 249.96 72.84 203.06 72.84 203.06 23.64 185.22 23.64 185.22 128.34 203.06 128.34 203.06 89.66 249.96 89.66 249.96 128.34 267.79 128.34 267.79 23.64 249.96 23.64" />
|
|
9
|
+
<path class="cls-1"
|
|
10
|
+
d="M432.16,128.34h-45.4V233h17.83V194.66h27.57a33.16,33.16,0,1,0,0-66.32Zm-27.57,17.2h27.07a16,16,0,1,1,0,31.92H404.59Z"
|
|
11
|
+
transform="translate(-104.7 -104.7)" />
|
|
12
|
+
<path class="cls-1"
|
|
13
|
+
d="M562,219.48a53.47,53.47,0,1,1,0-78.71l-12.8,13.82a34.85,34.85,0,1,0,.15,51.22Z"
|
|
14
|
+
transform="translate(-104.7 -104.7)" />
|
|
15
|
+
<path class="cls-1"
|
|
16
|
+
d="M655.33,219.48a53.47,53.47,0,1,1,0-78.71l-12.8,13.82a34.85,34.85,0,1,0,.15,51.22Z"
|
|
17
|
+
transform="translate(-104.7 -104.7)" />
|
|
18
|
+
<path class="cls-2"
|
|
19
|
+
d="M312,279.13c0,5.86-5.53,7.79-11.24,7.79A20.92,20.92,0,0,1,289.92,284l2.46-3.9a18.27,18.27,0,0,0,8.55,2.42c3.63,0,6-.94,6-3.14,0-2.42-3.22-3.33-6.73-4.42-4.58-1.4-9.73-3-9.73-8.32a6.23,6.23,0,0,1,2.65-5.19c1.89-1.36,4.69-2.08,8.13-2.08a19.51,19.51,0,0,1,10.22,2.92l-2.39,3.78a16.19,16.19,0,0,0-8.05-2.35c-3.71,0-5.49,1.14-5.49,2.73,0,2.49,3.29,3.36,6.92,4.5C306.91,272.36,312,274.1,312,279.13Z"
|
|
20
|
+
transform="translate(-104.7 -104.7)" />
|
|
21
|
+
<path class="cls-2"
|
|
22
|
+
d="M370.13,259.91l-10.78,15.93v10.51h-4.88V275.84l-10.74-15.93h5.56l7.64,11.31,7.64-11.31Z"
|
|
23
|
+
transform="translate(-104.7 -104.7)" />
|
|
24
|
+
<path class="cls-2"
|
|
25
|
+
d="M423.14,279.13c0,5.86-5.52,7.79-11.24,7.79A20.88,20.88,0,0,1,401.09,284l2.45-3.9a18.27,18.27,0,0,0,8.55,2.42c3.63,0,6-.94,6-3.14,0-2.42-3.22-3.33-6.73-4.42-4.58-1.4-9.72-3-9.72-8.32a6.23,6.23,0,0,1,2.64-5.19c1.89-1.36,4.69-2.08,8.14-2.08a19.5,19.5,0,0,1,10.21,2.92l-2.38,3.78a16.25,16.25,0,0,0-8.06-2.35c-3.71,0-5.49,1.14-5.49,2.73,0,2.49,3.29,3.36,6.93,4.5C418.07,272.36,423.14,274.1,423.14,279.13Z"
|
|
26
|
+
transform="translate(-104.7 -104.7)" />
|
|
27
|
+
<path class="cls-2" d="M479.4,259.91v4.54h-9.27v21.9h-4.84v-21.9H456v-4.54Z"
|
|
28
|
+
transform="translate(-104.7 -104.7)" />
|
|
29
|
+
<path class="cls-2"
|
|
30
|
+
d="M518.68,264.45v6.4h13.58v4.57H518.68v6.36h16.41v4.57H513.8V259.91h21.29v4.54Z"
|
|
31
|
+
transform="translate(-104.7 -104.7)" />
|
|
32
|
+
<path class="cls-2"
|
|
33
|
+
d="M599,286.35h-4.84V269L586,280.42h-2.83L575,269v17.36H570.1V259.91h3.82l10.63,14.91,10.66-14.91H599Z"
|
|
34
|
+
transform="translate(-104.7 -104.7)" />
|
|
35
|
+
<path class="cls-2"
|
|
36
|
+
d="M655.33,279.13c0,5.86-5.52,7.79-11.23,7.79A20.89,20.89,0,0,1,633.28,284l2.46-3.9a18.23,18.23,0,0,0,8.55,2.42c3.63,0,6-.94,6-3.14,0-2.42-3.22-3.33-6.74-4.42-4.57-1.4-9.72-3-9.72-8.32a6.23,6.23,0,0,1,2.65-5.19c1.89-1.36,4.69-2.08,8.13-2.08a19.53,19.53,0,0,1,10.22,2.92l-2.39,3.78a16.22,16.22,0,0,0-8-2.35c-3.71,0-5.49,1.14-5.49,2.73,0,2.49,3.29,3.36,6.92,4.5C650.27,272.36,655.33,274.1,655.33,279.13Z"
|
|
37
|
+
transform="translate(-104.7 -104.7)" />
|
|
38
|
+
<circle class="cls-1" cx="81.95" cy="81.95" r="81.95" />
|
|
39
|
+
<path class="cls-3"
|
|
40
|
+
d="M183.27,153.54c6.6,4.33,16.45.43,16.22-8.68h0a10.3,10.3,0,0,0-12.23-8.95C178.29,137.54,175.79,148.63,183.27,153.54Z"
|
|
41
|
+
transform="translate(-104.7 -104.7)" />
|
|
42
|
+
<path class="cls-3"
|
|
43
|
+
d="M179,227.42h0c-.19,9.68,11.57,13.12,17.66,7.29a9.28,9.28,0,0,0,2.83-5.88c.18-7.76-6.46-10.35-10.69-10.16C185.57,218.87,179.88,220.87,179,227.42Z"
|
|
44
|
+
transform="translate(-104.7 -104.7)" />
|
|
45
|
+
<path class="cls-3"
|
|
46
|
+
d="M204.22,217.21a12,12,0,0,0,19.66-8.43,11.41,11.41,0,0,0-12.39-11.7C201,197.9,196.43,210.5,204.22,217.21Z"
|
|
47
|
+
transform="translate(-104.7 -104.7)" />
|
|
48
|
+
<path class="cls-3"
|
|
49
|
+
d="M228.82,197.42c7.56,6.34,19.87,2.09,20.5-10,0-7.8-6.35-13.72-13.86-12.94C224.45,175.66,220.24,190.22,228.82,197.42Z"
|
|
50
|
+
transform="translate(-104.7 -104.7)" />
|
|
51
|
+
<path class="cls-3"
|
|
52
|
+
d="M200.28,166.05h0c1.09,11.81,14.91,14.82,21.05,7.1a11.58,11.58,0,0,0,2.43-7.48h0a12.14,12.14,0,0,0-13.37-11.55A11.64,11.64,0,0,0,200.28,166.05Z"
|
|
53
|
+
transform="translate(-104.7 -104.7)" />
|
|
54
|
+
<path class="cls-4"
|
|
55
|
+
d="M156.49,217.21a12,12,0,0,0,19.67-8.43,11.41,11.41,0,0,0-12.39-11.7C153.26,197.9,148.71,210.5,156.49,217.21Z"
|
|
56
|
+
transform="translate(-104.7 -104.7)" />
|
|
57
|
+
<path class="cls-4"
|
|
58
|
+
d="M181.1,197.42c7.56,6.34,19.87,2.09,20.49-10,0-7.8-6.35-13.72-13.86-12.94C176.73,175.66,172.51,190.22,181.1,197.42Z"
|
|
59
|
+
transform="translate(-104.7 -104.7)" />
|
|
60
|
+
<path class="cls-4"
|
|
61
|
+
d="M152.56,166.05h0c1.09,11.81,14.91,14.82,21.05,7.1a11.7,11.7,0,0,0,2.43-7.48h0c-.79-8.95-8.29-12.14-13.37-11.55A11.64,11.64,0,0,0,152.56,166.05Z"
|
|
62
|
+
transform="translate(-104.7 -104.7)" />
|
|
63
|
+
<path class="cls-5"
|
|
64
|
+
d="M132.59,197.42c7.56,6.34,19.87,2.09,20.5-10,0-7.8-6.35-13.72-13.86-12.94C128.23,175.66,124,190.22,132.59,197.42Z"
|
|
65
|
+
transform="translate(-104.7 -104.7)" />
|
|
66
|
+
<path class="cls-1"
|
|
67
|
+
d="M668.64,130.35h-2.56v-2h7.3v2h-2.54v6.59h-2.2Zm7.31-2h2.56l1.19,2.92.66,2h.11l.69-2,1.16-2.92h2.53v8.6h-2V133.8l.25-3.06H683l-1.77,4.9h-1.59l-1.77-4.9h-.11l.25,3.06v3.14h-2Z"
|
|
68
|
+
transform="translate(-104.7 -104.7)" />
|
|
69
69
|
</svg>
|
package/dist/ecl-lang.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../src/ecl-lang/ecl.tmLanguage.json", "../src/ecl-lang/index.ts"],
|
|
4
|
-
"sourcesContent": ["{\n \"scopeName\": \"source.ecl\",\n \"fileTypes\": [\n \"ecl\"\n ],\n \"name\": \"ECL\",\n \"patterns\": [\n {\n \"include\": \"#expression\"\n },\n {\n \"name\": \"support.class.ecl\",\n \"match\": \"\\\\b(?i:(std).(file|date|str|math|metaphone|metaphone3|uni|audit|blas|system.(debug|email|job|log|thorlib|util|workunit)))\\\\b\"\n }\n ],\n \"repository\": {\n \"expression\": {\n \"name\": \"meta.expression.ecl\",\n \"patterns\": [\n {\n \"include\": \"#comment\"\n },\n {\n \"include\": \"#special-structures\"\n },\n {\n \"include\": \"#embedded-single\"\n },\n {\n \"include\": \"#embedded-any\"\n },\n {\n \"include\": \"#embedded-cpp\"\n },\n {\n \"include\": \"#function-call\"\n },\n {\n \"include\": \"#operators\"\n },\n {\n \"include\": \"#logicals\"\n },\n {\n \"include\": \"#types\"\n },\n {\n \"include\": \"#keywords-pound\"\n },\n {\n \"include\": \"#keywords-workflow\"\n },\n {\n \"include\": \"#keywords\"\n },\n {\n \"include\": \"#digital-signature\"\n },\n {\n \"include\": \"#string\"\n },\n {\n \"include\": \"#literal\"\n }\n ]\n },\n \"operators\": {\n \"name\": \"keyword.operator.ecl\",\n \"match\": \"(>|>=|<|<=|<>|/|\\\\|+|-|=)\"\n },\n \"logicals\": {\n \"match\": \"\\\\b(?i:(and|in|not|or))\\\\b\",\n \"name\": \"keyword.other.ecl\"\n },\n \"special-structures\": {\n \"match\": \"\\\\b(?i:(endmacro|function|functionmacro|interface|macro|module|record|transform))\\\\b\",\n \"name\": \"entity.name.function.ecl\"\n },\n \"types\": {\n \"name\": \"entity.name.type.ecl\",\n \"patterns\": [\n {\n \"include\": \"#real\"\n },\n {\n \"include\": \"#decimal\"\n },\n {\n \"include\": \"#unicode\"\n },\n {\n \"include\": \"#integer\"\n },\n {\n \"include\": \"#type-number\"\n },\n {\n \"include\": \"#type-rest\"\n }\n ]\n },\n \"real\": {\n \"name\": \"entity.name.type.ecl\",\n \"match\": \"\\\\b(?i)real(?-i)(4|8)\\\\b\"\n },\n \"decimal\": {\n \"name\": \"entity.name.type.ecl\",\n \"match\": \"\\\\b(?i)(u?)decimal(\\\\d+(_\\\\d+)?)\\\\b\"\n },\n \"unicode\": {\n \"name\": \"entity.name.type.ecl\",\n \"match\": \"\\\\b(?i:(d|u|q|v|x))(8)?(?='.*')\"\n },\n \"integer\": {\n \"name\": \"entity.name.type.ecl\",\n \"match\": \"\\\\b(?i:(integer|unsigned))[1-8]\\\\b\"\n },\n \"type-number\": {\n \"name\": \"entity.name.type.ecl\",\n \"match\": \"\\\\b(?i:(data|string|qstring|varstring|varunicode|unicode|utf8))\\\\d+\\\\b\"\n },\n \"type-rest\": {\n \"name\": \"entity.name.type.ecl\",\n \"match\": \"\\\\b(?i:(ascii|big_endian|boolean|data|decimal|ebcdic|grouped|integer|linkcounted|pattern|qstring|real|rule|set of|streamed|string|token|udecimal|unicode|utf8|unsigned|varstring|varunicode))\\\\b\"\n },\n \"function-call\": {\n \"match\": \"([#A-Za-z_0-9]+)\\\\s*(\\\\()\",\n \"captures\": {\n \"1\": {\n \"patterns\": [\n {\n \"include\": \"#functions\"\n },\n {\n \"include\": \"#functions-pound\"\n },\n {\n \"include\": \"#functions-hash\"\n },\n {\n \"include\": \"#functions-hash2\"\n },\n {\n \"include\": \"#functions-action\"\n },\n {\n \"include\": \"#functions-workflow\"\n }\n ]\n }\n }\n },\n \"functions\": {\n \"name\": \"entity.name.function.ecl\",\n \"match\": \"\\\\b(?i:(abs|acos|aggregate|allnodes|apply|apply|ascii|asin|assert|asstring|atan|atan2|ave|build|buildindex|case|catch|choose|choosen|choosesets|clustersize|combine|correlation|cos|cosh|count|covariance|cron|dataset|dedup|define|denormalize|deprecated|dictionary|distribute|distributed|distribution|ebcdic|enth|evaluate|evaluate|event|eventextra|eventname|exists|exp|fail|failcode|failmessage|fetch|fromunicode|fromxml|getenv|getisvalid|graph|group|hashcrc|hashmd5|having|httpcall|httpheader|if|iff|index|interface|intformat|isvalid|iterate|join|keydiff|keypatch|keyunicode|length|library|limit|ln|loadxml|local|log|loop|map|matched|matchlength|matchposition|matchtext|matchunicode|max|merge|mergejoin|min|nofold|nolocal|nonempty|normalize|nothor|notify|opt|output|parse|pattern|penalty|pipe|power|preload|process|project|pull|random|range|rank|ranked|realformat|record|recordof|regexfind|regexfindset|regexreplace|regroup|rejected|rollup|round|roundup|row|rowdiff|rule|sample|sequential|sin|sinh|sizeof|soapcall|sort|sorted|sqrt|stepped|stored|sum|table|tan|tanh|thisnode|topn|tounicode|toxml|transfer|transform|trim|truncate|typeof|ungroup|unicodeorder|use|validate|variance|wait|when|which|xmldecode|xmlencode|xmltext|xmlunicode))\\\\b\"\n },\n \"functions-pound\": {\n \"name\": \"keyword.other.ecl\",\n \"match\": \"#(?i:(append|constant|declare|demangle|end|else|elseif|error|expand|export|exportXML|for|getdatatype|if|inmodule|mangle|onwarning|option|set|stored|text|uniquename|warning|webservice|workunit))\\\\b\"\n },\n \"functions-hash\": {\n \"name\": \"entity.name.function.ecl\",\n \"match\": \"\\\\b(?i:hash(32|64|crc)?)\\\\b\"\n },\n \"functions-hash2\": {\n \"name\": \"entity.name.function.ecl\",\n \"match\": \"\\\\b(?i:hashmd(5))\\\\b\"\n },\n \"functions-action\": {\n \"name\": \"keyword.other.ecl\",\n \"match\": \"\\\\b(?i:(algorithm|cluster|escape|encrypt|expire|heading|keyed|maxlength|module|named|ordered|parallel|quote|terminator|threshold|timelimit|timeout|separator|set|skew|virtual|wild))\\\\b\"\n },\n \"functions-workflow\": {\n \"name\": \"keyword.control.ecl\",\n \"match\": \"\\\\b(?i:(checkpoint|deprecated|failmessage|failure|global|onwarning|persist|priority|recovery|stored|success|when))\\\\b\"\n },\n \"keywords-workflow\": {\n \"name\": \"keyword.control.ecl\",\n \"match\": \"\\\\b(?i:(global|independent|once))\\\\b\"\n },\n \"keywords-pound\": {\n \"name\": \"keyword.other.ecl\",\n \"match\": \"#(?i:(break|else|end|loop))\\\\b\"\n },\n \"keywords\": {\n \"name\": \"keyword.other.ecl\",\n \"match\": \"\\\\b(?i:(after|all|andor|any|as|atmost|before|best|between|case|compressed|compression|const|counter|csv|default|descend|distributed|encoding|end|endmacro|enum|error|except|exclusive|expand|export|exportxml|extend|fail|failcode|few|fileposition|first|flat|for|forward|from|full|group|grouped|hole|if|ifblock|import|inmodule|inner|internal|joined|keep|keyed|last|left|limit|linkcounted|literal|little_endian|load|local|locale|lookup|lzw|mangle|many|maxcount|maxlength|min skew|mofn|multiple|named|namespace|nocase|noroot|noscan|nosort|noxpath|of|onfail|only|opt|option|outer|overwrite|packed|partition|physicallength|pipe|prefetch|repeat|retry|return|right|right1|right2|rows|rowset|scan|scope|self|service|set|shared|skip|smart|soapaction|sql|stable|store|stored|success|thor|token|trim|type|unicodeorder|uniquename|unordered|unsorted|unstable|update|virtual|warning|whole|width|within|wnotrim|xml|xpath|__compressed_))\\\\b\"\n },\n \"embedded-single\": {\n \"match\": \"(?i:(embed))\\\\s*(\\\\([^\\\\)]+\\\\));\",\n \"captures\": {\n \"1\": {\n \"name\": \"entity.name.function.ecl\"\n }\n }\n },\n \"embedded-any\": {\n \"begin\": \"((?i:(embed)))\\\\s*(\\\\()\",\n \"end\": \"(?i:(endembed))\",\n \"beginCaptures\": {\n \"0\": {\n \"name\": \"entity.name.function.ecl\"\n }\n },\n \"endCaptures\": {\n \"0\": {\n \"name\": \"entity.name.function.ecl\"\n }\n },\n \"name\": \"entity.other.ecl\"\n },\n \"embedded-cpp\": {\n \"begin\": \"(?i:(beginc))\\\\+\\\\+\",\n \"end\": \"(?i:(endc))\\\\+\\\\+\",\n \"beginCaptures\": {\n \"0\": {\n \"name\": \"entity.name.function.ecl\"\n }\n },\n \"endCaptures\": {\n \"0\": {\n \"name\": \"entity.name.function.ecl\"\n }\n },\n \"name\": \"entity.other.ecl\"\n },\n \"comment\": {\n \"name\": \"comment.ecl\",\n \"patterns\": [\n {\n \"include\": \"#comment-block-doc\"\n },\n {\n \"include\": \"#comment-block\"\n },\n {\n \"include\": \"#comment-line\"\n }\n ]\n },\n \"comment-block\": {\n \"begin\": \"/\\\\*\",\n \"end\": \"\\\\*/\",\n \"name\": \"comment.block.ecl\"\n },\n \"comment-block-doc\": {\n \"begin\": \"/\\\\*\\\\*(?!/)\",\n \"end\": \"\\\\*/\",\n \"name\": \"comment.block.documentation.ecl\"\n },\n \"comment-line\": {\n \"match\": \"(//).*$\\\\n?\",\n \"name\": \"comment.line.ecl\"\n },\n \"digital-signature\": {\n \"name\": \"digital-signature.ecl\",\n \"patterns\": [\n {\n \"include\": \"#digital-signature-header\"\n },\n {\n \"include\": \"#digital-signature-footer\"\n }\n ]\n },\n \"digital-signature-header\": {\n \"begin\": \"-----BEGIN PGP SIGNED MESSAGE-----\",\n \"end\": \"Hash: SHA512\",\n \"name\": \"keyword.control.ecl\"\n },\n \"digital-signature-footer\": {\n \"begin\": \"-----BEGIN PGP SIGNATURE-----\",\n \"end\": \"-----END PGP SIGNATURE-----\",\n \"name\": \"keyword.control.ecl\"\n },\n \"string\": {\n \"name\": \"string.ecl\",\n \"patterns\": [\n {\n \"include\": \"#qstring-single\"\n }\n ]\n },\n \"qstring-single\": {\n \"begin\": \"'\",\n \"end\": \"\\\\'|(?:[^\\\\\\\\\\\\n]$)\",\n \"name\": \"string.single.ecl\",\n \"patterns\": [\n {\n \"include\": \"#string-character-escape\"\n }\n ]\n },\n \"string-character-escape\": {\n \"match\": \"\\\\\\\\(x\\\\h{2}|[0-2][0-7]{,2}|3[0-6][0-7]?|37[0-7]?|[4-7][0-7]?|.|$)\",\n \"name\": \"constant.character.escape.ecl\"\n },\n \"literal\": {\n \"name\": \"literal.ecl\",\n \"patterns\": [\n {\n \"include\": \"#numeric-literal\"\n },\n {\n \"include\": \"#boolean-literal\"\n },\n {\n \"include\": \"#array-literal\"\n },\n {\n \"include\": \"#self-literal\"\n }\n ]\n },\n \"numeric-literal\": {\n \"match\": \"\\\\b(?<=[^$])((0(x|X)[0-9a-fA-F]+)|([0-9a-fA-F]+(x|X))|(0(o|O)[0-7]+)|(0(b|B)(0|1)+)|((0|1)+(b|B))|(([0-9]+(\\\\.[0-9]+)?))([eE]([+-]?)[0-9]+(\\\\.[0-9]+)?)?)\\\\b\",\n \"name\": \"constant.numeric.ecl\"\n },\n \"boolean-literal\": {\n \"match\": \"\\\\b(?i:(false|true))\\\\b\",\n \"name\": \"constant.language.boolean.ecl\"\n },\n \"self-literal\": {\n \"match\": \"\\\\b(?i:(self))\\\\b\",\n \"name\": \"constant.language.this.ecl\"\n },\n \"array-literal\": {\n \"begin\": \"\\\\[\",\n \"beginCaptures\": {\n \"0\": {\n \"name\": \"meta.brace.square.ecl\"\n }\n },\n \"end\": \"\\\\]\",\n \"endCaptures\": {\n \"0\": {\n \"name\": \"meta.brace.square.ecl\"\n }\n },\n \"name\": \"meta.array.literal.ecl\",\n \"patterns\": [\n {\n \"include\": \"#expression\"\n }\n ]\n }\n }\n}", "import type { LanguageInput } from \"shiki\";\n\nimport ecl_lang from \"./ecl.tmLanguage.json\" with { type: \"json\" };\n\nexport function eclLang(): LanguageInput {\n const retVal = {\n ...ecl_lang,\n name: \"ecl\"\n } as unknown as LanguageInput;\n return retVal;\n}\n\n"],
|
|
4
|
+
"sourcesContent": ["{\r\n \"scopeName\": \"source.ecl\",\r\n \"fileTypes\": [\r\n \"ecl\"\r\n ],\r\n \"name\": \"ECL\",\r\n \"patterns\": [\r\n {\r\n \"include\": \"#expression\"\r\n },\r\n {\r\n \"name\": \"support.class.ecl\",\r\n \"match\": \"\\\\b(?i:(std).(file|date|str|math|metaphone|metaphone3|uni|audit|blas|system.(debug|email|job|log|thorlib|util|workunit)))\\\\b\"\r\n }\r\n ],\r\n \"repository\": {\r\n \"expression\": {\r\n \"name\": \"meta.expression.ecl\",\r\n \"patterns\": [\r\n {\r\n \"include\": \"#comment\"\r\n },\r\n {\r\n \"include\": \"#special-structures\"\r\n },\r\n {\r\n \"include\": \"#embedded-single\"\r\n },\r\n {\r\n \"include\": \"#embedded-any\"\r\n },\r\n {\r\n \"include\": \"#embedded-cpp\"\r\n },\r\n {\r\n \"include\": \"#function-call\"\r\n },\r\n {\r\n \"include\": \"#operators\"\r\n },\r\n {\r\n \"include\": \"#logicals\"\r\n },\r\n {\r\n \"include\": \"#types\"\r\n },\r\n {\r\n \"include\": \"#keywords-pound\"\r\n },\r\n {\r\n \"include\": \"#keywords-workflow\"\r\n },\r\n {\r\n \"include\": \"#keywords\"\r\n },\r\n {\r\n \"include\": \"#digital-signature\"\r\n },\r\n {\r\n \"include\": \"#string\"\r\n },\r\n {\r\n \"include\": \"#literal\"\r\n }\r\n ]\r\n },\r\n \"operators\": {\r\n \"name\": \"keyword.operator.ecl\",\r\n \"match\": \"(>|>=|<|<=|<>|/|\\\\|+|-|=)\"\r\n },\r\n \"logicals\": {\r\n \"match\": \"\\\\b(?i:(and|in|not|or))\\\\b\",\r\n \"name\": \"keyword.other.ecl\"\r\n },\r\n \"special-structures\": {\r\n \"match\": \"\\\\b(?i:(endmacro|function|functionmacro|interface|macro|module|record|transform))\\\\b\",\r\n \"name\": \"entity.name.function.ecl\"\r\n },\r\n \"types\": {\r\n \"name\": \"entity.name.type.ecl\",\r\n \"patterns\": [\r\n {\r\n \"include\": \"#real\"\r\n },\r\n {\r\n \"include\": \"#decimal\"\r\n },\r\n {\r\n \"include\": \"#unicode\"\r\n },\r\n {\r\n \"include\": \"#integer\"\r\n },\r\n {\r\n \"include\": \"#type-number\"\r\n },\r\n {\r\n \"include\": \"#type-rest\"\r\n }\r\n ]\r\n },\r\n \"real\": {\r\n \"name\": \"entity.name.type.ecl\",\r\n \"match\": \"\\\\b(?i)real(?-i)(4|8)\\\\b\"\r\n },\r\n \"decimal\": {\r\n \"name\": \"entity.name.type.ecl\",\r\n \"match\": \"\\\\b(?i)(u?)decimal(\\\\d+(_\\\\d+)?)\\\\b\"\r\n },\r\n \"unicode\": {\r\n \"name\": \"entity.name.type.ecl\",\r\n \"match\": \"\\\\b(?i:(d|u|q|v|x))(8)?(?='.*')\"\r\n },\r\n \"integer\": {\r\n \"name\": \"entity.name.type.ecl\",\r\n \"match\": \"\\\\b(?i:(integer|unsigned))[1-8]\\\\b\"\r\n },\r\n \"type-number\": {\r\n \"name\": \"entity.name.type.ecl\",\r\n \"match\": \"\\\\b(?i:(data|string|qstring|varstring|varunicode|unicode|utf8))\\\\d+\\\\b\"\r\n },\r\n \"type-rest\": {\r\n \"name\": \"entity.name.type.ecl\",\r\n \"match\": \"\\\\b(?i:(ascii|big_endian|boolean|data|decimal|ebcdic|grouped|integer|linkcounted|pattern|qstring|real|rule|set of|streamed|string|token|udecimal|unicode|utf8|unsigned|varstring|varunicode))\\\\b\"\r\n },\r\n \"function-call\": {\r\n \"match\": \"([#A-Za-z_0-9]+)\\\\s*(\\\\()\",\r\n \"captures\": {\r\n \"1\": {\r\n \"patterns\": [\r\n {\r\n \"include\": \"#functions\"\r\n },\r\n {\r\n \"include\": \"#functions-pound\"\r\n },\r\n {\r\n \"include\": \"#functions-hash\"\r\n },\r\n {\r\n \"include\": \"#functions-hash2\"\r\n },\r\n {\r\n \"include\": \"#functions-action\"\r\n },\r\n {\r\n \"include\": \"#functions-workflow\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"functions\": {\r\n \"name\": \"entity.name.function.ecl\",\r\n \"match\": \"\\\\b(?i:(abs|acos|aggregate|allnodes|apply|apply|ascii|asin|assert|asstring|atan|atan2|ave|build|buildindex|case|catch|choose|choosen|choosesets|clustersize|combine|correlation|cos|cosh|count|covariance|cron|dataset|dedup|define|denormalize|deprecated|dictionary|distribute|distributed|distribution|ebcdic|enth|evaluate|evaluate|event|eventextra|eventname|exists|exp|fail|failcode|failmessage|fetch|fromunicode|fromxml|getenv|getisvalid|graph|group|hashcrc|hashmd5|having|httpcall|httpheader|if|iff|index|interface|intformat|isvalid|iterate|join|keydiff|keypatch|keyunicode|length|library|limit|ln|loadxml|local|log|loop|map|matched|matchlength|matchposition|matchtext|matchunicode|max|merge|mergejoin|min|nofold|nolocal|nonempty|normalize|nothor|notify|opt|output|parse|pattern|penalty|pipe|power|preload|process|project|pull|random|range|rank|ranked|realformat|record|recordof|regexfind|regexfindset|regexreplace|regroup|rejected|rollup|round|roundup|row|rowdiff|rule|sample|sequential|sin|sinh|sizeof|soapcall|sort|sorted|sqrt|stepped|stored|sum|table|tan|tanh|thisnode|topn|tounicode|toxml|transfer|transform|trim|truncate|typeof|ungroup|unicodeorder|use|validate|variance|wait|when|which|xmldecode|xmlencode|xmltext|xmlunicode))\\\\b\"\r\n },\r\n \"functions-pound\": {\r\n \"name\": \"keyword.other.ecl\",\r\n \"match\": \"#(?i:(append|constant|declare|demangle|end|else|elseif|error|expand|export|exportXML|for|getdatatype|if|inmodule|mangle|onwarning|option|set|stored|text|uniquename|warning|webservice|workunit))\\\\b\"\r\n },\r\n \"functions-hash\": {\r\n \"name\": \"entity.name.function.ecl\",\r\n \"match\": \"\\\\b(?i:hash(32|64|crc)?)\\\\b\"\r\n },\r\n \"functions-hash2\": {\r\n \"name\": \"entity.name.function.ecl\",\r\n \"match\": \"\\\\b(?i:hashmd(5))\\\\b\"\r\n },\r\n \"functions-action\": {\r\n \"name\": \"keyword.other.ecl\",\r\n \"match\": \"\\\\b(?i:(algorithm|cluster|escape|encrypt|expire|heading|keyed|maxlength|module|named|ordered|parallel|quote|terminator|threshold|timelimit|timeout|separator|set|skew|virtual|wild))\\\\b\"\r\n },\r\n \"functions-workflow\": {\r\n \"name\": \"keyword.control.ecl\",\r\n \"match\": \"\\\\b(?i:(checkpoint|deprecated|failmessage|failure|global|onwarning|persist|priority|recovery|stored|success|when))\\\\b\"\r\n },\r\n \"keywords-workflow\": {\r\n \"name\": \"keyword.control.ecl\",\r\n \"match\": \"\\\\b(?i:(global|independent|once))\\\\b\"\r\n },\r\n \"keywords-pound\": {\r\n \"name\": \"keyword.other.ecl\",\r\n \"match\": \"#(?i:(break|else|end|loop))\\\\b\"\r\n },\r\n \"keywords\": {\r\n \"name\": \"keyword.other.ecl\",\r\n \"match\": \"\\\\b(?i:(after|all|andor|any|as|atmost|before|best|between|case|compressed|compression|const|counter|csv|default|descend|distributed|encoding|end|endmacro|enum|error|except|exclusive|expand|export|exportxml|extend|fail|failcode|few|fileposition|first|flat|for|forward|from|full|group|grouped|hole|if|ifblock|import|inmodule|inner|internal|joined|keep|keyed|last|left|limit|linkcounted|literal|little_endian|load|local|locale|lookup|lzw|mangle|many|maxcount|maxlength|min skew|mofn|multiple|named|namespace|nocase|noroot|noscan|nosort|noxpath|of|onfail|only|opt|option|outer|overwrite|packed|partition|physicallength|pipe|prefetch|repeat|retry|return|right|right1|right2|rows|rowset|scan|scope|self|service|set|shared|skip|smart|soapaction|sql|stable|store|stored|success|thor|token|trim|type|unicodeorder|uniquename|unordered|unsorted|unstable|update|virtual|warning|whole|width|within|wnotrim|xml|xpath|__compressed_))\\\\b\"\r\n },\r\n \"embedded-single\": {\r\n \"match\": \"(?i:(embed))\\\\s*(\\\\([^\\\\)]+\\\\));\",\r\n \"captures\": {\r\n \"1\": {\r\n \"name\": \"entity.name.function.ecl\"\r\n }\r\n }\r\n },\r\n \"embedded-any\": {\r\n \"begin\": \"((?i:(embed)))\\\\s*(\\\\()\",\r\n \"end\": \"(?i:(endembed))\",\r\n \"beginCaptures\": {\r\n \"0\": {\r\n \"name\": \"entity.name.function.ecl\"\r\n }\r\n },\r\n \"endCaptures\": {\r\n \"0\": {\r\n \"name\": \"entity.name.function.ecl\"\r\n }\r\n },\r\n \"name\": \"entity.other.ecl\"\r\n },\r\n \"embedded-cpp\": {\r\n \"begin\": \"(?i:(beginc))\\\\+\\\\+\",\r\n \"end\": \"(?i:(endc))\\\\+\\\\+\",\r\n \"beginCaptures\": {\r\n \"0\": {\r\n \"name\": \"entity.name.function.ecl\"\r\n }\r\n },\r\n \"endCaptures\": {\r\n \"0\": {\r\n \"name\": \"entity.name.function.ecl\"\r\n }\r\n },\r\n \"name\": \"entity.other.ecl\"\r\n },\r\n \"comment\": {\r\n \"name\": \"comment.ecl\",\r\n \"patterns\": [\r\n {\r\n \"include\": \"#comment-block-doc\"\r\n },\r\n {\r\n \"include\": \"#comment-block\"\r\n },\r\n {\r\n \"include\": \"#comment-line\"\r\n }\r\n ]\r\n },\r\n \"comment-block\": {\r\n \"begin\": \"/\\\\*\",\r\n \"end\": \"\\\\*/\",\r\n \"name\": \"comment.block.ecl\"\r\n },\r\n \"comment-block-doc\": {\r\n \"begin\": \"/\\\\*\\\\*(?!/)\",\r\n \"end\": \"\\\\*/\",\r\n \"name\": \"comment.block.documentation.ecl\"\r\n },\r\n \"comment-line\": {\r\n \"match\": \"(//).*$\\\\n?\",\r\n \"name\": \"comment.line.ecl\"\r\n },\r\n \"digital-signature\": {\r\n \"name\": \"digital-signature.ecl\",\r\n \"patterns\": [\r\n {\r\n \"include\": \"#digital-signature-header\"\r\n },\r\n {\r\n \"include\": \"#digital-signature-footer\"\r\n }\r\n ]\r\n },\r\n \"digital-signature-header\": {\r\n \"begin\": \"-----BEGIN PGP SIGNED MESSAGE-----\",\r\n \"end\": \"Hash: SHA512\",\r\n \"name\": \"keyword.control.ecl\"\r\n },\r\n \"digital-signature-footer\": {\r\n \"begin\": \"-----BEGIN PGP SIGNATURE-----\",\r\n \"end\": \"-----END PGP SIGNATURE-----\",\r\n \"name\": \"keyword.control.ecl\"\r\n },\r\n \"string\": {\r\n \"name\": \"string.ecl\",\r\n \"patterns\": [\r\n {\r\n \"include\": \"#qstring-single\"\r\n }\r\n ]\r\n },\r\n \"qstring-single\": {\r\n \"begin\": \"'\",\r\n \"end\": \"\\\\'|(?:[^\\\\\\\\\\\\n]$)\",\r\n \"name\": \"string.single.ecl\",\r\n \"patterns\": [\r\n {\r\n \"include\": \"#string-character-escape\"\r\n }\r\n ]\r\n },\r\n \"string-character-escape\": {\r\n \"match\": \"\\\\\\\\(x\\\\h{2}|[0-2][0-7]{,2}|3[0-6][0-7]?|37[0-7]?|[4-7][0-7]?|.|$)\",\r\n \"name\": \"constant.character.escape.ecl\"\r\n },\r\n \"literal\": {\r\n \"name\": \"literal.ecl\",\r\n \"patterns\": [\r\n {\r\n \"include\": \"#numeric-literal\"\r\n },\r\n {\r\n \"include\": \"#boolean-literal\"\r\n },\r\n {\r\n \"include\": \"#array-literal\"\r\n },\r\n {\r\n \"include\": \"#self-literal\"\r\n }\r\n ]\r\n },\r\n \"numeric-literal\": {\r\n \"match\": \"\\\\b(?<=[^$])((0(x|X)[0-9a-fA-F]+)|([0-9a-fA-F]+(x|X))|(0(o|O)[0-7]+)|(0(b|B)(0|1)+)|((0|1)+(b|B))|(([0-9]+(\\\\.[0-9]+)?))([eE]([+-]?)[0-9]+(\\\\.[0-9]+)?)?)\\\\b\",\r\n \"name\": \"constant.numeric.ecl\"\r\n },\r\n \"boolean-literal\": {\r\n \"match\": \"\\\\b(?i:(false|true))\\\\b\",\r\n \"name\": \"constant.language.boolean.ecl\"\r\n },\r\n \"self-literal\": {\r\n \"match\": \"\\\\b(?i:(self))\\\\b\",\r\n \"name\": \"constant.language.this.ecl\"\r\n },\r\n \"array-literal\": {\r\n \"begin\": \"\\\\[\",\r\n \"beginCaptures\": {\r\n \"0\": {\r\n \"name\": \"meta.brace.square.ecl\"\r\n }\r\n },\r\n \"end\": \"\\\\]\",\r\n \"endCaptures\": {\r\n \"0\": {\r\n \"name\": \"meta.brace.square.ecl\"\r\n }\r\n },\r\n \"name\": \"meta.array.literal.ecl\",\r\n \"patterns\": [\r\n {\r\n \"include\": \"#expression\"\r\n }\r\n ]\r\n }\r\n }\r\n}", "import type { LanguageInput } from \"shiki\";\r\n\r\nimport ecl_lang from \"./ecl.tmLanguage.json\" with { type: \"json\" };\r\n\r\nexport function eclLang(): LanguageInput {\r\n const retVal = {\r\n ...ecl_lang,\r\n name: \"ecl\"\r\n } as unknown as LanguageInput;\r\n return retVal;\r\n}\r\n\r\n"],
|
|
5
5
|
"mappings": "AAAA,IAAAA,EAAA,CACI,UAAa,aACb,UAAa,CACT,KACJ,EACA,KAAQ,MACR,SAAY,CACR,CACI,QAAW,aACf,EACA,CACI,KAAQ,oBACR,MAAS,8HACb,CACJ,EACA,WAAc,CACV,WAAc,CACV,KAAQ,sBACR,SAAY,CACR,CACI,QAAW,UACf,EACA,CACI,QAAW,qBACf,EACA,CACI,QAAW,kBACf,EACA,CACI,QAAW,eACf,EACA,CACI,QAAW,eACf,EACA,CACI,QAAW,gBACf,EACA,CACI,QAAW,YACf,EACA,CACI,QAAW,WACf,EACA,CACI,QAAW,QACf,EACA,CACI,QAAW,iBACf,EACA,CACI,QAAW,oBACf,EACA,CACI,QAAW,WACf,EACA,CACI,QAAW,oBACf,EACA,CACI,QAAW,SACf,EACA,CACI,QAAW,UACf,CACJ,CACJ,EACA,UAAa,CACT,KAAQ,uBACR,MAAS,2BACb,EACA,SAAY,CACR,MAAS,6BACT,KAAQ,mBACZ,EACA,qBAAsB,CAClB,MAAS,uFACT,KAAQ,0BACZ,EACA,MAAS,CACL,KAAQ,uBACR,SAAY,CACR,CACI,QAAW,OACf,EACA,CACI,QAAW,UACf,EACA,CACI,QAAW,UACf,EACA,CACI,QAAW,UACf,EACA,CACI,QAAW,cACf,EACA,CACI,QAAW,YACf,CACJ,CACJ,EACA,KAAQ,CACJ,KAAQ,uBACR,MAAS,0BACb,EACA,QAAW,CACP,KAAQ,uBACR,MAAS,qCACb,EACA,QAAW,CACP,KAAQ,uBACR,MAAS,iCACb,EACA,QAAW,CACP,KAAQ,uBACR,MAAS,oCACb,EACA,cAAe,CACX,KAAQ,uBACR,MAAS,wEACb,EACA,YAAa,CACT,KAAQ,uBACR,MAAS,kMACb,EACA,gBAAiB,CACb,MAAS,4BACT,SAAY,CACR,IAAK,CACD,SAAY,CACR,CACI,QAAW,YACf,EACA,CACI,QAAW,kBACf,EACA,CACI,QAAW,iBACf,EACA,CACI,QAAW,kBACf,EACA,CACI,QAAW,mBACf,EACA,CACI,QAAW,qBACf,CACJ,CACJ,CACJ,CACJ,EACA,UAAa,CACT,KAAQ,2BACR,MAAS,qtCACb,EACA,kBAAmB,CACf,KAAQ,oBACR,MAAS,sMACb,EACA,iBAAkB,CACd,KAAQ,2BACR,MAAS,6BACb,EACA,kBAAmB,CACf,KAAQ,2BACR,MAAS,sBACb,EACA,mBAAoB,CAChB,KAAQ,oBACR,MAAS,yLACb,EACA,qBAAsB,CAClB,KAAQ,sBACR,MAAS,uHACb,EACA,oBAAqB,CACjB,KAAQ,sBACR,MAAS,sCACb,EACA,iBAAkB,CACd,KAAQ,oBACR,MAAS,gCACb,EACA,SAAY,CACR,KAAQ,oBACR,MAAS,25BACb,EACA,kBAAmB,CACf,MAAS,mCACT,SAAY,CACR,IAAK,CACD,KAAQ,0BACZ,CACJ,CACJ,EACA,eAAgB,CACZ,MAAS,0BACT,IAAO,kBACP,cAAiB,CACb,IAAK,CACD,KAAQ,0BACZ,CACJ,EACA,YAAe,CACX,IAAK,CACD,KAAQ,0BACZ,CACJ,EACA,KAAQ,kBACZ,EACA,eAAgB,CACZ,MAAS,sBACT,IAAO,oBACP,cAAiB,CACb,IAAK,CACD,KAAQ,0BACZ,CACJ,EACA,YAAe,CACX,IAAK,CACD,KAAQ,0BACZ,CACJ,EACA,KAAQ,kBACZ,EACA,QAAW,CACP,KAAQ,cACR,SAAY,CACR,CACI,QAAW,oBACf,EACA,CACI,QAAW,gBACf,EACA,CACI,QAAW,eACf,CACJ,CACJ,EACA,gBAAiB,CACb,MAAS,OACT,IAAO,OACP,KAAQ,mBACZ,EACA,oBAAqB,CACjB,MAAS,eACT,IAAO,OACP,KAAQ,iCACZ,EACA,eAAgB,CACZ,MAAS,cACT,KAAQ,kBACZ,EACA,oBAAqB,CACjB,KAAQ,wBACR,SAAY,CACR,CACI,QAAW,2BACf,EACA,CACI,QAAW,2BACf,CACJ,CACJ,EACA,2BAA4B,CACxB,MAAS,qCACT,IAAO,eACP,KAAQ,qBACZ,EACA,2BAA4B,CACxB,MAAS,gCACT,IAAO,8BACP,KAAQ,qBACZ,EACA,OAAU,CACN,KAAQ,aACR,SAAY,CACR,CACI,QAAW,iBACf,CACJ,CACJ,EACA,iBAAkB,CACd,MAAS,IACT,IAAO,sBACP,KAAQ,oBACR,SAAY,CACR,CACI,QAAW,0BACf,CACJ,CACJ,EACA,0BAA2B,CACvB,MAAS,qEACT,KAAQ,+BACZ,EACA,QAAW,CACP,KAAQ,cACR,SAAY,CACR,CACI,QAAW,kBACf,EACA,CACI,QAAW,kBACf,EACA,CACI,QAAW,gBACf,EACA,CACI,QAAW,eACf,CACJ,CACJ,EACA,kBAAmB,CACf,MAAS,+JACT,KAAQ,sBACZ,EACA,kBAAmB,CACf,MAAS,0BACT,KAAQ,+BACZ,EACA,eAAgB,CACZ,MAAS,oBACT,KAAQ,4BACZ,EACA,gBAAiB,CACb,MAAS,MACT,cAAiB,CACb,IAAK,CACD,KAAQ,uBACZ,CACJ,EACA,IAAO,MACP,YAAe,CACX,IAAK,CACD,KAAQ,uBACZ,CACJ,EACA,KAAQ,yBACR,SAAY,CACR,CACI,QAAW,aACf,CACJ,CACJ,CACJ,CACJ,ECvVO,SAASC,GAAyB,CAKrC,MAJe,CACX,GAAGC,EACH,KAAM,KACV,CAEJ",
|
|
6
6
|
"names": ["ecl_tmLanguage_default", "eclLang", "ecl_tmLanguage_default"]
|
|
7
7
|
}
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var e=Object.defineProperty,n=(n,t)=>e(n,"name",{value:t,configurable:!0});import{Runtime as t,Library as r,Inspector as o}from"@observablehq/runtime";import{ojs2notebook as c,compile as s}from"@hpcc-js/observablehq-compiler";const l={type:"js",exec:!1,echo:void 0,hide:void 0};function i(e){return!0===e.exec?!0===e.echo:!1!==e.echo}function d(e){return!0===e.exec}function a(e){return 1==e.exec&&!0!==e.hide}n(i,"showSrc"),n(d,"executeSrc"),n(a,"renderExecutedSrc");let p=0;function f(e){return`fence-${++p}${e?`-${e}`:""}`}function u(e,n){const t=[];try{const r=c(e);for(let e=0;e<r.nodes.length;++e){const o=f(e+1),c=r.nodes[e].value;t.push({...n,id:o,content:c,innerHTML:`<span id="${o}" >\n ${a(n)?"...":""}\n</span>`})}}catch(r){const e=`fence-${p}-error`;t.push({...n,id:e,content:JSON.stringify(r),innerHTML:`<span id="${e}" class="red">\n ${JSON.stringify(r)}\n</span>`})}return t}n(f,"createId"),n(u,"calcPlaceholders");const h="ENV_OBSERVABLE";function y(e,n,t){return t[h]||(t[h]=[]),u(e,n).reduce((e,n)=>(t[h].push({...n,innerHTML:void 0}),e+n.innerHTML),"")}n(y,"generatePlaceholders");const m=class _Inspector extends o{constructor(e){super(e),this.placeholder=e}pending(){super.pending()}fulfilled(e,n){if("string"==typeof e)this.placeholder.innerText=e;else super.fulfilled(e)}rejected(e){super.rejected(e)}};n(m,"Inspector");let b=m;async function g(e){const n={},o={nodes:[],files:[]};for(const t of e)o.nodes.push({id:t.id,name:t.id,mode:"js",value:t.content}),n[t.id]=a(t);const c=await s(o),l=new t(new r);l.module(c,()=>{c(l,(e,t)=>{const r=globalThis?.document?.getElementById(""+t);return r&&n[t]?new b(r):{pending(){},fulfilled(e,n){},rejected(e,n){}}})})}function k(e,n,t,r,o){return y(e[n].content,{type:"js",exec:!0},r)}n(g,"render"),n(k,"renderObservable");const x=123;function*v(e,n=0,t=e.length){if(36===e.charCodeAt(n)&&e.charCodeAt(n+1)===x){const r=n+=2;let o=0,c=!1;for(;!c&&n<t;){switch(e.charCodeAt(n)){case x:o++;break;case 125:0===o?(c=!0,--n):o--}n++}const s=n;if(n>=t||r==s)return;if(125!==e.charCodeAt(n))return;n++;const l=e.slice(r,s).trim();yield{type:"placeholder",content:l,pos:n}}}function*j(e){let n=0,t=0;const r=e.length;for(;n<r;)if(36===e.charCodeAt(n)&&e.charCodeAt(n+1)===x){yield{type:"html_block",content:e.slice(t,n)};for(const o of v(e,n,r))yield o,n=o.pos,t=n}else n++;n>t&&(yield{type:"html_block",content:e.slice(t,n)})}n(v,"parsePlaceholderInline"),n(j,"parsePlaceholderBlock");const C=/* @__PURE__ */n((e,n)=>{if(n||e.pos+2>e.posMax)return!1;const t=e.src.charCodeAt(e.pos),r=e.src.charCodeAt(e.pos+1);if(36!==t||r!==x)return!1;for(const{type:o,content:c,pos:s}of v(e.src,e.pos,e.posMax)){if("placeholder"!==o)break;return e.push(o,"",0).content=c,e.pos=s,!0}return!1},"transformPlaceholderInline"),T=/* @__PURE__ */n(e=>{const{tokens:n}=e;for(let t=0,r=n.length;t<r;++t){const r=n[t];if("html_block"===r.type){const o=[];for(const{type:n,content:t}of j(r.content)){const r=new e.Token(n,"",0);r.content=t,o.push(r)}if(1===o.length&&"html_block"===o[0].type)n[t].content=o[0].content;else{const r=new e.Token("inline","",0);r.children=o,n[t]=r}}}},"transformPlaceholderCore");function w(e){e.inline.ruler.push("placeholder",C),e.core.ruler.after("inline","placeholder",T),e.renderer.rules.placeholder=(e,n,t,r,o)=>k(e,n,0,r)}n(w,"hookTemplateLiterals");const A=/* @__PURE__ */n(e=>e.split(/\s+/).reduce((e,n,t)=>{if(0===t)return e.type=n,e;const[r,o]=n.split("=");switch(r){case"exec":case"echo":case"hide":e[r]="false"!==o}return e},{...l}),"deserializeFenceInfo"),I=/* @__PURE__ */n((e,n,t,r,o)=>o.renderToken(e,n,t),"proxy");function $(e){const t=e.renderer.rules.fence||I,r=/* @__PURE__ */n((e,n,r,o,c)=>{const s=e[n],l=A(s.info);"javascript"===l.type&&(l.type="js"),s.content+="\n";let a="";return"js"!==l.type?a+t(e,n,r,o,c):(d(l)&&(o[h]||(o[h]=[]),a+=y(s.content,l,o)),i(l)?a+t(e,n,r,o,c):a)},"fenceRenderer");e.renderer.rules.fence=r}function P(e){const n=e.render;e.render=(t,r)=>{const o={...r},c=n.call(e,t,o);return g(o[h]??[]),c}}function S(e){const n=e.render;e.render=(t,r)=>{const o=r??{};let c=n.call(e,t,o);if(r[h]?.length){c+=`<RenderComponent content="${encodeURI(JSON.stringify(r[h]))}" />`}return c}}function L(e,n={}){w(e),$(e),n.vitePress?S(e):P(e)}n($,"hookFence"),n(P,"hookRender"),n(S,"hookVitepressRender"),n(L,"observable");export{L as observable,g as render};
|
|
1
|
+
var e=Object.defineProperty,n=(n,t)=>e(n,"name",{value:t,configurable:!0});import{Runtime as t,Library as r,Inspector as o}from"@observablehq/runtime";import{ojs2notebook as c,compile as s}from"@hpcc-js/observablehq-compiler";const l={type:"js",exec:!1,echo:void 0,hide:void 0};function i(e){return!0===e.exec?!0===e.echo:!1!==e.echo}function d(e){return!0===e.exec}function a(e){return 1==e.exec&&!0!==e.hide}n(i,"showSrc"),n(d,"executeSrc"),n(a,"renderExecutedSrc");let p=0;function f(e){return`fence-${++p}${e?`-${e}`:""}`}function u(e,n){const t=[];try{const r=c(e);for(let e=0;e<r.nodes.length;++e){const o=f(e+1),c=r.nodes[e].value;t.push({...n,id:o,content:c,innerHTML:`<span id="${o}" >\n ${a(n)?"...":""}\n</span>`})}}catch(r){const e=`fence-${p}-error`;t.push({...n,id:e,content:JSON.stringify(r),innerHTML:`<span id="${e}" class="red">\n ${JSON.stringify(r)}\n</span>`})}return t}n(f,"createId"),n(u,"calcPlaceholders");const h="ENV_OBSERVABLE";function y(e,n,t){return t[h]||(t[h]=[]),u(e,n).reduce((e,n)=>(t[h].push({...n,innerHTML:void 0}),e+n.innerHTML),"")}n(y,"generatePlaceholders");const m=class _Inspector extends o{constructor(e){super(e),this.placeholder=e}placeholder;pending(){super.pending()}fulfilled(e,n){if("string"==typeof e)this.placeholder.innerText=e;else super.fulfilled(e)}rejected(e){super.rejected(e)}};n(m,"Inspector");let b=m;async function g(e){const n={},o={nodes:[],files:[]};for(const t of e)o.nodes.push({id:t.id,name:t.id,mode:"js",value:t.content}),n[t.id]=a(t);const c=await s(o),l=new t(new r);l.module(c,()=>{c(l,(e,t)=>{const r=globalThis?.document?.getElementById(""+t);return r&&n[t]?new b(r):{pending(){},fulfilled(e,n){},rejected(e,n){}}})})}function k(e,n,t,r,o){return y(e[n].content,{type:"js",exec:!0},r)}n(g,"render"),n(k,"renderObservable");const x=123;function*v(e,n=0,t=e.length){if(36===e.charCodeAt(n)&&e.charCodeAt(n+1)===x){const r=n+=2;let o=0,c=!1;for(;!c&&n<t;){switch(e.charCodeAt(n)){case x:o++;break;case 125:0===o?(c=!0,--n):o--}n++}const s=n;if(n>=t||r==s)return;if(125!==e.charCodeAt(n))return;n++;const l=e.slice(r,s).trim();yield{type:"placeholder",content:l,pos:n}}}function*j(e){let n=0,t=0;const r=e.length;for(;n<r;)if(36===e.charCodeAt(n)&&e.charCodeAt(n+1)===x){yield{type:"html_block",content:e.slice(t,n)};for(const o of v(e,n,r))yield o,n=o.pos,t=n}else n++;n>t&&(yield{type:"html_block",content:e.slice(t,n)})}n(v,"parsePlaceholderInline"),n(j,"parsePlaceholderBlock");const C=/* @__PURE__ */n((e,n)=>{if(n||e.pos+2>e.posMax)return!1;const t=e.src.charCodeAt(e.pos),r=e.src.charCodeAt(e.pos+1);if(36!==t||r!==x)return!1;for(const{type:o,content:c,pos:s}of v(e.src,e.pos,e.posMax)){if("placeholder"!==o)break;return e.push(o,"",0).content=c,e.pos=s,!0}return!1},"transformPlaceholderInline"),T=/* @__PURE__ */n(e=>{const{tokens:n}=e;for(let t=0,r=n.length;t<r;++t){const r=n[t];if("html_block"===r.type){const o=[];for(const{type:n,content:t}of j(r.content)){const r=new e.Token(n,"",0);r.content=t,o.push(r)}if(1===o.length&&"html_block"===o[0].type)n[t].content=o[0].content;else{const r=new e.Token("inline","",0);r.children=o,n[t]=r}}}},"transformPlaceholderCore");function w(e){e.inline.ruler.push("placeholder",C),e.core.ruler.after("inline","placeholder",T),e.renderer.rules.placeholder=(e,n,t,r,o)=>k(e,n,0,r)}n(w,"hookTemplateLiterals");const A=/* @__PURE__ */n(e=>e.split(/\s+/).reduce((e,n,t)=>{if(0===t)return e.type=n,e;const[r,o]=n.split("=");switch(r){case"exec":case"echo":case"hide":e[r]="false"!==o}return e},{...l}),"deserializeFenceInfo"),I=/* @__PURE__ */n((e,n,t,r,o)=>o.renderToken(e,n,t),"proxy");function $(e){const t=e.renderer.rules.fence||I,r=/* @__PURE__ */n((e,n,r,o,c)=>{const s=e[n],l=A(s.info);"javascript"===l.type&&(l.type="js"),s.content+="\n";let a="";return"js"!==l.type?a+t(e,n,r,o,c):(d(l)&&(o[h]||(o[h]=[]),a+=y(s.content,l,o)),i(l)?a+t(e,n,r,o,c):a)},"fenceRenderer");e.renderer.rules.fence=r}function P(e){const n=e.render;e.render=(t,r)=>{const o={...r},c=n.call(e,t,o);return g(o[h]??[]),c}}function S(e){const n=e.render;e.render=(t,r)=>{const o=r??{};let c=n.call(e,t,o);if(r[h]?.length){c+=`<RenderComponent content="${encodeURI(JSON.stringify(r[h]))}" />`}return c}}function L(e,n={}){w(e),$(e),n.vitePress?S(e):P(e)}n($,"hookFence"),n(P,"hookRender"),n(S,"hookVitepressRender"),n(L,"observable");export{L as observable,g as render};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|