diff --git a/CHANGELOG.md b/CHANGELOG.md
new file mode 100644
index 00000000..f178a40e
--- /dev/null
+++ b/CHANGELOG.md
@@ -0,0 +1,27 @@
+## 0.0.0
+
+- Initial version.
+
+## 0.1.0-alpha
+
+- Created the [Dartness](https://ricardorb.github.io/dartness/) library.
+- Created the [Controller](https://ricardorb.github.io/dartness/docs/controller.html) class.
+- Created bind annotations.
+
+## 0.3.0-alpha
+
+- Created Get, Post, Put, Delete, Head, Options, and Trace methods.
+- Created Header annotation.
+- Created Body annotation.
+- Created QueryParam annotation.
+- Created PathParam annotation.
+
+## 0.4.0-alpha
+
+- Removed [dart:mirrors](https://api.dart.dev/stable/2.17.6/dart-mirrors/dart-mirrors-library.html) in order to be able
+ to compile and bring stability to the framework
+- Created dartness_generator
+
+## 0.4.3-alpha
+
+- Added @Headers
\ No newline at end of file
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 00000000..54b3b831
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) [2022] [Ricardo Romero Benitez]
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
\ No newline at end of file
diff --git a/README.md b/README.md
index 99bc8624..bea5e20d 100644
--- a/README.md
+++ b/README.md
@@ -30,11 +30,11 @@ the [/examples folder](https://github.com/RicardoRB/dartness/tree/master/example
## Requisites
-Install [Dart SDK](https://dart.dev/get-dart) version >=2.17.0
+Install [Dart SDK](https://dart.dev/get-dart) version >=3.0.0
```bash
$ dart --version
-Dart SDK version: 2.17.3 (stable)
+Dart SDK version: 3.0.0 (stable)
```
## Docs and more
@@ -51,11 +51,11 @@ $ dart create -t console your_project_name
```yaml
dependencies:
- dartness_server: ^0.4.0-alpha
+ dartness_server: ^0.4.5-alpha
dev_dependencies:
build_runner: ^2.2.0
- dartness_generator: ^0.1.0-alpha
+ dartness_generator: ^0.1.2-alpha
```
2. Create the file in "bin/main.dart"
diff --git a/docs/README.md b/docs/README.md
index 99bc8624..8f0d09a7 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -34,7 +34,7 @@ Install [Dart SDK](https://dart.dev/get-dart) version >=2.17.0
```bash
$ dart --version
-Dart SDK version: 2.17.3 (stable)
+Dart SDK version: 3.0.0 (stable)
```
## Docs and more
@@ -51,7 +51,7 @@ $ dart create -t console your_project_name
```yaml
dependencies:
- dartness_server: ^0.4.0-alpha
+ dartness_server: ^0.4.3-alpha
dev_dependencies:
build_runner: ^2.2.0
diff --git a/docs/controllers.md b/docs/controllers.md
index 2617d96c..17a1d865 100644
--- a/docs/controllers.md
+++ b/docs/controllers.md
@@ -114,7 +114,7 @@ String get() {
## Headers
-To specify a custom response header, you can either use a `@Header()` annotation or a library-specific response object
+To specify a custom response header, you can either use a `@Header()` or `@Headers()` annotation or a library-specific response object
(eg. `return Response(200, headers: {'content-type': 'application/json'})`).
```dart
@@ -125,6 +125,16 @@ String get() {
}
```
+```dart
+@Get()
+@Headers({
+ 'content-type': 'application/json',
+})
+String get() {
+ return 'This method returns a custom content-type header';
+}
+```
+
## Route parameters
`@PathParam()` is used to annotate a method parameter (`id` in the example below), and makes the route parameters
diff --git a/docs/first_steps.md b/docs/first_steps.md
index 2a5647e9..b709c988 100644
--- a/docs/first_steps.md
+++ b/docs/first_steps.md
@@ -20,7 +20,7 @@ $ dart create -t console your_project_name
```yaml
dependencies:
- dartness_server: ^0.4.0-alpha
+ dartness_server: ^0.4.3-alpha
dev_dependencies:
build_runner: ^2.2.0
diff --git a/docs/quickstart.md b/docs/quickstart.md
index d526861d..86648562 100644
--- a/docs/quickstart.md
+++ b/docs/quickstart.md
@@ -16,7 +16,7 @@ Install [Dart SDK](https://dart.dev/get-dart) version >=2.17.0
```bash
$ dart --version
-Dart SDK version: 2.17.3 (stable)
+Dart SDK version: 3.0.0 (stable)
```
## Creating a new project
@@ -29,7 +29,7 @@ $ dart create -t console your_project_name
```yaml
dependencies:
- dartness_server: ^0.4.0-alpha
+ dartness_server: ^0.4.3-alpha
```
2.Create the file in "bin/main.dart"
diff --git a/examples/dartness_flutter_melos/apps/my_app/pubspec.yaml b/examples/dartness_flutter_melos/apps/my_app/pubspec.yaml
index 96506adf..4306341f 100644
--- a/examples/dartness_flutter_melos/apps/my_app/pubspec.yaml
+++ b/examples/dartness_flutter_melos/apps/my_app/pubspec.yaml
@@ -6,18 +6,18 @@ publish_to: 'none'
version: 1.0.0+1
environment:
- sdk: ">=2.17.6 <3.0.0"
+ sdk: ">=3.0.0 <4.0.0"
dependencies:
flutter:
sdk: flutter
- cupertino_icons: ^1.0.2
- http: ^0.13.5
+ cupertino_icons: ^1.0.5
+ http: ^1.0.0
dev_dependencies:
flutter_test:
sdk: flutter
- flutter_lints: ^2.0.0
+ flutter_lints: ^2.0.1
flutter:
uses-material-design: true
diff --git a/examples/dartness_flutter_melos/servers/my_server/pubspec.yaml b/examples/dartness_flutter_melos/servers/my_server/pubspec.yaml
index cd7eb0b5..54cf9d05 100644
--- a/examples/dartness_flutter_melos/servers/my_server/pubspec.yaml
+++ b/examples/dartness_flutter_melos/servers/my_server/pubspec.yaml
@@ -6,10 +6,10 @@ version: 1.0.0
publish_to: 'none'
environment:
- sdk: '>=2.17.6 <3.0.0'
+ sdk: ">=3.0.0 <4.0.0"
dependencies:
- dartness_server: ^0.4.0-alpha
+ dartness_server: ^0.4.4-alpha
dev_dependencies:
lints: ^2.0.0
diff --git a/examples/dartness_simple/lib/src/controllers/city_controller.dart b/examples/dartness_simple/lib/src/controllers/city_controller.dart
index 3d424b31..3c836ce7 100644
--- a/examples/dartness_simple/lib/src/controllers/city_controller.dart
+++ b/examples/dartness_simple/lib/src/controllers/city_controller.dart
@@ -1,6 +1,5 @@
import 'dart:io';
-import 'package:dartness_server/dartness.dart';
import 'package:dartness_server/route.dart';
import '../dtos/city_dto.dart';
diff --git a/examples/dartness_simple/lib/src/interceptors/example_interceptor.dart b/examples/dartness_simple/lib/src/interceptors/example_interceptor.dart
index 8f6129a2..14b3247b 100644
--- a/examples/dartness_simple/lib/src/interceptors/example_interceptor.dart
+++ b/examples/dartness_simple/lib/src/interceptors/example_interceptor.dart
@@ -1,4 +1,3 @@
-import 'package:dartness_server/dartness.dart';
import 'package:dartness_server/server.dart';
class ExampleInterceptor implements DartnessInterceptor {
diff --git a/examples/dartness_simple/lib/src/middlewares/example_middleware.dart b/examples/dartness_simple/lib/src/middlewares/example_middleware.dart
index 996c5fee..d11d4f7d 100644
--- a/examples/dartness_simple/lib/src/middlewares/example_middleware.dart
+++ b/examples/dartness_simple/lib/src/middlewares/example_middleware.dart
@@ -1,4 +1,3 @@
-import 'package:dartness_server/dartness.dart';
import 'package:dartness_server/server.dart';
class ExampleMiddleware implements DartnessMiddleware {
diff --git a/examples/dartness_simple/pubspec.yaml b/examples/dartness_simple/pubspec.yaml
index 506d753d..9ed8a8dd 100644
--- a/examples/dartness_simple/pubspec.yaml
+++ b/examples/dartness_simple/pubspec.yaml
@@ -6,13 +6,13 @@ version: 1.0.0
publish_to: none
environment:
- sdk: '>=2.17.6 <3.0.0'
+ sdk: ">=3.0.0 <4.0.0"
dependencies:
- dartness_server: ^0.4.0-alpha
+ dartness_server: ^0.4.4-alpha
dev_dependencies:
- lints: ^2.0.0
- test: ^1.21.4
- build_runner: ^2.2.0
- dartness_generator: ^0.1.0-alpha
+ lints: ^2.1.1
+ test: ^1.24.3
+ build_runner: ^2.4.5
+ dartness_generator: ^0.1.1-alpha
diff --git a/packages/dartness_generator/CHANGELOG.md b/packages/dartness_generator/CHANGELOG.md
index bec08155..d1cc010e 100644
--- a/packages/dartness_generator/CHANGELOG.md
+++ b/packages/dartness_generator/CHANGELOG.md
@@ -2,3 +2,11 @@
- First dartness_generator version
- Generation for @Controller and @ErrorHandler
+
+## 0.1.1-alpha
+
+- Compatibility with @Headers
+-
+## 0.1.2-alpha
+
+- Updated dart sdk to 3.0.0
\ No newline at end of file
diff --git a/packages/dartness_generator/README.md b/packages/dartness_generator/README.md
index 3c9633d2..eedfa6d0 100644
--- a/packages/dartness_generator/README.md
+++ b/packages/dartness_generator/README.md
@@ -9,7 +9,7 @@ dartness_generator is used with dartness_server in order to provide the code gen
```yaml
dependencies:
- dartness_server: ^0.4.0-alpha
+ dartness_server: ^0.4.3-alpha
dev_dependencies:
build_runner: ^2.2.0
diff --git a/packages/dartness_generator/doc/api/__404error.html b/packages/dartness_generator/doc/api/__404error.html
new file mode 100644
index 00000000..2dae4d3a
--- /dev/null
+++ b/packages/dartness_generator/doc/api/__404error.html
@@ -0,0 +1,111 @@
+
+
+
+
+
+
+
+
+ dartness_generator - Dart API docs
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
404: Something's gone wrong :-(
+
+
+ You've tried to visit a page that doesn't exist. Luckily this site
+ has other pages.
+ If you were looking for something specific, try searching:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/packages/dartness_generator/doc/api/categories.json b/packages/dartness_generator/doc/api/categories.json
new file mode 100644
index 00000000..fe51488c
--- /dev/null
+++ b/packages/dartness_generator/doc/api/categories.json
@@ -0,0 +1 @@
+[]
diff --git a/packages/dartness_generator/doc/api/dartness_generator/controller.html b/packages/dartness_generator/doc/api/dartness_generator/controller.html
new file mode 100644
index 00000000..7e1a92ff
--- /dev/null
+++ b/packages/dartness_generator/doc/api/dartness_generator/controller.html
@@ -0,0 +1,137 @@
+
+
+
+
+
+
+
+ controller function - dartness_generator library - Dart API
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
controller function
+
+
+
+
+
+
+
+
+
+ Implementation
+ Builder controller(BuilderOptions options) =>
+ SharedPartBuilder([ControllerGenerator()], 'controller');
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/packages/dartness_generator/doc/api/dartness_generator/dartness_generator-library.html b/packages/dartness_generator/doc/api/dartness_generator/dartness_generator-library.html
new file mode 100644
index 00000000..ac84010d
--- /dev/null
+++ b/packages/dartness_generator/doc/api/dartness_generator/dartness_generator-library.html
@@ -0,0 +1,165 @@
+
+
+
+
+
+
+
+ dartness_generator library - Dart API
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
dartness_generator library
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/packages/dartness_generator/doc/api/dartness_generator/errorHandler.html b/packages/dartness_generator/doc/api/dartness_generator/errorHandler.html
new file mode 100644
index 00000000..deceb677
--- /dev/null
+++ b/packages/dartness_generator/doc/api/dartness_generator/errorHandler.html
@@ -0,0 +1,137 @@
+
+
+
+
+
+
+
+ errorHandler function - dartness_generator library - Dart API
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
errorHandler function
+
+
+
+
+
+
+
+
+
+ Implementation
+ Builder errorHandler(BuilderOptions options) =>
+ SharedPartBuilder([ErrorHandlerGenerator()], 'error_handler');
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/packages/dartness_generator/doc/api/index.html b/packages/dartness_generator/doc/api/index.html
new file mode 100644
index 00000000..e726a5cf
--- /dev/null
+++ b/packages/dartness_generator/doc/api/index.html
@@ -0,0 +1,151 @@
+
+
+
+
+
+
+
+
+ dartness_generator - Dart API docs
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Introduction
+dartness_generator is used with dartness_server in order to provide the code generation for some annotations
+Generating code
+
+- Add
dartness_generator
together with build_runner
in dev_dependencies also add dartness_server in the dependency
+section in the pubspec.yaml
+
+dependencies:
+ dartness_server: ^0.4.3-alpha
+
+dev_dependencies:
+ build_runner: ^2.2.0
+ dartness_generator: ^0.1.0-alpha
+
+
+- Add the corresponding
part '.g.dart'
to your classes, otherwise the new code won't be generated, you can find an
+example in the following code:
+
+
+part 'city_controller.g.dart';
+
+@Controller('/cities')
+class CitiesController {
+ @Get()
+ String getCities() {
+ return 'This action returns a list of cities';
+ }
+}
+
+
+- Go to the root of your project and execute the following command:
+
+$ dart run build_runner build
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/packages/dartness_generator/doc/api/index.json b/packages/dartness_generator/doc/api/index.json
new file mode 100644
index 00000000..f0c2a302
--- /dev/null
+++ b/packages/dartness_generator/doc/api/index.json
@@ -0,0 +1 @@
+[{"name":"dartness_generator","qualifiedName":"dartness_generator","href":"dartness_generator/dartness_generator-library.html","type":"library","overriddenDepth":0,"packageName":"dartness_generator","desc":""},{"name":"controller","qualifiedName":"dartness_generator.controller","href":"dartness_generator/controller.html","type":"function","overriddenDepth":0,"packageName":"dartness_generator","desc":"","enclosedBy":{"name":"dartness_generator","type":"library","href":"dartness_generator/dartness_generator-library.html"}},{"name":"errorHandler","qualifiedName":"dartness_generator.errorHandler","href":"dartness_generator/errorHandler.html","type":"function","overriddenDepth":0,"packageName":"dartness_generator","desc":"","enclosedBy":{"name":"dartness_generator","type":"library","href":"dartness_generator/dartness_generator-library.html"}}]
diff --git a/packages/dartness_generator/doc/api/search.html b/packages/dartness_generator/doc/api/search.html
new file mode 100644
index 00000000..0a89fb82
--- /dev/null
+++ b/packages/dartness_generator/doc/api/search.html
@@ -0,0 +1,101 @@
+
+
+
+
+
+
+
+
+ dartness_generator - Dart API docs
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/packages/dartness_generator/doc/api/static-assets/favicon.png b/packages/dartness_generator/doc/api/static-assets/favicon.png
new file mode 100644
index 00000000..43d2ffa0
Binary files /dev/null and b/packages/dartness_generator/doc/api/static-assets/favicon.png differ
diff --git a/packages/dartness_generator/doc/api/static-assets/github.css b/packages/dartness_generator/doc/api/static-assets/github.css
new file mode 100644
index 00000000..791932b8
--- /dev/null
+++ b/packages/dartness_generator/doc/api/static-assets/github.css
@@ -0,0 +1,99 @@
+/*
+
+github.com style (c) Vasily Polovnyov
+
+*/
+
+.hljs {
+ display: block;
+ overflow-x: auto;
+ padding: 0.5em;
+ color: #333;
+ background: #f8f8f8;
+}
+
+.hljs-comment,
+.hljs-quote {
+ color: #998;
+ font-style: italic;
+}
+
+.hljs-keyword,
+.hljs-selector-tag,
+.hljs-subst {
+ color: #333;
+ font-weight: bold;
+}
+
+.hljs-number,
+.hljs-literal,
+.hljs-variable,
+.hljs-template-variable,
+.hljs-tag .hljs-attr {
+ color: #008080;
+}
+
+.hljs-string,
+.hljs-doctag {
+ color: #d14;
+}
+
+.hljs-title,
+.hljs-section,
+.hljs-selector-id {
+ color: #900;
+ font-weight: bold;
+}
+
+.hljs-subst {
+ font-weight: normal;
+}
+
+.hljs-type,
+.hljs-class .hljs-title {
+ color: #458;
+ font-weight: bold;
+}
+
+.hljs-tag,
+.hljs-name,
+.hljs-attribute {
+ color: #000080;
+ font-weight: normal;
+}
+
+.hljs-regexp,
+.hljs-link {
+ color: #009926;
+}
+
+.hljs-symbol,
+.hljs-bullet {
+ color: #990073;
+}
+
+.hljs-built_in,
+.hljs-builtin-name {
+ color: #0086b3;
+}
+
+.hljs-meta {
+ color: #999;
+ font-weight: bold;
+}
+
+.hljs-deletion {
+ background: #fdd;
+}
+
+.hljs-addition {
+ background: #dfd;
+}
+
+.hljs-emphasis {
+ font-style: italic;
+}
+
+.hljs-strong {
+ font-weight: bold;
+}
diff --git a/packages/dartness_generator/doc/api/static-assets/highlight.pack.js b/packages/dartness_generator/doc/api/static-assets/highlight.pack.js
new file mode 100644
index 00000000..dabdd3c0
--- /dev/null
+++ b/packages/dartness_generator/doc/api/static-assets/highlight.pack.js
@@ -0,0 +1,775 @@
+/*!
+ Highlight.js v11.0.1 (git: 1cf31f015d)
+ (c) 2006-2021 Ivan Sagalaev and other contributors
+ License: BSD-3-Clause
+ */
+var hljs=function(){"use strict";var e={exports:{}};function t(e){
+return e instanceof Map?e.clear=e.delete=e.set=()=>{
+throw Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=()=>{
+throw Error("set is read-only")
+}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach((n=>{var i=e[n]
+;"object"!=typeof i||Object.isFrozen(i)||t(i)})),e}
+e.exports=t,e.exports.default=t;var n=e.exports;class i{constructor(e){
+void 0===e.data&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}
+ignoreMatch(){this.isMatchIgnored=!0}}function r(e){
+return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")
+}function s(e,...t){const n=Object.create(null);for(const t in e)n[t]=e[t]
+;return t.forEach((e=>{for(const t in e)n[t]=e[t]})),n}const o=e=>!!e.kind
+;class a{constructor(e,t){
+this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){
+this.buffer+=r(e)}openNode(e){if(!o(e))return;let t=e.kind
+;t=e.sublanguage?"language-"+t:((e,{prefix:t})=>{if(e.includes(".")){
+const n=e.split(".")
+;return[`${t}${n.shift()}`,...n.map(((e,t)=>`${e}${"_".repeat(t+1)}`))].join(" ")
+}return`${t}${e}`})(t,{prefix:this.classPrefix}),this.span(t)}closeNode(e){
+o(e)&&(this.buffer+="")}value(){return this.buffer}span(e){
+this.buffer+=``}}class l{constructor(){this.rootNode={
+children:[]},this.stack=[this.rootNode]}get top(){
+return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){
+this.top.children.push(e)}openNode(e){const t={kind:e,children:[]}
+;this.add(t),this.stack.push(t)}closeNode(){
+if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){
+for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}
+walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,t){
+return"string"==typeof t?e.addText(t):t.children&&(e.openNode(t),
+t.children.forEach((t=>this._walk(e,t))),e.closeNode(t)),e}static _collapse(e){
+"string"!=typeof e&&e.children&&(e.children.every((e=>"string"==typeof e))?e.children=[e.children.join("")]:e.children.forEach((e=>{
+l._collapse(e)})))}}class c extends l{constructor(e){super(),this.options=e}
+addKeyword(e,t){""!==e&&(this.openNode(t),this.addText(e),this.closeNode())}
+addText(e){""!==e&&this.add(e)}addSublanguage(e,t){const n=e.root
+;n.kind=t,n.sublanguage=!0,this.add(n)}toHTML(){
+return new a(this,this.options).value()}finalize(){return!0}}function g(e){
+return e?"string"==typeof e?e:e.source:null}function d(...e){
+return e.map((e=>g(e))).join("")}function u(...e){return"("+((e=>{
+const t=e[e.length-1]
+;return"object"==typeof t&&t.constructor===Object?(e.splice(e.length-1,1),t):{}
+})(e).capture?"":"?:")+e.map((e=>g(e))).join("|")+")"}function h(e){
+return RegExp(e.toString()+"|").exec("").length-1}
+const f=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./
+;function p(e,{joinWith:t}){let n=0;return e.map((e=>{n+=1;const t=n
+;let i=g(e),r="";for(;i.length>0;){const e=f.exec(i);if(!e){r+=i;break}
+r+=i.substring(0,e.index),
+i=i.substring(e.index+e[0].length),"\\"===e[0][0]&&e[1]?r+="\\"+(Number(e[1])+t):(r+=e[0],
+"("===e[0]&&n++)}return r})).map((e=>`(${e})`)).join(t)}
+const b="[a-zA-Z]\\w*",m="[a-zA-Z_]\\w*",E="\\b\\d+(\\.\\d+)?",x="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",y="\\b(0b[01]+)",w={
+begin:"\\\\[\\s\\S]",relevance:0},_={scope:"string",begin:"'",end:"'",
+illegal:"\\n",contains:[w]},v={scope:"string",begin:'"',end:'"',illegal:"\\n",
+contains:[w]},O=(e,t,n={})=>{const i=s({scope:"comment",begin:e,end:t,
+contains:[]},n);i.contains.push({scope:"doctag",
+begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",
+end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0})
+;const r=u("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/)
+;return i.contains.push({begin:d(/[ ]+/,"(",r,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),i
+},k=O("//","$"),N=O("/\\*","\\*/"),S=O("#","$");var M=Object.freeze({
+__proto__:null,MATCH_NOTHING_RE:/\b\B/,IDENT_RE:b,UNDERSCORE_IDENT_RE:m,
+NUMBER_RE:E,C_NUMBER_RE:x,BINARY_NUMBER_RE:y,
+RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",
+SHEBANG:(e={})=>{const t=/^#![ ]*\//
+;return e.binary&&(e.begin=d(t,/.*\b/,e.binary,/\b.*/)),s({scope:"meta",begin:t,
+end:/$/,relevance:0,"on:begin":(e,t)=>{0!==e.index&&t.ignoreMatch()}},e)},
+BACKSLASH_ESCAPE:w,APOS_STRING_MODE:_,QUOTE_STRING_MODE:v,PHRASAL_WORDS_MODE:{
+begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/
+},COMMENT:O,C_LINE_COMMENT_MODE:k,C_BLOCK_COMMENT_MODE:N,HASH_COMMENT_MODE:S,
+NUMBER_MODE:{scope:"number",begin:E,relevance:0},C_NUMBER_MODE:{scope:"number",
+begin:x,relevance:0},BINARY_NUMBER_MODE:{scope:"number",begin:y,relevance:0},
+REGEXP_MODE:{begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,
+end:/\/[gimuy]*/,illegal:/\n/,contains:[w,{begin:/\[/,end:/\]/,relevance:0,
+contains:[w]}]}]},TITLE_MODE:{scope:"title",begin:b,relevance:0},
+UNDERSCORE_TITLE_MODE:{scope:"title",begin:m,relevance:0},METHOD_GUARD:{
+begin:"\\.\\s*[a-zA-Z_]\\w*",relevance:0},END_SAME_AS_BEGIN:e=>Object.assign(e,{
+"on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{
+t.data._beginMatch!==e[1]&&t.ignoreMatch()}})});function R(e,t){
+"."===e.input[e.index-1]&&t.ignoreMatch()}function j(e,t){
+void 0!==e.className&&(e.scope=e.className,delete e.className)}function A(e,t){
+t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",
+e.__beforeBegin=R,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,
+void 0===e.relevance&&(e.relevance=0))}function I(e,t){
+Array.isArray(e.illegal)&&(e.illegal=u(...e.illegal))}function B(e,t){
+if(e.match){
+if(e.begin||e.end)throw Error("begin & end are not supported with match")
+;e.begin=e.match,delete e.match}}function T(e,t){
+void 0===e.relevance&&(e.relevance=1)}const L=(e,t)=>{if(!e.beforeMatch)return
+;if(e.starts)throw Error("beforeMatch cannot be used with starts")
+;const n=Object.assign({},e);Object.keys(e).forEach((t=>{delete e[t]
+})),e.keywords=n.keywords,
+e.begin=d(n.beforeMatch,d("(?=",n.begin,")")),e.starts={relevance:0,
+contains:[Object.assign(n,{endsParent:!0})]},e.relevance=0,delete n.beforeMatch
+},D=["of","and","for","in","not","or","if","then","parent","list","value"]
+;function P(e,t,n="keyword"){const i=Object.create(null)
+;return"string"==typeof e?r(n,e.split(" ")):Array.isArray(e)?r(n,e):Object.keys(e).forEach((n=>{
+Object.assign(i,P(e[n],t,n))})),i;function r(e,n){
+t&&(n=n.map((e=>e.toLowerCase()))),n.forEach((t=>{const n=t.split("|")
+;i[n[0]]=[e,C(n[0],n[1])]}))}}function C(e,t){
+return t?Number(t):(e=>D.includes(e.toLowerCase()))(e)?0:1}const H={},$=e=>{
+console.error(e)},U=(e,...t)=>{console.log("WARN: "+e,...t)},z=(e,t)=>{
+H[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),H[`${e}/${t}`]=!0)
+},K=Error();function W(e,t,{key:n}){let i=0;const r=e[n],s={},o={}
+;for(let e=1;e<=t.length;e++)o[e+i]=r[e],s[e+i]=!0,i+=h(t[e-1])
+;e[n]=o,e[n]._emit=s,e[n]._multi=!0}function X(e){(e=>{
+e.scope&&"object"==typeof e.scope&&null!==e.scope&&(e.beginScope=e.scope,
+delete e.scope)})(e),"string"==typeof e.beginScope&&(e.beginScope={
+_wrap:e.beginScope}),"string"==typeof e.endScope&&(e.endScope={_wrap:e.endScope
+}),(e=>{if(Array.isArray(e.begin)){
+if(e.skip||e.excludeBegin||e.returnBegin)throw $("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),
+K
+;if("object"!=typeof e.beginScope||null===e.beginScope)throw $("beginScope must be object"),
+K;W(e,e.begin,{key:"beginScope"}),e.begin=p(e.begin,{joinWith:""})}})(e),(e=>{
+if(Array.isArray(e.end)){
+if(e.skip||e.excludeEnd||e.returnEnd)throw $("skip, excludeEnd, returnEnd not compatible with endScope: {}"),
+K
+;if("object"!=typeof e.endScope||null===e.endScope)throw $("endScope must be object"),
+K;W(e,e.end,{key:"endScope"}),e.end=p(e.end,{joinWith:""})}})(e)}function G(e){
+function t(t,n){return RegExp(g(t),"m"+(e.case_insensitive?"i":"")+(n?"g":""))}
+class n{constructor(){
+this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}
+addRule(e,t){
+t.position=this.position++,this.matchIndexes[this.matchAt]=t,this.regexes.push([t,e]),
+this.matchAt+=h(e)+1}compile(){0===this.regexes.length&&(this.exec=()=>null)
+;const e=this.regexes.map((e=>e[1]));this.matcherRe=t(p(e,{joinWith:"|"
+}),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex
+;const t=this.matcherRe.exec(e);if(!t)return null
+;const n=t.findIndex(((e,t)=>t>0&&void 0!==e)),i=this.matchIndexes[n]
+;return t.splice(0,n),Object.assign(t,i)}}class i{constructor(){
+this.rules=[],this.multiRegexes=[],
+this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(e){
+if(this.multiRegexes[e])return this.multiRegexes[e];const t=new n
+;return this.rules.slice(e).forEach((([e,n])=>t.addRule(e,n))),
+t.compile(),this.multiRegexes[e]=t,t}resumingScanAtSamePosition(){
+return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(e,t){
+this.rules.push([e,t]),"begin"===t.type&&this.count++}exec(e){
+const t=this.getMatcher(this.regexIndex);t.lastIndex=this.lastIndex
+;let n=t.exec(e)
+;if(this.resumingScanAtSamePosition())if(n&&n.index===this.lastIndex);else{
+const t=this.getMatcher(0);t.lastIndex=this.lastIndex+1,n=t.exec(e)}
+return n&&(this.regexIndex+=n.position+1,
+this.regexIndex===this.count&&this.considerAll()),n}}
+if(e.compilerExtensions||(e.compilerExtensions=[]),
+e.contains&&e.contains.includes("self"))throw Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.")
+;return e.classNameAliases=s(e.classNameAliases||{}),function n(r,o){const a=r
+;if(r.isCompiled)return a
+;[j,B,X,L].forEach((e=>e(r,o))),e.compilerExtensions.forEach((e=>e(r,o))),
+r.__beforeBegin=null,[A,I,T].forEach((e=>e(r,o))),r.isCompiled=!0;let l=null
+;return"object"==typeof r.keywords&&r.keywords.$pattern&&(r.keywords=Object.assign({},r.keywords),
+l=r.keywords.$pattern,
+delete r.keywords.$pattern),l=l||/\w+/,r.keywords&&(r.keywords=P(r.keywords,e.case_insensitive)),
+a.keywordPatternRe=t(l,!0),
+o&&(r.begin||(r.begin=/\B|\b/),a.beginRe=t(r.begin),r.end||r.endsWithParent||(r.end=/\B|\b/),
+r.end&&(a.endRe=t(r.end)),
+a.terminatorEnd=g(r.end)||"",r.endsWithParent&&o.terminatorEnd&&(a.terminatorEnd+=(r.end?"|":"")+o.terminatorEnd)),
+r.illegal&&(a.illegalRe=t(r.illegal)),
+r.contains||(r.contains=[]),r.contains=[].concat(...r.contains.map((e=>(e=>(e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map((t=>s(e,{
+variants:null},t)))),e.cachedVariants?e.cachedVariants:Z(e)?s(e,{
+starts:e.starts?s(e.starts):null
+}):Object.isFrozen(e)?s(e):e))("self"===e?r:e)))),r.contains.forEach((e=>{n(e,a)
+})),r.starts&&n(r.starts,o),a.matcher=(e=>{const t=new i
+;return e.contains.forEach((e=>t.addRule(e.begin,{rule:e,type:"begin"
+}))),e.terminatorEnd&&t.addRule(e.terminatorEnd,{type:"end"
+}),e.illegal&&t.addRule(e.illegal,{type:"illegal"}),t})(a),a}(e)}function Z(e){
+return!!e&&(e.endsWithParent||Z(e.starts))}const F=r,V=s,q=Symbol("nomatch")
+;var J=(e=>{const t=Object.create(null),r=Object.create(null),s=[];let o=!0
+;const a="Could not find the language '{}', did you forget to load/include a language module?",l={
+disableAutodetect:!0,name:"Plain text",contains:[]};let g={
+ignoreUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,
+languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",
+cssSelector:"pre code",languages:null,__emitter:c};function d(e){
+return g.noHighlightRe.test(e)}function u(e,t,n,i){let r="",s=""
+;"object"==typeof t?(r=e,
+n=t.ignoreIllegals,s=t.language,i=void 0):(z("10.7.0","highlight(lang, code, ...args) has been deprecated."),
+z("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),
+s=e,r=t),void 0===n&&(n=!0);const o={code:r,language:s};w("before:highlight",o)
+;const a=o.result?o.result:h(o.language,o.code,n,i)
+;return a.code=o.code,w("after:highlight",a),a}function h(e,n,r,s){
+const l=Object.create(null);function c(){if(!k.keywords)return void S.addText(M)
+;let e=0;k.keywordPatternRe.lastIndex=0;let t=k.keywordPatternRe.exec(M),n=""
+;for(;t;){n+=M.substring(e,t.index)
+;const r=_.case_insensitive?t[0].toLowerCase():t[0],s=(i=r,k.keywords[i]);if(s){
+const[e,i]=s
+;if(S.addText(n),n="",l[r]=(l[r]||0)+1,l[r]<=7&&(R+=i),e.startsWith("_"))n+=t[0];else{
+const n=_.classNameAliases[e]||e;S.addKeyword(t[0],n)}}else n+=t[0]
+;e=k.keywordPatternRe.lastIndex,t=k.keywordPatternRe.exec(M)}var i
+;n+=M.substr(e),S.addText(n)}function d(){null!=k.subLanguage?(()=>{
+if(""===M)return;let e=null;if("string"==typeof k.subLanguage){
+if(!t[k.subLanguage])return void S.addText(M)
+;e=h(k.subLanguage,M,!0,N[k.subLanguage]),N[k.subLanguage]=e._top
+}else e=f(M,k.subLanguage.length?k.subLanguage:null)
+;k.relevance>0&&(R+=e.relevance),S.addSublanguage(e._emitter,e.language)
+})():c(),M=""}function u(e,t){let n=1;for(;void 0!==t[n];){if(!e._emit[n]){n++
+;continue}const i=_.classNameAliases[e[n]]||e[n],r=t[n]
+;i?S.addKeyword(r,i):(M=r,c(),M=""),n++}}function p(e,t){
+return e.scope&&"string"==typeof e.scope&&S.openNode(_.classNameAliases[e.scope]||e.scope),
+e.beginScope&&(e.beginScope._wrap?(S.addKeyword(M,_.classNameAliases[e.beginScope._wrap]||e.beginScope._wrap),
+M=""):e.beginScope._multi&&(u(e.beginScope,t),M="")),k=Object.create(e,{parent:{
+value:k}}),k}function b(e,t,n){let r=((e,t)=>{const n=e&&e.exec(t)
+;return n&&0===n.index})(e.endRe,n);if(r){if(e["on:end"]){const n=new i(e)
+;e["on:end"](t,n),n.isMatchIgnored&&(r=!1)}if(r){
+for(;e.endsParent&&e.parent;)e=e.parent;return e}}
+if(e.endsWithParent)return b(e.parent,t,n)}function m(e){
+return 0===k.matcher.regexIndex?(M+=e[0],1):(I=!0,0)}function x(e){
+const t=e[0],i=n.substr(e.index),r=b(k,e,i);if(!r)return q;const s=k
+;k.endScope&&k.endScope._wrap?(d(),
+S.addKeyword(t,k.endScope._wrap)):k.endScope&&k.endScope._multi?(d(),
+u(k.endScope,e)):s.skip?M+=t:(s.returnEnd||s.excludeEnd||(M+=t),
+d(),s.excludeEnd&&(M=t));do{
+k.scope&&!k.isMultiClass&&S.closeNode(),k.skip||k.subLanguage||(R+=k.relevance),
+k=k.parent}while(k!==r.parent)
+;return r.starts&&p(r.starts,e),s.returnEnd?0:t.length}let y={};function w(t,s){
+const a=s&&s[0];if(M+=t,null==a)return d(),0
+;if("begin"===y.type&&"end"===s.type&&y.index===s.index&&""===a){
+if(M+=n.slice(s.index,s.index+1),!o){const t=Error(`0 width match regex (${e})`)
+;throw t.languageName=e,t.badRule=y.rule,t}return 1}
+if(y=s,"begin"===s.type)return(e=>{
+const t=e[0],n=e.rule,r=new i(n),s=[n.__beforeBegin,n["on:begin"]]
+;for(const n of s)if(n&&(n(e,r),r.isMatchIgnored))return m(t)
+;return n.skip?M+=t:(n.excludeBegin&&(M+=t),
+d(),n.returnBegin||n.excludeBegin||(M=t)),p(n,e),n.returnBegin?0:t.length})(s)
+;if("illegal"===s.type&&!r){
+const e=Error('Illegal lexeme "'+a+'" for mode "'+(k.scope||"")+'"')
+;throw e.mode=k,e}if("end"===s.type){const e=x(s);if(e!==q)return e}
+if("illegal"===s.type&&""===a)return 1
+;if(A>1e5&&A>3*s.index)throw Error("potential infinite loop, way more iterations than matches")
+;return M+=a,a.length}const _=E(e)
+;if(!_)throw $(a.replace("{}",e)),Error('Unknown language: "'+e+'"')
+;const v=G(_);let O="",k=s||v;const N={},S=new g.__emitter(g);(()=>{const e=[]
+;for(let t=k;t!==_;t=t.parent)t.scope&&e.unshift(t.scope)
+;e.forEach((e=>S.openNode(e)))})();let M="",R=0,j=0,A=0,I=!1;try{
+for(k.matcher.considerAll();;){
+A++,I?I=!1:k.matcher.considerAll(),k.matcher.lastIndex=j
+;const e=k.matcher.exec(n);if(!e)break;const t=w(n.substring(j,e.index),e)
+;j=e.index+t}return w(n.substr(j)),S.closeAllNodes(),S.finalize(),O=S.toHTML(),{
+language:e,value:O,relevance:R,illegal:!1,_emitter:S,_top:k}}catch(t){
+if(t.message&&t.message.includes("Illegal"))return{language:e,value:F(n),
+illegal:!0,relevance:0,_illegalBy:{message:t.message,index:j,
+context:n.slice(j-100,j+100),mode:t.mode,resultSoFar:O},_emitter:S};if(o)return{
+language:e,value:F(n),illegal:!1,relevance:0,errorRaised:t,_emitter:S,_top:k}
+;throw t}}function f(e,n){n=n||g.languages||Object.keys(t);const i=(e=>{
+const t={value:F(e),illegal:!1,relevance:0,_top:l,_emitter:new g.__emitter(g)}
+;return t._emitter.addText(e),t})(e),r=n.filter(E).filter(y).map((t=>h(t,e,!1)))
+;r.unshift(i);const s=r.sort(((e,t)=>{
+if(e.relevance!==t.relevance)return t.relevance-e.relevance
+;if(e.language&&t.language){if(E(e.language).supersetOf===t.language)return 1
+;if(E(t.language).supersetOf===e.language)return-1}return 0})),[o,a]=s,c=o
+;return c.secondBest=a,c}function p(e){let t=null;const n=(e=>{
+let t=e.className+" ";t+=e.parentNode?e.parentNode.className:""
+;const n=g.languageDetectRe.exec(t);if(n){const t=E(n[1])
+;return t||(U(a.replace("{}",n[1])),
+U("Falling back to no-highlight mode for this block.",e)),t?n[1]:"no-highlight"}
+return t.split(/\s+/).find((e=>d(e)||E(e)))})(e);if(d(n))return
+;w("before:highlightElement",{el:e,language:n
+}),!g.ignoreUnescapedHTML&&e.children.length>0&&(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),
+console.warn("https://github.com/highlightjs/highlight.js/issues/2886"),
+console.warn(e)),t=e;const i=t.textContent,s=n?u(i,{language:n,ignoreIllegals:!0
+}):f(i);e.innerHTML=s.value,((e,t,n)=>{const i=t&&r[t]||n
+;e.classList.add("hljs"),e.classList.add("language-"+i)
+})(e,n,s.language),e.result={language:s.language,re:s.relevance,
+relevance:s.relevance},s.secondBest&&(e.secondBest={
+language:s.secondBest.language,relevance:s.secondBest.relevance
+}),w("after:highlightElement",{el:e,result:s,text:i})}let b=!1;function m(){
+"loading"!==document.readyState?document.querySelectorAll(g.cssSelector).forEach(p):b=!0
+}function E(e){return e=(e||"").toLowerCase(),t[e]||t[r[e]]}
+function x(e,{languageName:t}){"string"==typeof e&&(e=[e]),e.forEach((e=>{
+r[e.toLowerCase()]=t}))}function y(e){const t=E(e)
+;return t&&!t.disableAutodetect}function w(e,t){const n=e;s.forEach((e=>{
+e[n]&&e[n](t)}))}
+"undefined"!=typeof window&&window.addEventListener&&window.addEventListener("DOMContentLoaded",(()=>{
+b&&m()}),!1),Object.assign(e,{highlight:u,highlightAuto:f,highlightAll:m,
+highlightElement:p,
+highlightBlock:e=>(z("10.7.0","highlightBlock will be removed entirely in v12.0"),
+z("10.7.0","Please use highlightElement now."),p(e)),configure:e=>{g=V(g,e)},
+initHighlighting:()=>{
+m(),z("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")},
+initHighlightingOnLoad:()=>{
+m(),z("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")
+},registerLanguage:(n,i)=>{let r=null;try{r=i(e)}catch(e){
+if($("Language definition for '{}' could not be registered.".replace("{}",n)),
+!o)throw e;$(e),r=l}
+r.name||(r.name=n),t[n]=r,r.rawDefinition=i.bind(null,e),r.aliases&&x(r.aliases,{
+languageName:n})},unregisterLanguage:e=>{delete t[e]
+;for(const t of Object.keys(r))r[t]===e&&delete r[t]},
+listLanguages:()=>Object.keys(t),getLanguage:E,registerAliases:x,
+autoDetection:y,inherit:V,addPlugin:e=>{(e=>{
+e["before:highlightBlock"]&&!e["before:highlightElement"]&&(e["before:highlightElement"]=t=>{
+e["before:highlightBlock"](Object.assign({block:t.el},t))
+}),e["after:highlightBlock"]&&!e["after:highlightElement"]&&(e["after:highlightElement"]=t=>{
+e["after:highlightBlock"](Object.assign({block:t.el},t))})})(e),s.push(e)}
+}),e.debugMode=()=>{o=!1},e.safeMode=()=>{o=!0},e.versionString="11.0.1"
+;for(const e in M)"object"==typeof M[e]&&n(M[e]);return Object.assign(e,M),e
+})({}),Y=Object.freeze({__proto__:null});const Q=J
+;for(const e of Object.keys(Y)){const t=e.replace("grmr_","")
+;Q.registerLanguage(t,Y[e])}return Q}()
+;"object"==typeof exports&&"undefined"!=typeof module&&(module.exports=hljs);hljs.registerLanguage("xml",(()=>{"use strict";function e(e){
+return e?"string"==typeof e?e:e.source:null}function n(e){return a("(?=",e,")")}
+function a(...n){return n.map((n=>e(n))).join("")}function s(...n){
+return"("+((e=>{const n=e[e.length-1]
+;return"object"==typeof n&&n.constructor===Object?(e.splice(e.length-1,1),n):{}
+})(n).capture?"":"?:")+n.map((n=>e(n))).join("|")+")"}return e=>{
+const t=a(/[A-Z_]/,a("(?:",/[A-Z0-9_.-]*:/,")?"),/[A-Z0-9_.-]*/),i={
+className:"symbol",begin:/&[a-z]+;|[0-9]+;|[a-f0-9]+;/},c={begin:/\s/,
+contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]
+},r=e.inherit(c,{begin:/\(/,end:/\)/}),l=e.inherit(e.APOS_STRING_MODE,{
+className:"string"}),g=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),m={
+endsWithParent:!0,illegal:/,relevance:0,contains:[{className:"attr",
+begin:/[A-Za-z0-9._:-]+/,relevance:0},{begin:/=\s*/,relevance:0,contains:[{
+className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[i]},{
+begin:/'/,end:/'/,contains:[i]},{begin:/[^\s"'=<>`]+/}]}]}]};return{
+name:"HTML, XML",
+aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],
+case_insensitive:!0,contains:[{className:"meta",begin://,
+relevance:10,contains:[c,g,l,r,{begin:/\[/,end:/\]/,contains:[{className:"meta",
+begin://,contains:[c,r,g,l]}]}]},e.COMMENT(//,{
+relevance:10}),{begin://,relevance:10},i,{
+className:"meta",begin:/<\?xml/,end:/\?>/,relevance:10},{className:"tag",
+begin:/