You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@annotator.apache.org by ge...@apache.org on 2021/05/09 11:54:00 UTC
[incubator-annotator-website] branch asf-site updated (407e246 ->
7eca27c)
This is an automated email from the ASF dual-hosted git repository.
gerben pushed a change to branch asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-annotator-website.git.
from 407e246 Incorporate changes in demo
new 6c6dcc2 Include TypeDoc-generated API docs
new c74f09e Convert liquid to handelbars
new ecde1b3 Dedupe & factor out header&footer from templates
new 6973523 Remix TypeDoc into our templates
new b4483d9 Merge branch 'include-typedoc' into asf-site
new 7eca27c Update website content
The 6 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.eleventy.js | 5 +
annotator | 2 +-
content/demo/index.html | 2 +-
content/docs/api/assets/css/main.css | 2660 ++++++++++++++++++++
content/docs/api/assets/images/icons.png | Bin 0 -> 9615 bytes
content/docs/api/assets/images/icons@2x.png | Bin 0 -> 28144 bytes
content/docs/api/assets/images/widgets.png | Bin 0 -> 480 bytes
content/docs/api/assets/images/widgets@2x.png | Bin 0 -> 855 bytes
content/docs/api/assets/js/main.js | 248 ++
content/docs/api/assets/js/search.js | 1 +
content/docs/api/index.html | 153 ++
content/docs/api/interfaces/selector.chunk.html | 303 +++
content/docs/api/interfaces/selector.chunker.html | 368 +++
.../docs/api/interfaces/selector.chunkrange.html | 292 +++
.../docs/api/interfaces/selector.cssselector.html | 284 +++
.../selector.describetextquoteoptions.html | 281 +++
content/docs/api/interfaces/selector.matcher.html | 257 ++
.../api/interfaces/selector.rangeselector.html | 295 +++
.../docs/api/interfaces/selector.selector-1.html | 270 ++
.../interfaces/selector.textpositionselector.html | 295 +++
.../api/interfaces/selector.textquoteselector.html | 306 +++
content/docs/api/modules/dom.html | 646 +++++
content/docs/api/modules/selector.html | 655 +++++
content/docs/getting-started/index.html | 106 +-
content/docs/index.html | 106 +-
content/index.html | 104 +-
package.json | 6 +-
src/_includes/page_footer.hbs | 35 +
src/_includes/page_header.hbs | 16 +
src/_layouts/default.hbs | 40 +
src/_layouts/default.liquid | 99 -
src/_layouts/docs.hbs | 18 +
src/docs/getting-started.md | 2 +-
src/docs/index.md | 2 +-
src/index.html | 91 +-
typedoc_theme/layouts/default.hbs | 38 +
typedoc_theme/partials/page_footer.hbs | 1 +
typedoc_theme/partials/page_header.hbs | 1 +
typedoc_theme/partials/typedoc_breadcrumbs.hbs | 12 +
typedoc_theme/partials/typedoc_h1_title.hbs | 21 +
typedoc_theme/partials/typedoc_main_content.hbs | 28 +
typedoc_theme/partials/typedoc_search_widget.hbs | 18 +
typedoc_theme/partials/website_default.hbs | 1 +
43 files changed, 7718 insertions(+), 350 deletions(-)
create mode 100644 content/docs/api/assets/css/main.css
create mode 100644 content/docs/api/assets/images/icons.png
create mode 100644 content/docs/api/assets/images/icons@2x.png
create mode 100644 content/docs/api/assets/images/widgets.png
create mode 100644 content/docs/api/assets/images/widgets@2x.png
create mode 100644 content/docs/api/assets/js/main.js
create mode 100644 content/docs/api/assets/js/search.js
create mode 100644 content/docs/api/index.html
create mode 100644 content/docs/api/interfaces/selector.chunk.html
create mode 100644 content/docs/api/interfaces/selector.chunker.html
create mode 100644 content/docs/api/interfaces/selector.chunkrange.html
create mode 100644 content/docs/api/interfaces/selector.cssselector.html
create mode 100644 content/docs/api/interfaces/selector.describetextquoteoptions.html
create mode 100644 content/docs/api/interfaces/selector.matcher.html
create mode 100644 content/docs/api/interfaces/selector.rangeselector.html
create mode 100644 content/docs/api/interfaces/selector.selector-1.html
create mode 100644 content/docs/api/interfaces/selector.textpositionselector.html
create mode 100644 content/docs/api/interfaces/selector.textquoteselector.html
create mode 100644 content/docs/api/modules/dom.html
create mode 100644 content/docs/api/modules/selector.html
create mode 100644 src/_includes/page_footer.hbs
create mode 100644 src/_includes/page_header.hbs
create mode 100644 src/_layouts/default.hbs
delete mode 100644 src/_layouts/default.liquid
create mode 100644 src/_layouts/docs.hbs
create mode 100644 typedoc_theme/layouts/default.hbs
create mode 120000 typedoc_theme/partials/page_footer.hbs
create mode 120000 typedoc_theme/partials/page_header.hbs
create mode 100644 typedoc_theme/partials/typedoc_breadcrumbs.hbs
create mode 100644 typedoc_theme/partials/typedoc_h1_title.hbs
create mode 100644 typedoc_theme/partials/typedoc_main_content.hbs
create mode 100644 typedoc_theme/partials/typedoc_search_widget.hbs
create mode 120000 typedoc_theme/partials/website_default.hbs
[incubator-annotator-website] 05/06: Merge branch 'include-typedoc'
into asf-site
Posted by ge...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
gerben pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-annotator-website.git
commit b4483d93f9b3d522534188a0b77150059ecb6621
Merge: 407e246 6973523
Author: Gerben <ge...@treora.com>
AuthorDate: Sun May 9 13:49:04 2021 +0200
Merge branch 'include-typedoc' into asf-site
.eleventy.js | 5 ++
package.json | 6 +-
src/_includes/page_footer.hbs | 35 +++++++++
src/_includes/page_header.hbs | 16 ++++
src/_layouts/default.hbs | 40 ++++++++++
src/_layouts/default.liquid | 99 ------------------------
src/_layouts/docs.hbs | 18 +++++
src/docs/getting-started.md | 2 +-
src/docs/index.md | 2 +-
src/index.html | 91 +---------------------
typedoc_theme/layouts/default.hbs | 38 +++++++++
typedoc_theme/partials/page_footer.hbs | 1 +
typedoc_theme/partials/page_header.hbs | 1 +
typedoc_theme/partials/typedoc_breadcrumbs.hbs | 12 +++
typedoc_theme/partials/typedoc_h1_title.hbs | 21 +++++
typedoc_theme/partials/typedoc_main_content.hbs | 28 +++++++
typedoc_theme/partials/typedoc_search_widget.hbs | 18 +++++
typedoc_theme/partials/website_default.hbs | 1 +
18 files changed, 243 insertions(+), 191 deletions(-)
[incubator-annotator-website] 03/06: Dedupe & factor out
header&footer from templates
Posted by ge...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
gerben pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-annotator-website.git
commit ecde1b3cc833d0652ee865171ea5c3ba2c4b37e5
Author: Gerben <ge...@treora.com>
AuthorDate: Sun May 9 10:55:48 2021 +0200
Dedupe & factor out header&footer from templates
---
src/_includes/page_footer.hbs | 35 +++++++++++++++++
src/_includes/page_header.hbs | 16 ++++++++
src/_layouts/default.hbs | 70 ++-------------------------------
src/_layouts/docs.hbs | 18 +++++++++
src/docs/getting-started.md | 2 +-
src/docs/index.md | 2 +-
src/index.html | 91 ++-----------------------------------------
7 files changed, 78 insertions(+), 156 deletions(-)
diff --git a/src/_includes/page_footer.hbs b/src/_includes/page_footer.hbs
new file mode 100644
index 0000000..7cd2ea5
--- /dev/null
+++ b/src/_includes/page_footer.hbs
@@ -0,0 +1,35 @@
+ <footer class="ui bottom attached segment">
+ <div class="ui container">
+ <div class="ui equal height divided stackable grid">
+ <div class="four wide column">
+ <a class="ui left floated medium image" href="https://apache.org/" target="_blank">
+ <img src="https://incubator.apache.org/images/incubator_feather_egg_logo_sm.png" alt="logo of the Apache Incubator" />
+ </a>
+ <p>
+ <em>Copyright © 2016-2018 The Apache Software Foundation, Licensed under
+ the <a href="https://www.apache.org/licenses/LICENSE-2.0" rel="license external">Apache License, Version 2.0</a>.
+ |
+ <a rel="external" href="https://www.apache.org/foundation/policies/privacy">Privacy Policy</a>
+ </em>
+ </p>
+ </div>
+ <div class="nine wide column">
+ <p>
+ <em>Apache Annotator is an effort undergoing incubation at <a target="_blank" href="https://apache.org/">The Apache Software Foundation (ASF)</a> sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the [...]
+ <p><em>Apache®, the names of Apache projects, and the feather logo are either <a rel="external" href="https://www.apache.org/foundation/marks/list/">registered trademarks or trademarks</a> of the Apache Software Foundation in the United States and/or other countries.</em></p>
+ </div>
+ <div class="three wide column">
+ <h4 class="header">The <abbr title="Apache Software Foundation">ASF</abbr></h4>
+ <div class="ui link list">
+ <a class="item" rel="external" href="https://incubator.apache.org/">Apache Incubator</a>
+ <a class="item" rel="external" href="https://www.apache.org/">About the ASF</a>
+ <a class="item" rel="external" href="https://www.apache.org/events/current-event">Events</a>
+ <a class="item" rel="external" href="https://www.apache.org/foundation/thanks.html">Thanks</a>
+ <a class="item" rel="external" href="https://www.apache.org/foundation/sponsorship.html">Become a Sponsor</a>
+ <a class="item" rel="external" href="https://www.apache.org/security/">Security</a>
+ <a class="item" rel="external" href="https://www.apache.org/licenses/">License</a>
+ </div>
+ </div>
+ </div>
+ </div>
+ </footer>
diff --git a/src/_includes/page_header.hbs b/src/_includes/page_header.hbs
new file mode 100644
index 0000000..efbe186
--- /dev/null
+++ b/src/_includes/page_header.hbs
@@ -0,0 +1,16 @@
+ <div class="ui borderless stackable top attached main menu">
+ <div class="ui container">
+ <a class="item" href="/" style="color: rgba(0,0,0,.87);">
+ <img class="ui small image" src="/images/annotator-logo.svg" alt="Apache Annotator (incubating)" />
+ </a>
+
+ <div class="right menu">
+ <a class="item" href="/demo/"><span class="ui positive button">Demo!</span></a>
+ <a class="item" rel="external" href="https://www.npmjs.com/package/apache-annotator">NPM</a>
+ <a class="item" rel="external" href="https://github.com/apache?q=annotator#org-repositories">Code</a>
+ <a class="item" rel="external" href="https://github.com/apache/incubator-annotator/issues">Issues</a>
+ <a class="{{#if isDocs}}active {{/if}}item" href="/docs/">Docs</a>
+ <a class="item" rel="external" href="https://mail-archives.apache.org/mod_mbox/incubator-annotator-dev/">Mailing List</a>
+ </div>
+ </div>
+ </div>
diff --git a/src/_layouts/default.hbs b/src/_layouts/default.hbs
index 2906275..c139d2e 100644
--- a/src/_layouts/default.hbs
+++ b/src/_layouts/default.hbs
@@ -26,74 +26,10 @@
</head>
<body>
- <div class="ui borderless stackable top attached main menu">
- <div class="ui container">
- <a class="item" href="/" style="color: rgba(0,0,0,.87);">
- <img class="ui small image" src="/images/annotator-logo.svg" alt="Apache Annotator (incubating)" />
- </a>
-
- <div class="right menu">
- <a class="item" href="/demo"><span class="ui positive button">Demo!</span></a>
- <a class="item" rel="external" href="https://www.npmjs.com/package/apache-annotator">NPM</a>
- <a class="item" rel="external" href="https://github.com/apache?q=annotator#org-repositories">Code</a>
- <a class="item" rel="external" href="https://github.com/apache/incubator-annotator/issues">Issues</a>
- <span class="active item"><strong>Docs</strong></span>
- <a class="item" rel="external" href="https://mail-archives.apache.org/mod_mbox/incubator-annotator-dev/">Mailing List</a>
- </div>
- </div>
- </div>
-
+ {{> page_header}}
<div class="ui basic segment container">
- <div class="ui grid">
- <div class="three wide column">
- <div class="ui vertical secondary menu">
- {{#each collections.all}}
- {{#if (not-eq this.url '/')}}
- <div class="{{#if (eq ../page.url this.url)}}active {{/if}}item"><a href="{{this.url}}">{{this.data.title}}</a></div>
- {{/if}}
- {{/each}}
- </div>
- </div>
- <div class="nine wide column">
- {{{content}}}
- </div>
- </div>
+ {{{content}}}
</div>
-
- <footer class="ui bottom attached segment">
- <div class="ui container">
- <div class="ui equal height divided stackable grid">
- <div class="four wide column">
- <a class="ui left floated medium image" href="https://apache.org/" target="_blank">
- <img src="https://incubator.apache.org/images/incubator_feather_egg_logo_sm.png" alt="logo of the Apache Incubator" />
- </a>
- <p>
- <em>Copyright © 2016-2018 The Apache Software Foundation, Licensed under
- the <a href="https://www.apache.org/licenses/LICENSE-2.0" rel="license external">Apache License, Version 2.0</a>.
- |
- <a rel="external" href="https://www.apache.org/foundation/policies/privacy">Privacy Policy</a>
- </em>
- </p>
- </div>
- <div class="nine wide column">
- <p>
- <em>Apache Annotator is an effort undergoing incubation at <a target="_blank" href="https://apache.org/">The Apache Software Foundation (ASF)</a> sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the [...]
- <p><em>Apache®, the names of Apache projects, and the feather logo are either <a rel="external" href="https://www.apache.org/foundation/marks/list/">registered trademarks or trademarks</a> of the Apache Software Foundation in the United States and/or other countries.</em></p>
- </div>
- <div class="three wide column">
- <h4 class="header">The <abbr title="Apache Software Foundation">ASF</abbr></h4>
- <div class="ui link list">
- <a class="item" rel="external" href="https://incubator.apache.org/">Apache Incubator</a>
- <a class="item" rel="external" href="https://www.apache.org/">About the ASF</a>
- <a class="item" rel="external" href="https://www.apache.org/events/current-event">Events</a>
- <a class="item" rel="external" href="https://www.apache.org/foundation/thanks.html">Thanks</a>
- <a class="item" rel="external" href="https://www.apache.org/foundation/sponsorship.html">Become a Sponsor</a>
- <a class="item" rel="external" href="https://www.apache.org/security/">Security</a>
- <a class="item" rel="external" href="https://www.apache.org/licenses/">License</a>
- </div>
- </div>
- </div>
- </div>
- </footer>
+ {{> page_footer}}
</body>
</html>
diff --git a/src/_layouts/docs.hbs b/src/_layouts/docs.hbs
new file mode 100644
index 0000000..0aacde4
--- /dev/null
+++ b/src/_layouts/docs.hbs
@@ -0,0 +1,18 @@
+---
+layout: default
+isDocs: true
+---
+ <div class="ui grid">
+ <div class="three wide column">
+ <div class="ui vertical secondary menu">
+ {{#each collections.all}}
+ {{#if (not-eq this.url '/')}}
+ <div class="{{#if (eq ../page.url this.url)}}active {{/if}}item"><a href="{{this.url}}">{{this.data.title}}</a></div>
+ {{/if}}
+ {{/each}}
+ </div>
+ </div>
+ <div class="nine wide column">
+ {{{content}}}
+ </div>
+ </div>
diff --git a/src/docs/getting-started.md b/src/docs/getting-started.md
index 72e6aba..3643292 100644
--- a/src/docs/getting-started.md
+++ b/src/docs/getting-started.md
@@ -1,6 +1,6 @@
---
title: Getting Started
-layout: default
+layout: docs
---
Please checkout the [demo](/demo/) for now, but we'll explain it here soon.
diff --git a/src/docs/index.md b/src/docs/index.md
index 131c2c1..528b88f 100644
--- a/src/docs/index.md
+++ b/src/docs/index.md
@@ -1,6 +1,6 @@
---
title: Documentation
-layout: default
+layout: docs
---
We're working on some initial documentation for getting started with Apache
diff --git a/src/index.html b/src/index.html
index 53bfa65..70a6bd0 100644
--- a/src/index.html
+++ b/src/index.html
@@ -1,49 +1,6 @@
-<!DOCTYPE html>
-<html prefix="og: http://ogp.me/ns#">
- <head>
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
- <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1">
- <title>Apache Annotator (incubating)</title>
-
- <meta property="og:title" content="Apache Annotator" />
- <meta property="og:type" content="website" />
- <meta property="og:url" content="https://annotator.apache.org/" />
- <meta property="og:image:url" content="https://annotator.apache.org/images/annotator-logo.svg" />
- <meta property="og:image:alt" content="Apache Annotator (incubating) logo" />
-
- <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon.png">
- <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32.png">
- <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16.png">
- <link rel="manifest" href="/site.webmanifest">
- <link rel="mask-icon" href="/images/safari-pinned-tab.svg" color="#5bbad5">
- <meta name="msapplication-TileColor" content="#da532c">
- <meta name="theme-color" content="#ffffff">
-
- <link rel="alternate" title="DOAP" href="doap.rdf" type="application/rdf+xml" />
-
- <link rel="stylesheet" href="//semantic-ui.com/dist/semantic.min.css" />
- </head>
-
- <body>
- <div class="ui borderless stackable top attached main menu">
- <div class="ui container">
- <a class="item" href="/" style="color: rgba(0,0,0,.87);">
- <img class="ui small image" src="images/annotator-logo.svg" alt="Apache Annotator (incubating)" />
- </a>
-
- <div class="right menu">
- <a class="item" href="demo/"><span class="ui positive button">Demo!</span></a>
- <a class="item" rel="external" href="https://www.npmjs.com/package/apache-annotator">NPM</a>
- <a class="item" rel="external" href="https://github.com/apache?q=annotator#org-repositories">Code</a>
- <a class="item" rel="external" href="https://github.com/apache/incubator-annotator/issues">Issues</a>
- <a class="item" href="docs">Docs</a>
- <a class="item" rel="external" href="https://mail-archives.apache.org/mod_mbox/incubator-annotator-dev/">Mailing List</a>
- </div>
- </div>
- </div>
-
- <div class="ui basic segment container">
+---
+layout: default
+---
<div class="ui divided grid">
<div class="ten wide column">
<h3>
@@ -183,44 +140,4 @@
</div>
</div>
</div>
- </div>
-
- <footer class="ui bottom attached segment">
- <div class="ui container">
- <div class="ui equal height divided stackable grid">
- <div class="four wide column">
- <a class="ui left floated medium image" href="https://apache.org/" target="_blank">
- <img src="https://incubator.apache.org/images/incubator_feather_egg_logo_sm.png" alt="logo of the Apache Incubator" />
- </a>
- <p>
- <em>Copyright © 2016-2018 The Apache Software Foundation, Licensed under
- the <a href="https://www.apache.org/licenses/LICENSE-2.0" rel="license external">Apache License, Version 2.0</a>.
- |
- <a rel="external" href="https://www.apache.org/foundation/policies/privacy">Privacy Policy</a>
- </em>
- </p>
- </div>
- <div class="nine wide column">
- <p>
- <em>Apache Annotator is an effort undergoing incubation at <a target="_blank" href="https://apache.org/">The Apache Software Foundation (ASF)</a> sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the [...]
- <p><em>Apache®, the names of Apache projects, and the feather logo are either <a rel="external" href="https://www.apache.org/foundation/marks/list/">registered trademarks or trademarks</a> of the Apache Software Foundation in the United States and/or other countries.</em></p>
- </div>
- <div class="three wide column">
- <h4 class="header">The <abbr title="Apache Software Foundation">ASF</abbr></h4>
- <div class="ui link list">
- <a class="item" rel="external" href="https://incubator.apache.org/">Apache Incubator</a>
- <a class="item" rel="external" href="https://www.apache.org/">About the ASF</a>
- <a class="item" rel="external" href="https://www.apache.org/events/current-event">Events</a>
- <a class="item" rel="external" href="https://www.apache.org/foundation/thanks.html">Thanks</a>
- <a class="item" rel="external" href="https://www.apache.org/foundation/sponsorship.html">Become a Sponsor</a>
- <a class="item" rel="external" href="https://www.apache.org/security/">Security</a>
- <a class="item" rel="external" href="https://www.apache.org/licenses/">License</a>
- </div>
- </div>
- </div>
- </div>
- </footer>
-
- <script async defer src="index.js"></script>
- </body>
-</html>
+ <script async defer src="index.js"></script>
[incubator-annotator-website] 02/06: Convert liquid to handelbars
Posted by ge...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
gerben pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-annotator-website.git
commit c74f09e056c3e3492de091437a4da0940a813ced
Author: Gerben <ge...@treora.com>
AuthorDate: Sun May 9 00:32:41 2021 +0200
Convert liquid to handelbars
So we can reuse pieces for the TypeDoc template
---
.eleventy.js | 3 +++
src/_layouts/{default.liquid => default.hbs} | 12 ++++++------
2 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/.eleventy.js b/.eleventy.js
index b5878db..bd4a104 100644
--- a/.eleventy.js
+++ b/.eleventy.js
@@ -20,6 +20,9 @@ module.exports = function(eleventyConfig) {
'src/site.webmanifest': 'site.webmanifest'
});
+ eleventyConfig.addShortcode('eq', function(a, b) { return a === b });
+ eleventyConfig.addShortcode('not-eq', function(a, b) { return a !== b });
+
return {
dir: {
input: 'src',
diff --git a/src/_layouts/default.liquid b/src/_layouts/default.hbs
similarity index 94%
rename from src/_layouts/default.liquid
rename to src/_layouts/default.hbs
index 96b9cdd..2906275 100644
--- a/src/_layouts/default.liquid
+++ b/src/_layouts/default.hbs
@@ -47,15 +47,15 @@
<div class="ui grid">
<div class="three wide column">
<div class="ui vertical secondary menu">
- {%- for post in collections.all -%}
- {%- if post.url != '/' -%}
- <div class="{% if page.url == post.url %}active {% endif %}item"><a href="{{ post.url }}">{{ post.data.title }}</a></div>
- {%- endif -%}
- {%- endfor -%}
+ {{#each collections.all}}
+ {{#if (not-eq this.url '/')}}
+ <div class="{{#if (eq ../page.url this.url)}}active {{/if}}item"><a href="{{this.url}}">{{this.data.title}}</a></div>
+ {{/if}}
+ {{/each}}
</div>
</div>
<div class="nine wide column">
- {{ content }}
+ {{{content}}}
</div>
</div>
</div>
[incubator-annotator-website] 06/06: Update website content
Posted by ge...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
gerben pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-annotator-website.git
commit 7eca27c06b74107ae19dddbed119f3305ede15d1
Author: Gerben <ge...@treora.com>
AuthorDate: Sun May 9 13:52:30 2021 +0200
Update website content
Not linking to api docs yet
---
annotator | 2 +-
content/demo/index.html | 2 +-
content/docs/api/assets/css/main.css | 2660 ++++++++++++++++++++
content/docs/api/assets/images/icons.png | Bin 0 -> 9615 bytes
content/docs/api/assets/images/icons@2x.png | Bin 0 -> 28144 bytes
content/docs/api/assets/images/widgets.png | Bin 0 -> 480 bytes
content/docs/api/assets/images/widgets@2x.png | Bin 0 -> 855 bytes
content/docs/api/assets/js/main.js | 248 ++
content/docs/api/assets/js/search.js | 1 +
content/docs/api/index.html | 153 ++
content/docs/api/interfaces/selector.chunk.html | 303 +++
content/docs/api/interfaces/selector.chunker.html | 368 +++
.../docs/api/interfaces/selector.chunkrange.html | 292 +++
.../docs/api/interfaces/selector.cssselector.html | 284 +++
.../selector.describetextquoteoptions.html | 281 +++
content/docs/api/interfaces/selector.matcher.html | 257 ++
.../api/interfaces/selector.rangeselector.html | 295 +++
.../docs/api/interfaces/selector.selector-1.html | 270 ++
.../interfaces/selector.textpositionselector.html | 295 +++
.../api/interfaces/selector.textquoteselector.html | 306 +++
content/docs/api/modules/dom.html | 646 +++++
content/docs/api/modules/selector.html | 655 +++++
content/docs/getting-started/index.html | 106 +-
content/docs/index.html | 106 +-
content/index.html | 104 +-
25 files changed, 7475 insertions(+), 159 deletions(-)
diff --git a/annotator b/annotator
index 32fea01..846870a 160000
--- a/annotator
+++ b/annotator
@@ -1 +1 @@
-Subproject commit 32fea01c03e577abdb813b7575d790a96fd4fd03
+Subproject commit 846870adf4c1b344b4da66548b57ee57f5d3b51a
diff --git a/content/demo/index.html b/content/demo/index.html
index 0dd86da..8108f5b 100644
--- a/content/demo/index.html
+++ b/content/demo/index.html
@@ -59,7 +59,7 @@ under the License.
<p>This page demonstrates Web Annotation
<a href="https://www.w3.org/TR/2017/REC-annotation-model-20170223/#selectors" target="_blank">Selectors</a>,
standardised JSON objects that describe a selection inside a document with sufficient information to find it back.</p>
- <p>This demo’s source code can be found <a href="https://gitbox.apache.org/repos/asf?p=incubator-annotator.git;a=tree;hb=HEAD;f=web/demo">in the project repo</a> (also mirrored <a href="https://github.com/apache/incubator-annotator/tree/master/web">on GitHub</a>)</p>
+ <p>This demo’s source code can be found <a href="https://gitbox.apache.org/repos/asf?p=incubator-annotator.git;a=tree;hb=HEAD;f=web">in the project repo</a> (also mirrored <a href="https://github.com/apache/incubator-annotator/tree/master/web">on GitHub</a>)</p>
<div class="columns full-width">
<div class="column">
diff --git a/content/docs/api/assets/css/main.css b/content/docs/api/assets/css/main.css
new file mode 100644
index 0000000..46571c2
--- /dev/null
+++ b/content/docs/api/assets/css/main.css
@@ -0,0 +1,2660 @@
+:root {
+ --color-background: #fdfdfd;
+ --color-text: #222;
+ --color-text-aside: #707070;
+ --color-link: #4da6ff;
+ --color-menu-divider: #eee;
+ --color-menu-divider-focus: #000;
+ --color-menu-label: #707070;
+ --color-panel: #fff;
+ --color-panel-divider: #eee;
+ --color-comment-tag: #707070;
+ --color-comment-tag-text: #fff;
+ --color-code-background: rgba(0, 0, 0, 0.04);
+ --color-ts: #9600ff;
+ --color-ts-interface: #647f1b;
+ --color-ts-enum: #937210;
+ --color-ts-class: #0672de;
+ --color-ts-private: #707070;
+ --color-toolbar: #fff;
+ --color-toolbar-text: #333;
+}
+
+/*! normalize.css v1.1.3 | MIT License | git.io/normalize */
+/* ==========================================================================
+ * * HTML5 display definitions
+ * * ========================================================================== */
+/**
+ * * Correct `block` display not defined in IE 6/7/8/9 and Firefox 3. */
+article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
+ display: block;
+}
+
+/**
+ * * Correct `inline-block` display not defined in IE 6/7/8/9 and Firefox 3. */
+audio, canvas, video {
+ display: inline-block;
+ *display: inline;
+ *zoom: 1;
+}
+
+/**
+ * * Prevent modern browsers from displaying `audio` without controls.
+ * * Remove excess height in iOS 5 devices. */
+audio:not([controls]) {
+ display: none;
+ height: 0;
+}
+
+/**
+ * * Address styling not present in IE 7/8/9, Firefox 3, and Safari 4.
+ * * Known issue: no IE 6 support. */
+[hidden] {
+ display: none;
+}
+
+/* ==========================================================================
+ * * Base
+ * * ========================================================================== */
+/**
+ * * 1. Correct text resizing oddly in IE 6/7 when body `font-size` is set using
+ * * `em` units.
+ * * 2. Prevent iOS text size adjust after orientation change, without disabling
+ * * user zoom. */
+html {
+ font-size: 100%;
+ /* 1 */
+ -ms-text-size-adjust: 100%;
+ /* 2 */
+ -webkit-text-size-adjust: 100%;
+ /* 2 */
+ font-family: sans-serif;
+}
+
+/**
+ * * Address `font-family` inconsistency between `textarea` and other form
+ * * elements. */
+button, input, select, textarea {
+ font-family: sans-serif;
+}
+
+/**
+ * * Address margins handled incorrectly in IE 6/7. */
+body {
+ margin: 0;
+}
+
+/* ==========================================================================
+ * * Links
+ * * ========================================================================== */
+/**
+ * * Address `outline` inconsistency between Chrome and other browsers. */
+a:focus {
+ outline: thin dotted;
+}
+a:active, a:hover {
+ outline: 0;
+}
+
+/**
+ * * Improve readability when focused and also mouse hovered in all browsers. */
+/* ==========================================================================
+ * * Typography
+ * * ========================================================================== */
+/**
+ * * Address font sizes and margins set differently in IE 6/7.
+ * * Address font sizes within `section` and `article` in Firefox 4+, Safari 5,
+ * * and Chrome. */
+h1 {
+ font-size: 2em;
+ margin: 0.67em 0;
+}
+
+h2 {
+ font-size: 1.5em;
+ margin: 0.83em 0;
+}
+
+h3 {
+ font-size: 1.17em;
+ margin: 1em 0;
+}
+
+h4, .tsd-index-panel h3 {
+ font-size: 1em;
+ margin: 1.33em 0;
+}
+
+h5 {
+ font-size: 0.83em;
+ margin: 1.67em 0;
+}
+
+h6 {
+ font-size: 0.67em;
+ margin: 2.33em 0;
+}
+
+/**
+ * * Address styling not present in IE 7/8/9, Safari 5, and Chrome. */
+abbr[title] {
+ border-bottom: 1px dotted;
+}
+
+/**
+ * * Address style set to `bolder` in Firefox 3+, Safari 4/5, and Chrome. */
+b, strong {
+ font-weight: bold;
+}
+
+blockquote {
+ margin: 1em 40px;
+}
+
+/**
+ * * Address styling not present in Safari 5 and Chrome. */
+dfn {
+ font-style: italic;
+}
+
+/**
+ * * Address differences between Firefox and other browsers.
+ * * Known issue: no IE 6/7 normalization. */
+hr {
+ -moz-box-sizing: content-box;
+ box-sizing: content-box;
+ height: 0;
+}
+
+/**
+ * * Address styling not present in IE 6/7/8/9. */
+mark {
+ background: #ff0;
+ color: #000;
+}
+
+/**
+ * * Address margins set differently in IE 6/7. */
+p, pre {
+ margin: 1em 0;
+}
+
+/**
+ * * Correct font family set oddly in IE 6, Safari 4/5, and Chrome. */
+code, kbd, pre, samp {
+ font-family: monospace, serif;
+ _font-family: "courier new", monospace;
+ font-size: 1em;
+}
+
+/**
+ * * Improve readability of pre-formatted text in all browsers. */
+pre {
+ white-space: pre;
+ white-space: pre-wrap;
+ word-wrap: break-word;
+}
+
+/**
+ * * Address CSS quotes not supported in IE 6/7. */
+q {
+ quotes: none;
+}
+q:before, q:after {
+ content: "";
+ content: none;
+}
+
+/**
+ * * Address `quotes` property not supported in Safari 4. */
+/**
+ * * Address inconsistent and variable font size in all browsers. */
+small {
+ font-size: 80%;
+}
+
+/**
+ * * Prevent `sub` and `sup` affecting `line-height` in all browsers. */
+sub {
+ font-size: 75%;
+ line-height: 0;
+ position: relative;
+ vertical-align: baseline;
+}
+
+sup {
+ font-size: 75%;
+ line-height: 0;
+ position: relative;
+ vertical-align: baseline;
+ top: -0.5em;
+}
+
+sub {
+ bottom: -0.25em;
+}
+
+/* ==========================================================================
+ * * Lists
+ * * ========================================================================== */
+/**
+ * * Address margins set differently in IE 6/7. */
+dl, menu, ol, ul {
+ margin: 1em 0;
+}
+
+dd {
+ margin: 0 0 0 40px;
+}
+
+/**
+ * * Address paddings set differently in IE 6/7. */
+menu, ol, ul {
+ padding: 0 0 0 40px;
+}
+
+/**
+ * * Correct list images handled incorrectly in IE 7. */
+nav ul, nav ol {
+ list-style: none;
+ list-style-image: none;
+}
+
+/* ==========================================================================
+ * * Embedded content
+ * * ========================================================================== */
+/**
+ * * 1. Remove border when inside `a` element in IE 6/7/8/9 and Firefox 3.
+ * * 2. Improve image quality when scaled in IE 7. */
+img {
+ border: 0;
+ /* 1 */
+ -ms-interpolation-mode: bicubic;
+}
+
+/* 2 */
+/**
+ * * Correct overflow displayed oddly in IE 9. */
+svg:not(:root) {
+ overflow: hidden;
+}
+
+/* ==========================================================================
+ * * Figures
+ * * ========================================================================== */
+/**
+ * * Address margin not present in IE 6/7/8/9, Safari 5, and Opera 11. */
+figure, form {
+ margin: 0;
+}
+
+/* ==========================================================================
+ * * Forms
+ * * ========================================================================== */
+/**
+ * * Correct margin displayed oddly in IE 6/7. */
+/**
+ * * Define consistent border, margin, and padding. */
+fieldset {
+ border: 1px solid #c0c0c0;
+ margin: 0 2px;
+ padding: 0.35em 0.625em 0.75em;
+}
+
+/**
+ * * 1. Correct color not being inherited in IE 6/7/8/9.
+ * * 2. Correct text not wrapping in Firefox 3.
+ * * 3. Correct alignment displayed oddly in IE 6/7. */
+legend {
+ border: 0;
+ /* 1 */
+ padding: 0;
+ white-space: normal;
+ /* 2 */
+ *margin-left: -7px;
+}
+
+/* 3 */
+/**
+ * * 1. Correct font size not being inherited in all browsers.
+ * * 2. Address margins set differently in IE 6/7, Firefox 3+, Safari 5,
+ * * and Chrome.
+ * * 3. Improve appearance and consistency in all browsers. */
+button, input, select, textarea {
+ font-size: 100%;
+ /* 1 */
+ margin: 0;
+ /* 2 */
+ vertical-align: baseline;
+ /* 3 */
+ *vertical-align: middle;
+}
+
+/* 3 */
+/**
+ * * Address Firefox 3+ setting `line-height` on `input` using `!important` in
+ * * the UA stylesheet. */
+button, input {
+ line-height: normal;
+}
+
+/**
+ * * Address inconsistent `text-transform` inheritance for `button` and `select`.
+ * * All other form control elements do not inherit `text-transform` values.
+ * * Correct `button` style inheritance in Chrome, Safari 5+, and IE 6+.
+ * * Correct `select` style inheritance in Firefox 4+ and Opera. */
+button, select {
+ text-transform: none;
+}
+
+/**
+ * * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
+ * * and `video` controls.
+ * * 2. Correct inability to style clickable `input` types in iOS.
+ * * 3. Improve usability and consistency of cursor style between image-type
+ * * `input` and others.
+ * * 4. Remove inner spacing in IE 7 without affecting normal text inputs.
+ * * Known issue: inner spacing remains in IE 6. */
+button, html input[type=button] {
+ -webkit-appearance: button;
+ /* 2 */
+ cursor: pointer;
+ /* 3 */
+ *overflow: visible;
+}
+
+/* 4 */
+input[type=reset], input[type=submit] {
+ -webkit-appearance: button;
+ /* 2 */
+ cursor: pointer;
+ /* 3 */
+ *overflow: visible;
+}
+
+/* 4 */
+/**
+ * * Re-set default cursor for disabled elements. */
+button[disabled], html input[disabled] {
+ cursor: default;
+}
+
+/**
+ * * 1. Address box sizing set to content-box in IE 8/9.
+ * * 2. Remove excess padding in IE 8/9.
+ * * 3. Remove excess padding in IE 7.
+ * * Known issue: excess padding remains in IE 6. */
+input {
+ /* 3 */
+}
+input[type=checkbox], input[type=radio] {
+ box-sizing: border-box;
+ /* 1 */
+ padding: 0;
+ /* 2 */
+ *height: 13px;
+ /* 3 */
+ *width: 13px;
+}
+input[type=search] {
+ -webkit-appearance: textfield;
+ /* 1 */
+ -moz-box-sizing: content-box;
+ -webkit-box-sizing: content-box;
+ /* 2 */
+ box-sizing: content-box;
+}
+input[type=search]::-webkit-search-cancel-button, input[type=search]::-webkit-search-decoration {
+ -webkit-appearance: none;
+}
+
+/**
+ * * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
+ * * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
+ * * (include `-moz` to future-proof). */
+/**
+ * * Remove inner padding and search cancel button in Safari 5 and Chrome
+ * * on OS X. */
+/**
+ * * Remove inner padding and border in Firefox 3+. */
+button::-moz-focus-inner, input::-moz-focus-inner {
+ border: 0;
+ padding: 0;
+}
+
+/**
+ * * 1. Remove default vertical scrollbar in IE 6/7/8/9.
+ * * 2. Improve readability and alignment in all browsers. */
+textarea {
+ overflow: auto;
+ /* 1 */
+ vertical-align: top;
+}
+
+/* 2 */
+/* ==========================================================================
+ * * Tables
+ * * ========================================================================== */
+/**
+ * * Remove most spacing between table cells. */
+table {
+ border-collapse: collapse;
+ border-spacing: 0;
+}
+
+ul.tsd-descriptions > li > :first-child, .tsd-panel > :first-child, .col > :first-child, .col-11 > :first-child, .col-10 > :first-child, .col-9 > :first-child, .col-8 > :first-child, .col-7 > :first-child, .col-6 > :first-child, .col-5 > :first-child, .col-4 > :first-child, .col-3 > :first-child, .col-2 > :first-child, .col-1 > :first-child,
+ul.tsd-descriptions > li > :first-child > :first-child,
+.tsd-panel > :first-child > :first-child,
+.col > :first-child > :first-child,
+.col-11 > :first-child > :first-child,
+.col-10 > :first-child > :first-child,
+.col-9 > :first-child > :first-child,
+.col-8 > :first-child > :first-child,
+.col-7 > :first-child > :first-child,
+.col-6 > :first-child > :first-child,
+.col-5 > :first-child > :first-child,
+.col-4 > :first-child > :first-child,
+.col-3 > :first-child > :first-child,
+.col-2 > :first-child > :first-child,
+.col-1 > :first-child > :first-child,
+ul.tsd-descriptions > li > :first-child > :first-child > :first-child,
+.tsd-panel > :first-child > :first-child > :first-child,
+.col > :first-child > :first-child > :first-child,
+.col-11 > :first-child > :first-child > :first-child,
+.col-10 > :first-child > :first-child > :first-child,
+.col-9 > :first-child > :first-child > :first-child,
+.col-8 > :first-child > :first-child > :first-child,
+.col-7 > :first-child > :first-child > :first-child,
+.col-6 > :first-child > :first-child > :first-child,
+.col-5 > :first-child > :first-child > :first-child,
+.col-4 > :first-child > :first-child > :first-child,
+.col-3 > :first-child > :first-child > :first-child,
+.col-2 > :first-child > :first-child > :first-child,
+.col-1 > :first-child > :first-child > :first-child {
+ margin-top: 0;
+}
+ul.tsd-descriptions > li > :last-child, .tsd-panel > :last-child, .col > :last-child, .col-11 > :last-child, .col-10 > :last-child, .col-9 > :last-child, .col-8 > :last-child, .col-7 > :last-child, .col-6 > :last-child, .col-5 > :last-child, .col-4 > :last-child, .col-3 > :last-child, .col-2 > :last-child, .col-1 > :last-child,
+ul.tsd-descriptions > li > :last-child > :last-child,
+.tsd-panel > :last-child > :last-child,
+.col > :last-child > :last-child,
+.col-11 > :last-child > :last-child,
+.col-10 > :last-child > :last-child,
+.col-9 > :last-child > :last-child,
+.col-8 > :last-child > :last-child,
+.col-7 > :last-child > :last-child,
+.col-6 > :last-child > :last-child,
+.col-5 > :last-child > :last-child,
+.col-4 > :last-child > :last-child,
+.col-3 > :last-child > :last-child,
+.col-2 > :last-child > :last-child,
+.col-1 > :last-child > :last-child,
+ul.tsd-descriptions > li > :last-child > :last-child > :last-child,
+.tsd-panel > :last-child > :last-child > :last-child,
+.col > :last-child > :last-child > :last-child,
+.col-11 > :last-child > :last-child > :last-child,
+.col-10 > :last-child > :last-child > :last-child,
+.col-9 > :last-child > :last-child > :last-child,
+.col-8 > :last-child > :last-child > :last-child,
+.col-7 > :last-child > :last-child > :last-child,
+.col-6 > :last-child > :last-child > :last-child,
+.col-5 > :last-child > :last-child > :last-child,
+.col-4 > :last-child > :last-child > :last-child,
+.col-3 > :last-child > :last-child > :last-child,
+.col-2 > :last-child > :last-child > :last-child,
+.col-1 > :last-child > :last-child > :last-child {
+ margin-bottom: 0;
+}
+
+.container {
+ max-width: 1200px;
+ margin: 0 auto;
+ padding: 0 40px;
+}
+@media (max-width: 640px) {
+ .container {
+ padding: 0 20px;
+ }
+}
+
+.container-main {
+ padding-bottom: 200px;
+}
+
+.row {
+ display: flex;
+ position: relative;
+ margin: 0 -10px;
+}
+.row:after {
+ visibility: hidden;
+ display: block;
+ content: "";
+ clear: both;
+ height: 0;
+}
+
+.col, .col-11, .col-10, .col-9, .col-8, .col-7, .col-6, .col-5, .col-4, .col-3, .col-2, .col-1 {
+ box-sizing: border-box;
+ float: left;
+ padding: 0 10px;
+}
+
+.col-1 {
+ width: 8.3333333333%;
+}
+
+.offset-1 {
+ margin-left: 8.3333333333%;
+}
+
+.col-2 {
+ width: 16.6666666667%;
+}
+
+.offset-2 {
+ margin-left: 16.6666666667%;
+}
+
+.col-3 {
+ width: 25%;
+}
+
+.offset-3 {
+ margin-left: 25%;
+}
+
+.col-4 {
+ width: 33.3333333333%;
+}
+
+.offset-4 {
+ margin-left: 33.3333333333%;
+}
+
+.col-5 {
+ width: 41.6666666667%;
+}
+
+.offset-5 {
+ margin-left: 41.6666666667%;
+}
+
+.col-6 {
+ width: 50%;
+}
+
+.offset-6 {
+ margin-left: 50%;
+}
+
+.col-7 {
+ width: 58.3333333333%;
+}
+
+.offset-7 {
+ margin-left: 58.3333333333%;
+}
+
+.col-8 {
+ width: 66.6666666667%;
+}
+
+.offset-8 {
+ margin-left: 66.6666666667%;
+}
+
+.col-9 {
+ width: 75%;
+}
+
+.offset-9 {
+ margin-left: 75%;
+}
+
+.col-10 {
+ width: 83.3333333333%;
+}
+
+.offset-10 {
+ margin-left: 83.3333333333%;
+}
+
+.col-11 {
+ width: 91.6666666667%;
+}
+
+.offset-11 {
+ margin-left: 91.6666666667%;
+}
+
+.tsd-kind-icon {
+ display: block;
+ position: relative;
+ padding-left: 20px;
+ text-indent: -20px;
+}
+.tsd-kind-icon:before {
+ content: "";
+ display: inline-block;
+ vertical-align: middle;
+ width: 17px;
+ height: 17px;
+ margin: 0 3px 2px 0;
+ background-image: url(../images/icons.png);
+}
+@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) {
+ .tsd-kind-icon:before {
+ background-image: url(../images/icons@2x.png);
+ background-size: 238px 204px;
+ }
+}
+
+.tsd-signature.tsd-kind-icon:before {
+ background-position: 0 -153px;
+}
+
+.tsd-kind-object-literal > .tsd-kind-icon:before {
+ background-position: 0px -17px;
+}
+.tsd-kind-object-literal.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -17px -17px;
+}
+.tsd-kind-object-literal.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -34px -17px;
+}
+
+.tsd-kind-class > .tsd-kind-icon:before {
+ background-position: 0px -34px;
+}
+.tsd-kind-class.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -17px -34px;
+}
+.tsd-kind-class.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -34px -34px;
+}
+
+.tsd-kind-class.tsd-has-type-parameter > .tsd-kind-icon:before {
+ background-position: 0px -51px;
+}
+.tsd-kind-class.tsd-has-type-parameter.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -17px -51px;
+}
+.tsd-kind-class.tsd-has-type-parameter.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -34px -51px;
+}
+
+.tsd-kind-interface > .tsd-kind-icon:before {
+ background-position: 0px -68px;
+}
+.tsd-kind-interface.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -17px -68px;
+}
+.tsd-kind-interface.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -34px -68px;
+}
+
+.tsd-kind-interface.tsd-has-type-parameter > .tsd-kind-icon:before {
+ background-position: 0px -85px;
+}
+.tsd-kind-interface.tsd-has-type-parameter.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -17px -85px;
+}
+.tsd-kind-interface.tsd-has-type-parameter.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -34px -85px;
+}
+
+.tsd-kind-namespace > .tsd-kind-icon:before {
+ background-position: 0px -102px;
+}
+.tsd-kind-namespace.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -17px -102px;
+}
+.tsd-kind-namespace.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -34px -102px;
+}
+
+.tsd-kind-module > .tsd-kind-icon:before {
+ background-position: 0px -102px;
+}
+.tsd-kind-module.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -17px -102px;
+}
+.tsd-kind-module.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -34px -102px;
+}
+
+.tsd-kind-enum > .tsd-kind-icon:before {
+ background-position: 0px -119px;
+}
+.tsd-kind-enum.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -17px -119px;
+}
+.tsd-kind-enum.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -34px -119px;
+}
+
+.tsd-kind-enum-member > .tsd-kind-icon:before {
+ background-position: 0px -136px;
+}
+.tsd-kind-enum-member.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -17px -136px;
+}
+.tsd-kind-enum-member.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -34px -136px;
+}
+
+.tsd-kind-signature > .tsd-kind-icon:before {
+ background-position: 0px -153px;
+}
+.tsd-kind-signature.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -17px -153px;
+}
+.tsd-kind-signature.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -34px -153px;
+}
+
+.tsd-kind-type-alias > .tsd-kind-icon:before {
+ background-position: 0px -170px;
+}
+.tsd-kind-type-alias.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -17px -170px;
+}
+.tsd-kind-type-alias.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -34px -170px;
+}
+
+.tsd-kind-type-alias.tsd-has-type-parameter > .tsd-kind-icon:before {
+ background-position: 0px -187px;
+}
+.tsd-kind-type-alias.tsd-has-type-parameter.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -17px -187px;
+}
+.tsd-kind-type-alias.tsd-has-type-parameter.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -34px -187px;
+}
+
+.tsd-kind-variable > .tsd-kind-icon:before {
+ background-position: -136px -0px;
+}
+.tsd-kind-variable.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -153px -0px;
+}
+.tsd-kind-variable.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -119px -0px;
+}
+.tsd-kind-variable.tsd-parent-kind-class > .tsd-kind-icon:before {
+ background-position: -51px -0px;
+}
+.tsd-kind-variable.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before {
+ background-position: -68px -0px;
+}
+.tsd-kind-variable.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -85px -0px;
+}
+.tsd-kind-variable.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before {
+ background-position: -102px -0px;
+}
+.tsd-kind-variable.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -119px -0px;
+}
+.tsd-kind-variable.tsd-parent-kind-enum > .tsd-kind-icon:before {
+ background-position: -170px -0px;
+}
+.tsd-kind-variable.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -187px -0px;
+}
+.tsd-kind-variable.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -119px -0px;
+}
+.tsd-kind-variable.tsd-parent-kind-interface > .tsd-kind-icon:before {
+ background-position: -204px -0px;
+}
+.tsd-kind-variable.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before {
+ background-position: -221px -0px;
+}
+
+.tsd-kind-property > .tsd-kind-icon:before {
+ background-position: -136px -0px;
+}
+.tsd-kind-property.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -153px -0px;
+}
+.tsd-kind-property.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -119px -0px;
+}
+.tsd-kind-property.tsd-parent-kind-class > .tsd-kind-icon:before {
+ background-position: -51px -0px;
+}
+.tsd-kind-property.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before {
+ background-position: -68px -0px;
+}
+.tsd-kind-property.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -85px -0px;
+}
+.tsd-kind-property.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before {
+ background-position: -102px -0px;
+}
+.tsd-kind-property.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -119px -0px;
+}
+.tsd-kind-property.tsd-parent-kind-enum > .tsd-kind-icon:before {
+ background-position: -170px -0px;
+}
+.tsd-kind-property.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -187px -0px;
+}
+.tsd-kind-property.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -119px -0px;
+}
+.tsd-kind-property.tsd-parent-kind-interface > .tsd-kind-icon:before {
+ background-position: -204px -0px;
+}
+.tsd-kind-property.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before {
+ background-position: -221px -0px;
+}
+
+.tsd-kind-get-signature > .tsd-kind-icon:before {
+ background-position: -136px -17px;
+}
+.tsd-kind-get-signature.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -153px -17px;
+}
+.tsd-kind-get-signature.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -119px -17px;
+}
+.tsd-kind-get-signature.tsd-parent-kind-class > .tsd-kind-icon:before {
+ background-position: -51px -17px;
+}
+.tsd-kind-get-signature.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before {
+ background-position: -68px -17px;
+}
+.tsd-kind-get-signature.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -85px -17px;
+}
+.tsd-kind-get-signature.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before {
+ background-position: -102px -17px;
+}
+.tsd-kind-get-signature.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -119px -17px;
+}
+.tsd-kind-get-signature.tsd-parent-kind-enum > .tsd-kind-icon:before {
+ background-position: -170px -17px;
+}
+.tsd-kind-get-signature.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -187px -17px;
+}
+.tsd-kind-get-signature.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -119px -17px;
+}
+.tsd-kind-get-signature.tsd-parent-kind-interface > .tsd-kind-icon:before {
+ background-position: -204px -17px;
+}
+.tsd-kind-get-signature.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before {
+ background-position: -221px -17px;
+}
+
+.tsd-kind-set-signature > .tsd-kind-icon:before {
+ background-position: -136px -34px;
+}
+.tsd-kind-set-signature.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -153px -34px;
+}
+.tsd-kind-set-signature.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -119px -34px;
+}
+.tsd-kind-set-signature.tsd-parent-kind-class > .tsd-kind-icon:before {
+ background-position: -51px -34px;
+}
+.tsd-kind-set-signature.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before {
+ background-position: -68px -34px;
+}
+.tsd-kind-set-signature.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -85px -34px;
+}
+.tsd-kind-set-signature.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before {
+ background-position: -102px -34px;
+}
+.tsd-kind-set-signature.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -119px -34px;
+}
+.tsd-kind-set-signature.tsd-parent-kind-enum > .tsd-kind-icon:before {
+ background-position: -170px -34px;
+}
+.tsd-kind-set-signature.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -187px -34px;
+}
+.tsd-kind-set-signature.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -119px -34px;
+}
+.tsd-kind-set-signature.tsd-parent-kind-interface > .tsd-kind-icon:before {
+ background-position: -204px -34px;
+}
+.tsd-kind-set-signature.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before {
+ background-position: -221px -34px;
+}
+
+.tsd-kind-accessor > .tsd-kind-icon:before {
+ background-position: -136px -51px;
+}
+.tsd-kind-accessor.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -153px -51px;
+}
+.tsd-kind-accessor.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -119px -51px;
+}
+.tsd-kind-accessor.tsd-parent-kind-class > .tsd-kind-icon:before {
+ background-position: -51px -51px;
+}
+.tsd-kind-accessor.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before {
+ background-position: -68px -51px;
+}
+.tsd-kind-accessor.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -85px -51px;
+}
+.tsd-kind-accessor.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before {
+ background-position: -102px -51px;
+}
+.tsd-kind-accessor.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -119px -51px;
+}
+.tsd-kind-accessor.tsd-parent-kind-enum > .tsd-kind-icon:before {
+ background-position: -170px -51px;
+}
+.tsd-kind-accessor.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -187px -51px;
+}
+.tsd-kind-accessor.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -119px -51px;
+}
+.tsd-kind-accessor.tsd-parent-kind-interface > .tsd-kind-icon:before {
+ background-position: -204px -51px;
+}
+.tsd-kind-accessor.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before {
+ background-position: -221px -51px;
+}
+
+.tsd-kind-function > .tsd-kind-icon:before {
+ background-position: -136px -68px;
+}
+.tsd-kind-function.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -153px -68px;
+}
+.tsd-kind-function.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -119px -68px;
+}
+.tsd-kind-function.tsd-parent-kind-class > .tsd-kind-icon:before {
+ background-position: -51px -68px;
+}
+.tsd-kind-function.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before {
+ background-position: -68px -68px;
+}
+.tsd-kind-function.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -85px -68px;
+}
+.tsd-kind-function.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before {
+ background-position: -102px -68px;
+}
+.tsd-kind-function.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -119px -68px;
+}
+.tsd-kind-function.tsd-parent-kind-enum > .tsd-kind-icon:before {
+ background-position: -170px -68px;
+}
+.tsd-kind-function.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -187px -68px;
+}
+.tsd-kind-function.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -119px -68px;
+}
+.tsd-kind-function.tsd-parent-kind-interface > .tsd-kind-icon:before {
+ background-position: -204px -68px;
+}
+.tsd-kind-function.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before {
+ background-position: -221px -68px;
+}
+
+.tsd-kind-method > .tsd-kind-icon:before {
+ background-position: -136px -68px;
+}
+.tsd-kind-method.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -153px -68px;
+}
+.tsd-kind-method.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -119px -68px;
+}
+.tsd-kind-method.tsd-parent-kind-class > .tsd-kind-icon:before {
+ background-position: -51px -68px;
+}
+.tsd-kind-method.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before {
+ background-position: -68px -68px;
+}
+.tsd-kind-method.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -85px -68px;
+}
+.tsd-kind-method.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before {
+ background-position: -102px -68px;
+}
+.tsd-kind-method.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -119px -68px;
+}
+.tsd-kind-method.tsd-parent-kind-enum > .tsd-kind-icon:before {
+ background-position: -170px -68px;
+}
+.tsd-kind-method.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -187px -68px;
+}
+.tsd-kind-method.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -119px -68px;
+}
+.tsd-kind-method.tsd-parent-kind-interface > .tsd-kind-icon:before {
+ background-position: -204px -68px;
+}
+.tsd-kind-method.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before {
+ background-position: -221px -68px;
+}
+
+.tsd-kind-call-signature > .tsd-kind-icon:before {
+ background-position: -136px -68px;
+}
+.tsd-kind-call-signature.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -153px -68px;
+}
+.tsd-kind-call-signature.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -119px -68px;
+}
+.tsd-kind-call-signature.tsd-parent-kind-class > .tsd-kind-icon:before {
+ background-position: -51px -68px;
+}
+.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before {
+ background-position: -68px -68px;
+}
+.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -85px -68px;
+}
+.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before {
+ background-position: -102px -68px;
+}
+.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -119px -68px;
+}
+.tsd-kind-call-signature.tsd-parent-kind-enum > .tsd-kind-icon:before {
+ background-position: -170px -68px;
+}
+.tsd-kind-call-signature.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -187px -68px;
+}
+.tsd-kind-call-signature.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -119px -68px;
+}
+.tsd-kind-call-signature.tsd-parent-kind-interface > .tsd-kind-icon:before {
+ background-position: -204px -68px;
+}
+.tsd-kind-call-signature.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before {
+ background-position: -221px -68px;
+}
+
+.tsd-kind-function.tsd-has-type-parameter > .tsd-kind-icon:before {
+ background-position: -136px -85px;
+}
+.tsd-kind-function.tsd-has-type-parameter.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -153px -85px;
+}
+.tsd-kind-function.tsd-has-type-parameter.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -119px -85px;
+}
+.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-class > .tsd-kind-icon:before {
+ background-position: -51px -85px;
+}
+.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before {
+ background-position: -68px -85px;
+}
+.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -85px -85px;
+}
+.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before {
+ background-position: -102px -85px;
+}
+.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -119px -85px;
+}
+.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-enum > .tsd-kind-icon:before {
+ background-position: -170px -85px;
+}
+.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -187px -85px;
+}
+.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -119px -85px;
+}
+.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-interface > .tsd-kind-icon:before {
+ background-position: -204px -85px;
+}
+.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before {
+ background-position: -221px -85px;
+}
+
+.tsd-kind-method.tsd-has-type-parameter > .tsd-kind-icon:before {
+ background-position: -136px -85px;
+}
+.tsd-kind-method.tsd-has-type-parameter.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -153px -85px;
+}
+.tsd-kind-method.tsd-has-type-parameter.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -119px -85px;
+}
+.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-class > .tsd-kind-icon:before {
+ background-position: -51px -85px;
+}
+.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before {
+ background-position: -68px -85px;
+}
+.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -85px -85px;
+}
+.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before {
+ background-position: -102px -85px;
+}
+.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -119px -85px;
+}
+.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-enum > .tsd-kind-icon:before {
+ background-position: -170px -85px;
+}
+.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -187px -85px;
+}
+.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -119px -85px;
+}
+.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-interface > .tsd-kind-icon:before {
+ background-position: -204px -85px;
+}
+.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before {
+ background-position: -221px -85px;
+}
+
+.tsd-kind-constructor > .tsd-kind-icon:before {
+ background-position: -136px -102px;
+}
+.tsd-kind-constructor.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -153px -102px;
+}
+.tsd-kind-constructor.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -119px -102px;
+}
+.tsd-kind-constructor.tsd-parent-kind-class > .tsd-kind-icon:before {
+ background-position: -51px -102px;
+}
+.tsd-kind-constructor.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before {
+ background-position: -68px -102px;
+}
+.tsd-kind-constructor.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -85px -102px;
+}
+.tsd-kind-constructor.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before {
+ background-position: -102px -102px;
+}
+.tsd-kind-constructor.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -119px -102px;
+}
+.tsd-kind-constructor.tsd-parent-kind-enum > .tsd-kind-icon:before {
+ background-position: -170px -102px;
+}
+.tsd-kind-constructor.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -187px -102px;
+}
+.tsd-kind-constructor.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -119px -102px;
+}
+.tsd-kind-constructor.tsd-parent-kind-interface > .tsd-kind-icon:before {
+ background-position: -204px -102px;
+}
+.tsd-kind-constructor.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before {
+ background-position: -221px -102px;
+}
+
+.tsd-kind-constructor-signature > .tsd-kind-icon:before {
+ background-position: -136px -102px;
+}
+.tsd-kind-constructor-signature.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -153px -102px;
+}
+.tsd-kind-constructor-signature.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -119px -102px;
+}
+.tsd-kind-constructor-signature.tsd-parent-kind-class > .tsd-kind-icon:before {
+ background-position: -51px -102px;
+}
+.tsd-kind-constructor-signature.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before {
+ background-position: -68px -102px;
+}
+.tsd-kind-constructor-signature.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -85px -102px;
+}
+.tsd-kind-constructor-signature.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before {
+ background-position: -102px -102px;
+}
+.tsd-kind-constructor-signature.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -119px -102px;
+}
+.tsd-kind-constructor-signature.tsd-parent-kind-enum > .tsd-kind-icon:before {
+ background-position: -170px -102px;
+}
+.tsd-kind-constructor-signature.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -187px -102px;
+}
+.tsd-kind-constructor-signature.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -119px -102px;
+}
+.tsd-kind-constructor-signature.tsd-parent-kind-interface > .tsd-kind-icon:before {
+ background-position: -204px -102px;
+}
+.tsd-kind-constructor-signature.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before {
+ background-position: -221px -102px;
+}
+
+.tsd-kind-index-signature > .tsd-kind-icon:before {
+ background-position: -136px -119px;
+}
+.tsd-kind-index-signature.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -153px -119px;
+}
+.tsd-kind-index-signature.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -119px -119px;
+}
+.tsd-kind-index-signature.tsd-parent-kind-class > .tsd-kind-icon:before {
+ background-position: -51px -119px;
+}
+.tsd-kind-index-signature.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before {
+ background-position: -68px -119px;
+}
+.tsd-kind-index-signature.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -85px -119px;
+}
+.tsd-kind-index-signature.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before {
+ background-position: -102px -119px;
+}
+.tsd-kind-index-signature.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -119px -119px;
+}
+.tsd-kind-index-signature.tsd-parent-kind-enum > .tsd-kind-icon:before {
+ background-position: -170px -119px;
+}
+.tsd-kind-index-signature.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -187px -119px;
+}
+.tsd-kind-index-signature.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -119px -119px;
+}
+.tsd-kind-index-signature.tsd-parent-kind-interface > .tsd-kind-icon:before {
+ background-position: -204px -119px;
+}
+.tsd-kind-index-signature.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before {
+ background-position: -221px -119px;
+}
+
+.tsd-kind-event > .tsd-kind-icon:before {
+ background-position: -136px -136px;
+}
+.tsd-kind-event.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -153px -136px;
+}
+.tsd-kind-event.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -119px -136px;
+}
+.tsd-kind-event.tsd-parent-kind-class > .tsd-kind-icon:before {
+ background-position: -51px -136px;
+}
+.tsd-kind-event.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before {
+ background-position: -68px -136px;
+}
+.tsd-kind-event.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -85px -136px;
+}
+.tsd-kind-event.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before {
+ background-position: -102px -136px;
+}
+.tsd-kind-event.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -119px -136px;
+}
+.tsd-kind-event.tsd-parent-kind-enum > .tsd-kind-icon:before {
+ background-position: -170px -136px;
+}
+.tsd-kind-event.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -187px -136px;
+}
+.tsd-kind-event.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -119px -136px;
+}
+.tsd-kind-event.tsd-parent-kind-interface > .tsd-kind-icon:before {
+ background-position: -204px -136px;
+}
+.tsd-kind-event.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before {
+ background-position: -221px -136px;
+}
+
+.tsd-is-static > .tsd-kind-icon:before {
+ background-position: -136px -153px;
+}
+.tsd-is-static.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -153px -153px;
+}
+.tsd-is-static.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -119px -153px;
+}
+.tsd-is-static.tsd-parent-kind-class > .tsd-kind-icon:before {
+ background-position: -51px -153px;
+}
+.tsd-is-static.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before {
+ background-position: -68px -153px;
+}
+.tsd-is-static.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -85px -153px;
+}
+.tsd-is-static.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before {
+ background-position: -102px -153px;
+}
+.tsd-is-static.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -119px -153px;
+}
+.tsd-is-static.tsd-parent-kind-enum > .tsd-kind-icon:before {
+ background-position: -170px -153px;
+}
+.tsd-is-static.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -187px -153px;
+}
+.tsd-is-static.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -119px -153px;
+}
+.tsd-is-static.tsd-parent-kind-interface > .tsd-kind-icon:before {
+ background-position: -204px -153px;
+}
+.tsd-is-static.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before {
+ background-position: -221px -153px;
+}
+
+.tsd-is-static.tsd-kind-function > .tsd-kind-icon:before {
+ background-position: -136px -170px;
+}
+.tsd-is-static.tsd-kind-function.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -153px -170px;
+}
+.tsd-is-static.tsd-kind-function.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -119px -170px;
+}
+.tsd-is-static.tsd-kind-function.tsd-parent-kind-class > .tsd-kind-icon:before {
+ background-position: -51px -170px;
+}
+.tsd-is-static.tsd-kind-function.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before {
+ background-position: -68px -170px;
+}
+.tsd-is-static.tsd-kind-function.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -85px -170px;
+}
+.tsd-is-static.tsd-kind-function.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before {
+ background-position: -102px -170px;
+}
+.tsd-is-static.tsd-kind-function.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -119px -170px;
+}
+.tsd-is-static.tsd-kind-function.tsd-parent-kind-enum > .tsd-kind-icon:before {
+ background-position: -170px -170px;
+}
+.tsd-is-static.tsd-kind-function.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -187px -170px;
+}
+.tsd-is-static.tsd-kind-function.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -119px -170px;
+}
+.tsd-is-static.tsd-kind-function.tsd-parent-kind-interface > .tsd-kind-icon:before {
+ background-position: -204px -170px;
+}
+.tsd-is-static.tsd-kind-function.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before {
+ background-position: -221px -170px;
+}
+
+.tsd-is-static.tsd-kind-method > .tsd-kind-icon:before {
+ background-position: -136px -170px;
+}
+.tsd-is-static.tsd-kind-method.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -153px -170px;
+}
+.tsd-is-static.tsd-kind-method.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -119px -170px;
+}
+.tsd-is-static.tsd-kind-method.tsd-parent-kind-class > .tsd-kind-icon:before {
+ background-position: -51px -170px;
+}
+.tsd-is-static.tsd-kind-method.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before {
+ background-position: -68px -170px;
+}
+.tsd-is-static.tsd-kind-method.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -85px -170px;
+}
+.tsd-is-static.tsd-kind-method.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before {
+ background-position: -102px -170px;
+}
+.tsd-is-static.tsd-kind-method.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -119px -170px;
+}
+.tsd-is-static.tsd-kind-method.tsd-parent-kind-enum > .tsd-kind-icon:before {
+ background-position: -170px -170px;
+}
+.tsd-is-static.tsd-kind-method.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -187px -170px;
+}
+.tsd-is-static.tsd-kind-method.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -119px -170px;
+}
+.tsd-is-static.tsd-kind-method.tsd-parent-kind-interface > .tsd-kind-icon:before {
+ background-position: -204px -170px;
+}
+.tsd-is-static.tsd-kind-method.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before {
+ background-position: -221px -170px;
+}
+
+.tsd-is-static.tsd-kind-call-signature > .tsd-kind-icon:before {
+ background-position: -136px -170px;
+}
+.tsd-is-static.tsd-kind-call-signature.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -153px -170px;
+}
+.tsd-is-static.tsd-kind-call-signature.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -119px -170px;
+}
+.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-class > .tsd-kind-icon:before {
+ background-position: -51px -170px;
+}
+.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before {
+ background-position: -68px -170px;
+}
+.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -85px -170px;
+}
+.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before {
+ background-position: -102px -170px;
+}
+.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -119px -170px;
+}
+.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-enum > .tsd-kind-icon:before {
+ background-position: -170px -170px;
+}
+.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -187px -170px;
+}
+.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -119px -170px;
+}
+.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-interface > .tsd-kind-icon:before {
+ background-position: -204px -170px;
+}
+.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before {
+ background-position: -221px -170px;
+}
+
+.tsd-is-static.tsd-kind-event > .tsd-kind-icon:before {
+ background-position: -136px -187px;
+}
+.tsd-is-static.tsd-kind-event.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -153px -187px;
+}
+.tsd-is-static.tsd-kind-event.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -119px -187px;
+}
+.tsd-is-static.tsd-kind-event.tsd-parent-kind-class > .tsd-kind-icon:before {
+ background-position: -51px -187px;
+}
+.tsd-is-static.tsd-kind-event.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before {
+ background-position: -68px -187px;
+}
+.tsd-is-static.tsd-kind-event.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -85px -187px;
+}
+.tsd-is-static.tsd-kind-event.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before {
+ background-position: -102px -187px;
+}
+.tsd-is-static.tsd-kind-event.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -119px -187px;
+}
+.tsd-is-static.tsd-kind-event.tsd-parent-kind-enum > .tsd-kind-icon:before {
+ background-position: -170px -187px;
+}
+.tsd-is-static.tsd-kind-event.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before {
+ background-position: -187px -187px;
+}
+.tsd-is-static.tsd-kind-event.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before {
+ background-position: -119px -187px;
+}
+.tsd-is-static.tsd-kind-event.tsd-parent-kind-interface > .tsd-kind-icon:before {
+ background-position: -204px -187px;
+}
+.tsd-is-static.tsd-kind-event.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before {
+ background-position: -221px -187px;
+}
+
+@keyframes fade-in {
+ from {
+ opacity: 0;
+ }
+ to {
+ opacity: 1;
+ }
+}
+@keyframes fade-out {
+ from {
+ opacity: 1;
+ visibility: visible;
+ }
+ to {
+ opacity: 0;
+ }
+}
+@keyframes fade-in-delayed {
+ 0% {
+ opacity: 0;
+ }
+ 33% {
+ opacity: 0;
+ }
+ 100% {
+ opacity: 1;
+ }
+}
+@keyframes fade-out-delayed {
+ 0% {
+ opacity: 1;
+ visibility: visible;
+ }
+ 66% {
+ opacity: 0;
+ }
+ 100% {
+ opacity: 0;
+ }
+}
+@keyframes shift-to-left {
+ from {
+ transform: translate(0, 0);
+ }
+ to {
+ transform: translate(-25%, 0);
+ }
+}
+@keyframes unshift-to-left {
+ from {
+ transform: translate(-25%, 0);
+ }
+ to {
+ transform: translate(0, 0);
+ }
+}
+@keyframes pop-in-from-right {
+ from {
+ transform: translate(100%, 0);
+ }
+ to {
+ transform: translate(0, 0);
+ }
+}
+@keyframes pop-out-to-right {
+ from {
+ transform: translate(0, 0);
+ visibility: visible;
+ }
+ to {
+ transform: translate(100%, 0);
+ }
+}
+body {
+ background: var(--color-background);
+ font-family: "Segoe UI", sans-serif;
+ font-size: 16px;
+ color: var(--color-text);
+}
+
+a {
+ color: var(--color-link);
+ text-decoration: none;
+}
+a:hover {
+ text-decoration: underline;
+}
+
+code, pre {
+ font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
+ padding: 0.2em;
+ margin: 0;
+ font-size: 14px;
+ background-color: var(--color-code-background);
+}
+
+pre {
+ padding: 10px;
+}
+pre code {
+ padding: 0;
+ font-size: 100%;
+ background-color: transparent;
+}
+
+blockquote {
+ margin: 1em 0;
+ padding-left: 1em;
+ border-left: 4px solid gray;
+}
+
+.tsd-typography {
+ line-height: 1.333em;
+}
+.tsd-typography ul {
+ list-style: square;
+ padding: 0 0 0 20px;
+ margin: 0;
+}
+.tsd-typography h4, .tsd-typography .tsd-index-panel h3, .tsd-index-panel .tsd-typography h3, .tsd-typography h5, .tsd-typography h6 {
+ font-size: 1em;
+ margin: 0;
+}
+.tsd-typography h5, .tsd-typography h6 {
+ font-weight: normal;
+}
+.tsd-typography p, .tsd-typography ul, .tsd-typography ol {
+ margin: 1em 0;
+}
+
+@media (min-width: 901px) and (max-width: 1024px) {
+ html.default .col-content {
+ width: 72%;
+ }
+ html.default .col-menu {
+ width: 28%;
+ }
+ html.default .tsd-navigation {
+ padding-left: 10px;
+ }
+}
+@media (max-width: 900px) {
+ html.default .col-content {
+ float: none;
+ width: 100%;
+ }
+ html.default .col-menu {
+ position: fixed !important;
+ overflow: auto;
+ -webkit-overflow-scrolling: touch;
+ z-index: 1024;
+ top: 0 !important;
+ bottom: 0 !important;
+ left: auto !important;
+ right: 0 !important;
+ width: 100%;
+ padding: 20px 20px 0 0;
+ max-width: 450px;
+ visibility: hidden;
+ background-color: var(--color-panel);
+ transform: translate(100%, 0);
+ }
+ html.default .col-menu > *:last-child {
+ padding-bottom: 20px;
+ }
+ html.default .overlay {
+ content: "";
+ display: block;
+ position: fixed;
+ z-index: 1023;
+ top: 0;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ background-color: rgba(0, 0, 0, 0.75);
+ visibility: hidden;
+ }
+ html.default.to-has-menu .overlay {
+ animation: fade-in 0.4s;
+ }
+ html.default.to-has-menu header,
+html.default.to-has-menu footer,
+html.default.to-has-menu .col-content {
+ animation: shift-to-left 0.4s;
+ }
+ html.default.to-has-menu .col-menu {
+ animation: pop-in-from-right 0.4s;
+ }
+ html.default.from-has-menu .overlay {
+ animation: fade-out 0.4s;
+ }
+ html.default.from-has-menu header,
+html.default.from-has-menu footer,
+html.default.from-has-menu .col-content {
+ animation: unshift-to-left 0.4s;
+ }
+ html.default.from-has-menu .col-menu {
+ animation: pop-out-to-right 0.4s;
+ }
+ html.default.has-menu body {
+ overflow: hidden;
+ }
+ html.default.has-menu .overlay {
+ visibility: visible;
+ }
+ html.default.has-menu header,
+html.default.has-menu footer,
+html.default.has-menu .col-content {
+ transform: translate(-25%, 0);
+ }
+ html.default.has-menu .col-menu {
+ visibility: visible;
+ transform: translate(0, 0);
+ }
+}
+
+.tsd-page-title {
+ padding: 70px 0 20px 0;
+ margin: 0 0 40px 0;
+ background: var(--color-panel);
+ box-shadow: 0 0 5px rgba(0, 0, 0, 0.35);
+}
+.tsd-page-title h1 {
+ margin: 0;
+}
+
+.tsd-breadcrumb {
+ margin: 0;
+ padding: 0;
+ color: var(--color-text-aside);
+}
+.tsd-breadcrumb a {
+ color: var(--color-text-aside);
+ text-decoration: none;
+}
+.tsd-breadcrumb a:hover {
+ text-decoration: underline;
+}
+.tsd-breadcrumb li {
+ display: inline;
+}
+.tsd-breadcrumb li:after {
+ content: " / ";
+}
+
+html.minimal .container {
+ margin: 0;
+}
+html.minimal .container-main {
+ padding-top: 50px;
+ padding-bottom: 0;
+}
+html.minimal .content-wrap {
+ padding-left: 300px;
+}
+html.minimal .tsd-navigation {
+ position: fixed !important;
+ overflow: auto;
+ -webkit-overflow-scrolling: touch;
+ box-sizing: border-box;
+ z-index: 1;
+ left: 0;
+ top: 40px;
+ bottom: 0;
+ width: 300px;
+ padding: 20px;
+ margin: 0;
+}
+html.minimal .tsd-member .tsd-member {
+ margin-left: 0;
+}
+html.minimal .tsd-page-toolbar {
+ position: fixed;
+ z-index: 2;
+}
+html.minimal #tsd-filter .tsd-filter-group {
+ right: 0;
+ transform: none;
+}
+html.minimal footer {
+ background-color: transparent;
+}
+html.minimal footer .container {
+ padding: 0;
+}
+html.minimal .tsd-generator {
+ padding: 0;
+}
+@media (max-width: 900px) {
+ html.minimal .tsd-navigation {
+ display: none;
+ }
+ html.minimal .content-wrap {
+ padding-left: 0;
+ }
+}
+
+dl.tsd-comment-tags {
+ overflow: hidden;
+}
+dl.tsd-comment-tags dt {
+ float: left;
+ padding: 1px 5px;
+ margin: 0 10px 0 0;
+ border-radius: 4px;
+ border: 1px solid var(--color-comment-tag);
+ color: var(--color-comment-tag);
+ font-size: 0.8em;
+ font-weight: normal;
+}
+dl.tsd-comment-tags dd {
+ margin: 0 0 10px 0;
+}
+dl.tsd-comment-tags dd:before, dl.tsd-comment-tags dd:after {
+ display: table;
+ content: " ";
+}
+dl.tsd-comment-tags dd pre, dl.tsd-comment-tags dd:after {
+ clear: both;
+}
+dl.tsd-comment-tags p {
+ margin: 0;
+}
+
+.tsd-panel.tsd-comment .lead {
+ font-size: 1.1em;
+ line-height: 1.333em;
+ margin-bottom: 2em;
+}
+.tsd-panel.tsd-comment .lead:last-child {
+ margin-bottom: 0;
+}
+
+.toggle-protected .tsd-is-private {
+ display: none;
+}
+
+.toggle-public .tsd-is-private,
+.toggle-public .tsd-is-protected,
+.toggle-public .tsd-is-private-protected {
+ display: none;
+}
+
+.toggle-inherited .tsd-is-inherited {
+ display: none;
+}
+
+.toggle-externals .tsd-is-external {
+ display: none;
+}
+
+#tsd-filter {
+ position: relative;
+ display: inline-block;
+ height: 40px;
+ vertical-align: bottom;
+}
+.no-filter #tsd-filter {
+ display: none;
+}
+#tsd-filter .tsd-filter-group {
+ display: inline-block;
+ height: 40px;
+ vertical-align: bottom;
+ white-space: nowrap;
+}
+#tsd-filter input {
+ display: none;
+}
+@media (max-width: 900px) {
+ #tsd-filter .tsd-filter-group {
+ display: block;
+ position: absolute;
+ top: 40px;
+ right: 20px;
+ height: auto;
+ background-color: var(--color-panel);
+ visibility: hidden;
+ transform: translate(50%, 0);
+ box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
+ }
+ .has-options #tsd-filter .tsd-filter-group {
+ visibility: visible;
+ }
+ .to-has-options #tsd-filter .tsd-filter-group {
+ animation: fade-in 0.2s;
+ }
+ .from-has-options #tsd-filter .tsd-filter-group {
+ animation: fade-out 0.2s;
+ }
+ #tsd-filter label,
+#tsd-filter .tsd-select {
+ display: block;
+ padding-right: 20px;
+ }
+}
+
+footer {
+ border-top: 1px solid var(--color-panel-divider);
+ background-color: var(--color-panel);
+}
+footer.with-border-bottom {
+ border-bottom: 1px solid var(--color-panel-divider);
+}
+footer .tsd-legend-group {
+ font-size: 0;
+}
+footer .tsd-legend {
+ display: inline-block;
+ width: 25%;
+ padding: 0;
+ font-size: 16px;
+ list-style: none;
+ line-height: 1.333em;
+ vertical-align: top;
+}
+@media (max-width: 900px) {
+ footer .tsd-legend {
+ width: 50%;
+ }
+}
+
+.tsd-hierarchy {
+ list-style: square;
+ padding: 0 0 0 20px;
+ margin: 0;
+}
+.tsd-hierarchy .target {
+ font-weight: bold;
+}
+
+.tsd-index-panel .tsd-index-content {
+ margin-bottom: -30px !important;
+}
+.tsd-index-panel .tsd-index-section {
+ margin-bottom: 30px !important;
+}
+.tsd-index-panel h3 {
+ margin: 0 -20px 10px -20px;
+ padding: 0 20px 10px 20px;
+ border-bottom: 1px solid var(--color-panel-divider);
+}
+.tsd-index-panel ul.tsd-index-list {
+ -webkit-column-count: 3;
+ -moz-column-count: 3;
+ -ms-column-count: 3;
+ -o-column-count: 3;
+ column-count: 3;
+ -webkit-column-gap: 20px;
+ -moz-column-gap: 20px;
+ -ms-column-gap: 20px;
+ -o-column-gap: 20px;
+ column-gap: 20px;
+ padding: 0;
+ list-style: none;
+ line-height: 1.333em;
+}
+@media (max-width: 900px) {
+ .tsd-index-panel ul.tsd-index-list {
+ -webkit-column-count: 1;
+ -moz-column-count: 1;
+ -ms-column-count: 1;
+ -o-column-count: 1;
+ column-count: 1;
+ }
+}
+@media (min-width: 901px) and (max-width: 1024px) {
+ .tsd-index-panel ul.tsd-index-list {
+ -webkit-column-count: 2;
+ -moz-column-count: 2;
+ -ms-column-count: 2;
+ -o-column-count: 2;
+ column-count: 2;
+ }
+}
+.tsd-index-panel ul.tsd-index-list li {
+ -webkit-page-break-inside: avoid;
+ -moz-page-break-inside: avoid;
+ -ms-page-break-inside: avoid;
+ -o-page-break-inside: avoid;
+ page-break-inside: avoid;
+}
+.tsd-index-panel a,
+.tsd-index-panel .tsd-parent-kind-module a {
+ color: var(--color-ts);
+}
+.tsd-index-panel .tsd-parent-kind-interface a {
+ color: var(--color-ts-interface);
+}
+.tsd-index-panel .tsd-parent-kind-enum a {
+ color: var(--color-ts-enum);
+}
+.tsd-index-panel .tsd-parent-kind-class a {
+ color: var(--color-ts-class);
+}
+.tsd-index-panel .tsd-kind-module a {
+ color: var(--color-ts);
+}
+.tsd-index-panel .tsd-kind-interface a {
+ color: var(--color-ts-interface);
+}
+.tsd-index-panel .tsd-kind-enum a {
+ color: var(--color-ts-enum);
+}
+.tsd-index-panel .tsd-kind-class a {
+ color: var(--color-ts-class);
+}
+.tsd-index-panel .tsd-is-private a {
+ color: var(--color-ts-private);
+}
+
+.tsd-flag {
+ display: inline-block;
+ padding: 1px 5px;
+ border-radius: 4px;
+ color: var(--color-comment-tag-text);
+ background-color: var(--color-comment-tag);
+ text-indent: 0;
+ font-size: 14px;
+ font-weight: normal;
+}
+
+.tsd-anchor {
+ position: absolute;
+ top: -100px;
+}
+
+.tsd-member {
+ position: relative;
+}
+.tsd-member .tsd-anchor + h3 {
+ margin-top: 0;
+ margin-bottom: 0;
+ border-bottom: none;
+}
+.tsd-member a[data-tsd-kind] {
+ color: var(--color-ts);
+}
+.tsd-member a[data-tsd-kind=Interface] {
+ color: var(--color-ts-interface);
+}
+.tsd-member a[data-tsd-kind=Enum] {
+ color: var(--color-ts-enum);
+}
+.tsd-member a[data-tsd-kind=Class] {
+ color: var(--color-ts-class);
+}
+.tsd-member a[data-tsd-kind=Private] {
+ color: var(--color-ts-private);
+}
+
+.tsd-navigation {
+ margin: 0 0 0 40px;
+}
+.tsd-navigation a {
+ display: block;
+ padding-top: 2px;
+ padding-bottom: 2px;
+ border-left: 2px solid transparent;
+ color: var(--color-text);
+ text-decoration: none;
+ transition: border-left-color 0.1s;
+}
+.tsd-navigation a:hover {
+ text-decoration: underline;
+}
+.tsd-navigation ul {
+ margin: 0;
+ padding: 0;
+ list-style: none;
+}
+.tsd-navigation li {
+ padding: 0;
+}
+
+.tsd-navigation.primary {
+ padding-bottom: 40px;
+}
+.tsd-navigation.primary a {
+ display: block;
+ padding-top: 6px;
+ padding-bottom: 6px;
+}
+.tsd-navigation.primary ul li a {
+ padding-left: 5px;
+}
+.tsd-navigation.primary ul li li a {
+ padding-left: 25px;
+}
+.tsd-navigation.primary ul li li li a {
+ padding-left: 45px;
+}
+.tsd-navigation.primary ul li li li li a {
+ padding-left: 65px;
+}
+.tsd-navigation.primary ul li li li li li a {
+ padding-left: 85px;
+}
+.tsd-navigation.primary ul li li li li li li a {
+ padding-left: 105px;
+}
+.tsd-navigation.primary > ul {
+ border-bottom: 1px solid var(--color-panel-divider);
+}
+.tsd-navigation.primary li {
+ border-top: 1px solid var(--color-panel-divider);
+}
+.tsd-navigation.primary li.current > a {
+ font-weight: bold;
+}
+.tsd-navigation.primary li.label span {
+ display: block;
+ padding: 20px 0 6px 5px;
+ color: var(--color-menu-label);
+}
+.tsd-navigation.primary li.globals + li > span, .tsd-navigation.primary li.globals + li > a {
+ padding-top: 20px;
+}
+
+.tsd-navigation.secondary {
+ max-height: calc(100vh - 1rem - 40px);
+ overflow: auto;
+ position: -webkit-sticky;
+ position: sticky;
+ top: calc(.5rem + 40px);
+ transition: 0.3s;
+}
+.tsd-navigation.secondary.tsd-navigation--toolbar-hide {
+ max-height: calc(100vh - 1rem);
+ top: 0.5rem;
+}
+.tsd-navigation.secondary ul {
+ transition: opacity 0.2s;
+}
+.tsd-navigation.secondary ul li a {
+ padding-left: 25px;
+}
+.tsd-navigation.secondary ul li li a {
+ padding-left: 45px;
+}
+.tsd-navigation.secondary ul li li li a {
+ padding-left: 65px;
+}
+.tsd-navigation.secondary ul li li li li a {
+ padding-left: 85px;
+}
+.tsd-navigation.secondary ul li li li li li a {
+ padding-left: 105px;
+}
+.tsd-navigation.secondary ul li li li li li li a {
+ padding-left: 125px;
+}
+.tsd-navigation.secondary ul.current a {
+ border-left-color: var(--color-panel-divider);
+}
+.tsd-navigation.secondary li.focus > a,
+.tsd-navigation.secondary ul.current li.focus > a {
+ border-left-color: var(--color-menu-divider-focus);
+}
+.tsd-navigation.secondary li.current {
+ margin-top: 20px;
+ margin-bottom: 20px;
+ border-left-color: var(--color-panel-divider);
+}
+.tsd-navigation.secondary li.current > a {
+ font-weight: bold;
+}
+
+@media (min-width: 901px) {
+ .menu-sticky-wrap {
+ position: static;
+ }
+}
+
+.tsd-panel {
+ margin: 20px 0;
+ padding: 20px;
+ background-color: var(--color-panel);
+ box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
+}
+.tsd-panel:empty {
+ display: none;
+}
+.tsd-panel > h1, .tsd-panel > h2, .tsd-panel > h3 {
+ margin: 1.5em -20px 10px -20px;
+ padding: 0 20px 10px 20px;
+ border-bottom: 1px solid var(--color-panel-divider);
+}
+.tsd-panel > h1.tsd-before-signature, .tsd-panel > h2.tsd-before-signature, .tsd-panel > h3.tsd-before-signature {
+ margin-bottom: 0;
+ border-bottom: 0;
+}
+.tsd-panel table {
+ display: block;
+ width: 100%;
+ overflow: auto;
+ margin-top: 10px;
+ word-break: normal;
+ word-break: keep-all;
+}
+.tsd-panel table th {
+ font-weight: bold;
+}
+.tsd-panel table th, .tsd-panel table td {
+ padding: 6px 13px;
+ border: 1px solid #ddd;
+}
+.tsd-panel table tr {
+ background-color: #fff;
+ border-top: 1px solid #ccc;
+}
+.tsd-panel table tr:nth-child(2n) {
+ background-color: #f8f8f8;
+}
+
+.tsd-panel-group {
+ margin: 60px 0;
+}
+.tsd-panel-group > h1, .tsd-panel-group > h2, .tsd-panel-group > h3 {
+ padding-left: 20px;
+ padding-right: 20px;
+}
+
+#tsd-search {
+ transition: background-color 0.2s;
+}
+#tsd-search .title {
+ position: relative;
+ z-index: 2;
+}
+#tsd-search .field {
+ position: absolute;
+ left: 0;
+ top: 0;
+ right: 40px;
+ height: 40px;
+}
+#tsd-search .field input {
+ box-sizing: border-box;
+ position: relative;
+ top: -50px;
+ z-index: 1;
+ width: 100%;
+ padding: 0 10px;
+ opacity: 0;
+ outline: 0;
+ border: 0;
+ background: transparent;
+ color: var(--color-text);
+}
+#tsd-search .field label {
+ position: absolute;
+ overflow: hidden;
+ right: -40px;
+}
+#tsd-search .field input,
+#tsd-search .title {
+ transition: opacity 0.2s;
+}
+#tsd-search .results {
+ position: absolute;
+ visibility: hidden;
+ top: 40px;
+ width: 100%;
+ margin: 0;
+ padding: 0;
+ list-style: none;
+ box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
+}
+#tsd-search .results li {
+ padding: 0 10px;
+ background-color: var(--color-background);
+}
+#tsd-search .results li:nth-child(even) {
+ background-color: var(--color-panel);
+}
+#tsd-search .results li.state {
+ display: none;
+}
+#tsd-search .results li.current,
+#tsd-search .results li:hover {
+ background-color: var(--color-panel-divider);
+}
+#tsd-search .results a {
+ display: block;
+}
+#tsd-search .results a:before {
+ top: 10px;
+}
+#tsd-search .results span.parent {
+ color: var(--color-text-aside);
+ font-weight: normal;
+}
+#tsd-search.has-focus {
+ background-color: var(--color-panel-divider);
+}
+#tsd-search.has-focus .field input {
+ top: 0;
+ opacity: 1;
+}
+#tsd-search.has-focus .title {
+ z-index: 0;
+ opacity: 0;
+}
+#tsd-search.has-focus .results {
+ visibility: visible;
+}
+#tsd-search.loading .results li.state.loading {
+ display: block;
+}
+#tsd-search.failure .results li.state.failure {
+ display: block;
+}
+
+.tsd-signature {
+ margin: 0 0 1em 0;
+ padding: 10px;
+ border: 1px solid var(--color-panel-divider);
+ font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
+ font-size: 14px;
+ overflow-x: auto;
+}
+.tsd-signature.tsd-kind-icon {
+ padding-left: 30px;
+}
+.tsd-signature.tsd-kind-icon:before {
+ top: 10px;
+ left: 10px;
+}
+.tsd-panel > .tsd-signature {
+ margin-left: -20px;
+ margin-right: -20px;
+ border-width: 1px 0;
+}
+.tsd-panel > .tsd-signature.tsd-kind-icon {
+ padding-left: 40px;
+}
+.tsd-panel > .tsd-signature.tsd-kind-icon:before {
+ left: 20px;
+}
+
+.tsd-signature-symbol {
+ color: var(--color-text-aside);
+ font-weight: normal;
+}
+
+.tsd-signature-type {
+ font-style: italic;
+ font-weight: normal;
+}
+
+.tsd-signatures {
+ padding: 0;
+ margin: 0 0 1em 0;
+ border: 1px solid var(--color-panel-divider);
+}
+.tsd-signatures .tsd-signature {
+ margin: 0;
+ border-width: 1px 0 0 0;
+ transition: background-color 0.1s;
+}
+.tsd-signatures .tsd-signature:first-child {
+ border-top-width: 0;
+}
+.tsd-signatures .tsd-signature.current {
+ background-color: var(--color-panel-divider);
+}
+.tsd-signatures.active > .tsd-signature {
+ cursor: pointer;
+}
+.tsd-panel > .tsd-signatures {
+ margin-left: -20px;
+ margin-right: -20px;
+ border-width: 1px 0;
+}
+.tsd-panel > .tsd-signatures .tsd-signature.tsd-kind-icon {
+ padding-left: 40px;
+}
+.tsd-panel > .tsd-signatures .tsd-signature.tsd-kind-icon:before {
+ left: 20px;
+}
+.tsd-panel > a.anchor + .tsd-signatures {
+ border-top-width: 0;
+ margin-top: -20px;
+}
+
+ul.tsd-descriptions {
+ position: relative;
+ overflow: hidden;
+ padding: 0;
+ list-style: none;
+}
+ul.tsd-descriptions.active > .tsd-description {
+ display: none;
+}
+ul.tsd-descriptions.active > .tsd-description.current {
+ display: block;
+}
+ul.tsd-descriptions.active > .tsd-description.fade-in {
+ animation: fade-in-delayed 0.3s;
+}
+ul.tsd-descriptions.active > .tsd-description.fade-out {
+ animation: fade-out-delayed 0.3s;
+ position: absolute;
+ display: block;
+ top: 0;
+ left: 0;
+ right: 0;
+ opacity: 0;
+ visibility: hidden;
+}
+ul.tsd-descriptions h4, ul.tsd-descriptions .tsd-index-panel h3, .tsd-index-panel ul.tsd-descriptions h3 {
+ font-size: 16px;
+ margin: 1em 0 0.5em 0;
+}
+
+ul.tsd-parameters,
+ul.tsd-type-parameters {
+ list-style: square;
+ margin: 0;
+ padding-left: 20px;
+}
+ul.tsd-parameters > li.tsd-parameter-signature,
+ul.tsd-type-parameters > li.tsd-parameter-signature {
+ list-style: none;
+ margin-left: -20px;
+}
+ul.tsd-parameters h5,
+ul.tsd-type-parameters h5 {
+ font-size: 16px;
+ margin: 1em 0 0.5em 0;
+}
+ul.tsd-parameters .tsd-comment,
+ul.tsd-type-parameters .tsd-comment {
+ margin-top: -0.5em;
+}
+
+.tsd-sources {
+ font-size: 14px;
+ color: var(--color-text-aside);
+ margin: 0 0 1em 0;
+}
+.tsd-sources a {
+ color: var(--color-text-aside);
+ text-decoration: underline;
+}
+.tsd-sources ul, .tsd-sources p {
+ margin: 0 !important;
+}
+.tsd-sources ul {
+ list-style: none;
+ padding: 0;
+}
+
+.tsd-page-toolbar {
+ position: fixed;
+ z-index: 1;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 40px;
+ color: var(--color-toolbar-text);
+ background: var(--color-toolbar);
+ border-bottom: 1px solid var(--color-panel-divider);
+ transition: transform 0.3s linear;
+}
+.tsd-page-toolbar a {
+ color: var(--color-toolbar-text);
+ text-decoration: none;
+}
+.tsd-page-toolbar a.title {
+ font-weight: bold;
+}
+.tsd-page-toolbar a.title:hover {
+ text-decoration: underline;
+}
+.tsd-page-toolbar .table-wrap {
+ display: table;
+ width: 100%;
+ height: 40px;
+}
+.tsd-page-toolbar .table-cell {
+ display: table-cell;
+ position: relative;
+ white-space: nowrap;
+ line-height: 40px;
+}
+.tsd-page-toolbar .table-cell:first-child {
+ width: 100%;
+}
+
+.tsd-page-toolbar--hide {
+ transform: translateY(-100%);
+}
+
+.tsd-select .tsd-select-list li:before, .tsd-select .tsd-select-label:before, .tsd-widget:before {
+ content: "";
+ display: inline-block;
+ width: 40px;
+ height: 40px;
+ margin: 0 -8px 0 0;
+ background-image: url(../images/widgets.png);
+ background-repeat: no-repeat;
+ text-indent: -1024px;
+ vertical-align: bottom;
+}
+@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) {
+ .tsd-select .tsd-select-list li:before, .tsd-select .tsd-select-label:before, .tsd-widget:before {
+ background-image: url(../images/widgets@2x.png);
+ background-size: 320px 40px;
+ }
+}
+
+.tsd-widget {
+ display: inline-block;
+ overflow: hidden;
+ opacity: 0.6;
+ height: 40px;
+ transition: opacity 0.1s, background-color 0.2s;
+ vertical-align: bottom;
+ cursor: pointer;
+}
+.tsd-widget:hover {
+ opacity: 0.8;
+}
+.tsd-widget.active {
+ opacity: 1;
+ background-color: var(--color-panel-divider);
+}
+.tsd-widget.no-caption {
+ width: 40px;
+}
+.tsd-widget.no-caption:before {
+ margin: 0;
+}
+.tsd-widget.search:before {
+ background-position: 0 0;
+}
+.tsd-widget.menu:before {
+ background-position: -40px 0;
+}
+.tsd-widget.options:before {
+ background-position: -80px 0;
+}
+.tsd-widget.options, .tsd-widget.menu {
+ display: none;
+}
+@media (max-width: 900px) {
+ .tsd-widget.options, .tsd-widget.menu {
+ display: inline-block;
+ }
+}
+input[type=checkbox] + .tsd-widget:before {
+ background-position: -120px 0;
+}
+input[type=checkbox]:checked + .tsd-widget:before {
+ background-position: -160px 0;
+}
+
+.tsd-select {
+ position: relative;
+ display: inline-block;
+ height: 40px;
+ transition: opacity 0.1s, background-color 0.2s;
+ vertical-align: bottom;
+ cursor: pointer;
+}
+.tsd-select .tsd-select-label {
+ opacity: 0.6;
+ transition: opacity 0.2s;
+}
+.tsd-select .tsd-select-label:before {
+ background-position: -240px 0;
+}
+.tsd-select.active .tsd-select-label {
+ opacity: 0.8;
+}
+.tsd-select.active .tsd-select-list {
+ visibility: visible;
+ opacity: 1;
+ transition-delay: 0s;
+}
+.tsd-select .tsd-select-list {
+ position: absolute;
+ visibility: hidden;
+ top: 40px;
+ left: 0;
+ margin: 0;
+ padding: 0;
+ opacity: 0;
+ list-style: none;
+ box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
+ transition: visibility 0s 0.2s, opacity 0.2s;
+}
+.tsd-select .tsd-select-list li {
+ padding: 0 20px 0 0;
+ background-color: var(--color-background);
+}
+.tsd-select .tsd-select-list li:before {
+ background-position: 40px 0;
+}
+.tsd-select .tsd-select-list li:nth-child(even) {
+ background-color: var(--color-panel);
+}
+.tsd-select .tsd-select-list li:hover {
+ background-color: var(--color-panel-divider);
+}
+.tsd-select .tsd-select-list li.selected:before {
+ background-position: -200px 0;
+}
+@media (max-width: 900px) {
+ .tsd-select .tsd-select-list {
+ top: 0;
+ left: auto;
+ right: 100%;
+ margin-right: -5px;
+ }
+ .tsd-select .tsd-select-label:before {
+ background-position: -280px 0;
+ }
+}
+
+img {
+ max-width: 100%;
+}
diff --git a/content/docs/api/assets/images/icons.png b/content/docs/api/assets/images/icons.png
new file mode 100644
index 0000000..3836d5f
Binary files /dev/null and b/content/docs/api/assets/images/icons.png differ
diff --git a/content/docs/api/assets/images/icons@2x.png b/content/docs/api/assets/images/icons@2x.png
new file mode 100644
index 0000000..5a209e2
Binary files /dev/null and b/content/docs/api/assets/images/icons@2x.png differ
diff --git a/content/docs/api/assets/images/widgets.png b/content/docs/api/assets/images/widgets.png
new file mode 100644
index 0000000..c738053
Binary files /dev/null and b/content/docs/api/assets/images/widgets.png differ
diff --git a/content/docs/api/assets/images/widgets@2x.png b/content/docs/api/assets/images/widgets@2x.png
new file mode 100644
index 0000000..4bbbd57
Binary files /dev/null and b/content/docs/api/assets/images/widgets@2x.png differ
diff --git a/content/docs/api/assets/js/main.js b/content/docs/api/assets/js/main.js
new file mode 100644
index 0000000..dc257a8
--- /dev/null
+++ b/content/docs/api/assets/js/main.js
@@ -0,0 +1,248 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is not neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "../node_modules/lunr/lunr.js":
+/*!************************************!*\
+ !*** ../node_modules/lunr/lunr.js ***!
+ \************************************/
+/***/ ((module, exports, __webpack_require__) => {
+
+eval("var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;/**\n * lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 2.3.9\n * Copyright (C) 2020 Oliver Nightingale\n * @license MIT\n */\n\n;(function(){\n\n/**\n * A convenience function for configuring and constructing\n * a new lunr Index.\n *\n * A lunr.Builder instance is created and the pipeline setup\n * with a trimmer, stop word filter and stemmer.\n *\n * This builder object is yielded [...]
+
+/***/ }),
+
+/***/ "./default/assets/css/main.sass":
+/*!**************************************!*\
+ !*** ./default/assets/css/main.sass ***!
+ \**************************************/
+/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
+
+"use strict";
+eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n\n\n//# sourceURL=webpack:///./default/assets/css/main.sass?");
+
+/***/ }),
+
+/***/ "./default/assets/js/src/bootstrap.ts":
+/*!********************************************!*\
+ !*** ./default/assets/js/src/bootstrap.ts ***!
+ \********************************************/
+/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
+
+"use strict";
+eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _typedoc_Application__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typedoc/Application */ \"./default/assets/js/src/typedoc/Application.ts\");\n/* harmony import */ var _typedoc_components_MenuHighlight__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./typedoc/components/MenuHighlight */ \"./default/assets/js/src/typedoc/components/MenuHighlight.ts\");\n/* harmony import */ var _typedoc_componen [...]
+
+/***/ }),
+
+/***/ "./default/assets/js/src/typedoc/Application.ts":
+/*!******************************************************!*\
+ !*** ./default/assets/js/src/typedoc/Application.ts ***!
+ \******************************************************/
+/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
+
+"use strict";
+eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"registerComponent\": () => /* binding */ registerComponent,\n/* harmony export */ \"Application\": () => /* binding */ Application\n/* harmony export */ });\n/**\n * List of all known components.\n */\nvar components = [];\n/**\n * Register a new component.\n */\nfunction registerComponent(constructor, selector) {\n components.push({\n [...]
+
+/***/ }),
+
+/***/ "./default/assets/js/src/typedoc/Component.ts":
+/*!****************************************************!*\
+ !*** ./default/assets/js/src/typedoc/Component.ts ***!
+ \****************************************************/
+/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
+
+"use strict";
+eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"Component\": () => /* binding */ Component\n/* harmony export */ });\n/**\n * TypeDoc component class.\n */\nvar Component = /** @class */ (function () {\n function Component(options) {\n this.el = options.el;\n }\n return Component;\n}());\n\n\n\n//# sourceURL=webpack:///./default/assets/js/src/typedoc/Component.ts?");
+
+/***/ }),
+
+/***/ "./default/assets/js/src/typedoc/EventTarget.ts":
+/*!******************************************************!*\
+ !*** ./default/assets/js/src/typedoc/EventTarget.ts ***!
+ \******************************************************/
+/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
+
+"use strict";
+eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"EventTarget\": () => /* binding */ EventTarget\n/* harmony export */ });\n/**\n * TypeDoc event target class.\n */\nvar EventTarget = /** @class */ (function () {\n function EventTarget() {\n this.listeners = {};\n }\n EventTarget.prototype.addEventListener = function (type, callback) {\n if (!(type in this.listeners)) {\n [...]
+
+/***/ }),
+
+/***/ "./default/assets/js/src/typedoc/components/Filter.ts":
+/*!************************************************************!*\
+ !*** ./default/assets/js/src/typedoc/components/Filter.ts ***!
+ \************************************************************/
+/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
+
+"use strict";
+eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"Filter\": () => /* binding */ Filter\n/* harmony export */ });\n/* harmony import */ var _Component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Component */ \"./default/assets/js/src/typedoc/Component.ts\");\n/* harmony import */ var _utils_pointer__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/pointer */ \"./default [...]
+
+/***/ }),
+
+/***/ "./default/assets/js/src/typedoc/components/MenuHighlight.ts":
+/*!*******************************************************************!*\
+ !*** ./default/assets/js/src/typedoc/components/MenuHighlight.ts ***!
+ \*******************************************************************/
+/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
+
+"use strict";
+eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"MenuHighlight\": () => /* binding */ MenuHighlight\n/* harmony export */ });\n/* harmony import */ var _Component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Component */ \"./default/assets/js/src/typedoc/Component.ts\");\n/* harmony import */ var _services_Viewport__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../services/V [...]
+
+/***/ }),
+
+/***/ "./default/assets/js/src/typedoc/components/Search.ts":
+/*!************************************************************!*\
+ !*** ./default/assets/js/src/typedoc/components/Search.ts ***!
+ \************************************************************/
+/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
+
+"use strict";
+eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"initSearch\": () => /* binding */ initSearch\n/* harmony export */ });\n/* harmony import */ var _utils_debounce__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/debounce */ \"./default/assets/js/src/typedoc/utils/debounce.ts\");\n/* harmony import */ var lunr__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lunr */ \"../node_ [...]
+
+/***/ }),
+
+/***/ "./default/assets/js/src/typedoc/components/Signature.ts":
+/*!***************************************************************!*\
+ !*** ./default/assets/js/src/typedoc/components/Signature.ts ***!
+ \***************************************************************/
+/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
+
+"use strict";
+eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"Signature\": () => /* binding */ Signature\n/* harmony export */ });\n/* harmony import */ var _Component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Component */ \"./default/assets/js/src/typedoc/Component.ts\");\n/* harmony import */ var _services_Viewport__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../services/Viewport [...]
+
+/***/ }),
+
+/***/ "./default/assets/js/src/typedoc/components/Toggle.ts":
+/*!************************************************************!*\
+ !*** ./default/assets/js/src/typedoc/components/Toggle.ts ***!
+ \************************************************************/
+/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
+
+"use strict";
+eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"Toggle\": () => /* binding */ Toggle\n/* harmony export */ });\n/* harmony import */ var _Component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Component */ \"./default/assets/js/src/typedoc/Component.ts\");\n/* harmony import */ var _utils_pointer__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/pointer */ \"./default [...]
+
+/***/ }),
+
+/***/ "./default/assets/js/src/typedoc/services/Viewport.ts":
+/*!************************************************************!*\
+ !*** ./default/assets/js/src/typedoc/services/Viewport.ts ***!
+ \************************************************************/
+/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
+
+"use strict";
+eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"Viewport\": () => /* binding */ Viewport\n/* harmony export */ });\n/* harmony import */ var _EventTarget__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../EventTarget */ \"./default/assets/js/src/typedoc/EventTarget.ts\");\n/* harmony import */ var _utils_trottle__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/trottle */ \ [...]
+
+/***/ }),
+
+/***/ "./default/assets/js/src/typedoc/utils/debounce.ts":
+/*!*********************************************************!*\
+ !*** ./default/assets/js/src/typedoc/utils/debounce.ts ***!
+ \*********************************************************/
+/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
+
+"use strict";
+eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"debounce\": () => /* binding */ debounce\n/* harmony export */ });\nvar debounce = function (fn, wait) {\n if (wait === void 0) { wait = 100; }\n var timeout;\n return function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n clearTimeout(timeo [...]
+
+/***/ }),
+
+/***/ "./default/assets/js/src/typedoc/utils/pointer.ts":
+/*!********************************************************!*\
+ !*** ./default/assets/js/src/typedoc/utils/pointer.ts ***!
+ \********************************************************/
+/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
+
+"use strict";
+eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"pointerDown\": () => /* binding */ pointerDown,\n/* harmony export */ \"pointerMove\": () => /* binding */ pointerMove,\n/* harmony export */ \"pointerUp\": () => /* binding */ pointerUp,\n/* harmony export */ \"pointerDownPosition\": () => /* binding */ pointerDownPosition,\n/* harmony export */ \"preventNextClick\": () => /* binding */ p [...]
+
+/***/ }),
+
+/***/ "./default/assets/js/src/typedoc/utils/trottle.ts":
+/*!********************************************************!*\
+ !*** ./default/assets/js/src/typedoc/utils/trottle.ts ***!
+ \********************************************************/
+/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
+
+"use strict";
+eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"throttle\": () => /* binding */ throttle\n/* harmony export */ });\nvar throttle = function (fn, wait) {\n if (wait === void 0) { wait = 100; }\n var time = Date.now();\n return function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n if (time [...]
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ if(__webpack_module_cache__[moduleId]) {
+/******/ return __webpack_module_cache__[moduleId].exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/ /* webpack/runtime/compat get default export */
+/******/ (() => {
+/******/ // getDefaultExport function for compatibility with non-harmony modules
+/******/ __webpack_require__.n = (module) => {
+/******/ var getter = module && module.__esModule ?
+/******/ () => module['default'] :
+/******/ () => module;
+/******/ __webpack_require__.d(getter, { a: getter });
+/******/ return getter;
+/******/ };
+/******/ })();
+/******/
+/******/ /* webpack/runtime/define property getters */
+/******/ (() => {
+/******/ // define getter functions for harmony exports
+/******/ __webpack_require__.d = (exports, definition) => {
+/******/ for(var key in definition) {
+/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ }
+/******/ }
+/******/ };
+/******/ })();
+/******/
+/******/ /* webpack/runtime/hasOwnProperty shorthand */
+/******/ (() => {
+/******/ __webpack_require__.o = (obj, prop) => Object.prototype.hasOwnProperty.call(obj, prop)
+/******/ })();
+/******/
+/******/ /* webpack/runtime/make namespace object */
+/******/ (() => {
+/******/ // define __esModule on exports
+/******/ __webpack_require__.r = (exports) => {
+/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
+/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+/******/ }
+/******/ Object.defineProperty(exports, '__esModule', { value: true });
+/******/ };
+/******/ })();
+/******/
+/************************************************************************/
+/******/ // startup
+/******/ // Load entry module
+/******/ __webpack_require__("./default/assets/js/src/bootstrap.ts");
+/******/ // This entry module used 'exports' so it can't be inlined
+/******/ })()
+;
\ No newline at end of file
diff --git a/content/docs/api/assets/js/search.js b/content/docs/api/assets/js/search.js
new file mode 100644
index 0000000..16824df
--- /dev/null
+++ b/content/docs/api/assets/js/search.js
@@ -0,0 +1 @@
+window.searchData = {"kinds":{"1":"Module","64":"Function","256":"Interface","1024":"Property","2048":"Method"},"rows":[{"id":0,"kind":1,"name":"dom","url":"modules/dom.html","classes":"tsd-kind-module"},{"id":1,"kind":1,"name":"selector","url":"modules/selector.html","classes":"tsd-kind-module"},{"id":2,"kind":64,"name":"createCssSelectorMatcher","url":"modules/dom.html#createcssselectormatcher","classes":"tsd-kind-function tsd-parent-kind-module","parent":"dom"},{"id":3,"kind":64,"name [...]
\ No newline at end of file
diff --git a/content/docs/api/index.html b/content/docs/api/index.html
new file mode 100644
index 0000000..6767ede
--- /dev/null
+++ b/content/docs/api/index.html
@@ -0,0 +1,153 @@
+<!DOCTYPE html>
+<html prefix="og: http://ogp.me/ns#">
+<head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
+ <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1">
+ <title>Apache Annotator (incubating)</title>
+ <meta property="og:title" content="Apache Annotator" />
+ <meta property="og:type" content="website" />
+ <meta property="og:url" content="https://annotator.apache.org/" />
+ <meta property="og:image:url" content="https://annotator.apache.org/images/annotator-logo.svg" />
+ <meta property="og:image:alt" content="Apache Annotator (incubating) logo" />
+ <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon.png">
+ <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32.png">
+ <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16.png">
+ <link rel="manifest" href="/site.webmanifest">
+ <link rel="mask-icon" href="/images/safari-pinned-tab.svg" color="#5bbad5">
+ <meta name="msapplication-TileColor" content="#da532c">
+ <meta name="theme-color" content="#ffffff">
+ <link rel="alternate" title="DOAP" href="doap.rdf" type="application/rdf+xml" />
+ <link rel="stylesheet" href="//semantic-ui.com/dist/semantic.min.css" />
+</head>
+<body>
+<div class="ui borderless stackable top attached main menu">
+ <div class="ui container">
+ <a class="item" href="/" style="color: rgba(0,0,0,.87);">
+ <img class="ui small image" src="/images/annotator-logo.svg" alt="Apache Annotator (incubating)" />
+ </a>
+ <div class="right menu">
+ <a class="item" href="/demo/"><span class="ui positive button">Demo!</span></a>
+ <a class="item" rel="external" href="https://www.npmjs.com/package/apache-annotator">NPM</a>
+ <a class="item" rel="external" href="https://github.com/apache?q=annotator#org-repositories">Code</a>
+ <a class="item" rel="external" href="https://github.com/apache/incubator-annotator/issues">Issues</a>
+ <a class="active item" href="/docs/">Docs</a>
+ <a class="item" rel="external" href="https://mail-archives.apache.org/mod_mbox/incubator-annotator-dev/">Mailing List</a>
+ </div>
+ </div>
+</div>
+<div class="ui basic segment container">
+ <link rel="stylesheet" href="assets/css/main.css">
+ <script async src="assets/js/search.js" id="search-script"></script>
+ <aside>
+ <style>
+ #tsd-search {
+ position: relative;
+ }
+ #tsd-search input {
+ border: 1px solid grey;
+ border-radius: 2px;
+ padding: 0.2em;
+ }
+ #tsd-search .results {
+ z-index: 1;
+ position: absolute;
+ }
+ </style>
+ <div id="tsd-search" data-index="assets/js/search.json" data-base=".">
+ <div>
+ <label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
+ <input id="tsd-search-field" type="text" />
+ </div>
+ <ul class="results">
+ <li class="state loading">Preparing search index...</li>
+ <li class="state failure">The search index is not available</li>
+ </ul>
+ </div>
+ </aside>
+ <header style="margin: 2em 0;" id="typedoc-title">
+ <style>
+ #typedoc-title h1 {
+ margin-top: 0;
+ }
+ </style>
+ <h1>apache-annotator</h1>
+ </header>
+ <main>
+ <div class="row">
+ <div class="col-8 col-content">
+ <section class="tsd-panel-group tsd-index-group">
+ <h2>Index</h2>
+ <section class="tsd-panel tsd-index-panel">
+ <div class="tsd-index-content">
+ <section class="tsd-index-section ">
+ <h3>Modules</h3>
+ <ul class="tsd-index-list">
+ <li class="tsd-kind-module"><a href="modules/dom.html" class="tsd-kind-icon">dom</a></li>
+ <li class="tsd-kind-module"><a href="modules/selector.html" class="tsd-kind-icon">selector</a></li>
+ </ul>
+ </section>
+ </div>
+ </section>
+ </section>
+ </div>
+ <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
+ <nav class="tsd-navigation primary">
+ <ul>
+ <li class="current ">
+ <a href="index.html">Exports</a>
+ </li>
+ <li class=" tsd-kind-module">
+ <a href="modules/dom.html">dom</a>
+ </li>
+ <li class=" tsd-kind-module">
+ <a href="modules/selector.html">selector</a>
+ </li>
+ </ul>
+ </nav>
+ <nav class="tsd-navigation secondary menu-sticky">
+ <ul class="before-current">
+ </ul>
+ </nav>
+ </div>
+ </div>
+ </main>
+ <script src="assets/js/main.js"></script>
+</div>
+<footer class="ui bottom attached segment">
+ <div class="ui container">
+ <div class="ui equal height divided stackable grid">
+ <div class="four wide column">
+ <a class="ui left floated medium image" href="https://apache.org/" target="_blank">
+ <img src="https://incubator.apache.org/images/incubator_feather_egg_logo_sm.png" alt="logo of the Apache Incubator" />
+ </a>
+ <p>
+ <em>Copyright © 2016-2018 The Apache Software Foundation, Licensed under
+ the <a href="https://www.apache.org/licenses/LICENSE-2.0" rel="license external">Apache License, Version 2.0</a>.
+ |
+ <a rel="external" href="https://www.apache.org/foundation/policies/privacy">Privacy Policy</a>
+ </em>
+ </p>
+ </div>
+ <div class="nine wide column">
+ <p>
+ <em>Apache Annotator is an effort undergoing incubation at <a target="_blank" href="https://apache.org/">The Apache Software Foundation (ASF)</a> sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completen [...]
+ <p><em>Apache®, the names of Apache projects, and the feather logo are either <a rel="external" href="https://www.apache.org/foundation/marks/list/">registered trademarks or trademarks</a> of the Apache Software Foundation in the United States and/or other countries.</em></p>
+ </div>
+ <div class="three wide column">
+ <h4 class="header">The <abbr title="Apache Software Foundation">ASF</abbr></h4>
+ <div class="ui link list">
+ <a class="item" rel="external" href="https://incubator.apache.org/">Apache Incubator</a>
+ <a class="item" rel="external" href="https://www.apache.org/">About the ASF</a>
+ <a class="item" rel="external" href="https://www.apache.org/events/current-event">Events</a>
+ <a class="item" rel="external" href="https://www.apache.org/foundation/thanks.html">Thanks</a>
+ <a class="item" rel="external" href="https://www.apache.org/foundation/sponsorship.html">Become a Sponsor</a>
+ <a class="item" rel="external" href="https://www.apache.org/security/">Security</a>
+ <a class="item" rel="external" href="https://www.apache.org/licenses/">License</a>
+ </div>
+ </div>
+ </div>
+ </div>
+</footer>
+</body>
+</html>
\ No newline at end of file
diff --git a/content/docs/api/interfaces/selector.chunk.html b/content/docs/api/interfaces/selector.chunk.html
new file mode 100644
index 0000000..2900760
--- /dev/null
+++ b/content/docs/api/interfaces/selector.chunk.html
@@ -0,0 +1,303 @@
+<!DOCTYPE html>
+<html prefix="og: http://ogp.me/ns#">
+<head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
+ <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1">
+ <title>Apache Annotator (incubating)</title>
+ <meta property="og:title" content="Apache Annotator" />
+ <meta property="og:type" content="website" />
+ <meta property="og:url" content="https://annotator.apache.org/" />
+ <meta property="og:image:url" content="https://annotator.apache.org/images/annotator-logo.svg" />
+ <meta property="og:image:alt" content="Apache Annotator (incubating) logo" />
+ <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon.png">
+ <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32.png">
+ <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16.png">
+ <link rel="manifest" href="/site.webmanifest">
+ <link rel="mask-icon" href="/images/safari-pinned-tab.svg" color="#5bbad5">
+ <meta name="msapplication-TileColor" content="#da532c">
+ <meta name="theme-color" content="#ffffff">
+ <link rel="alternate" title="DOAP" href="doap.rdf" type="application/rdf+xml" />
+ <link rel="stylesheet" href="//semantic-ui.com/dist/semantic.min.css" />
+</head>
+<body>
+<div class="ui borderless stackable top attached main menu">
+ <div class="ui container">
+ <a class="item" href="/" style="color: rgba(0,0,0,.87);">
+ <img class="ui small image" src="/images/annotator-logo.svg" alt="Apache Annotator (incubating)" />
+ </a>
+ <div class="right menu">
+ <a class="item" href="/demo/"><span class="ui positive button">Demo!</span></a>
+ <a class="item" rel="external" href="https://www.npmjs.com/package/apache-annotator">NPM</a>
+ <a class="item" rel="external" href="https://github.com/apache?q=annotator#org-repositories">Code</a>
+ <a class="item" rel="external" href="https://github.com/apache/incubator-annotator/issues">Issues</a>
+ <a class="active item" href="/docs/">Docs</a>
+ <a class="item" rel="external" href="https://mail-archives.apache.org/mod_mbox/incubator-annotator-dev/">Mailing List</a>
+ </div>
+ </div>
+</div>
+<div class="ui basic segment container">
+ <link rel="stylesheet" href="../assets/css/main.css">
+ <script async src="../assets/js/search.js" id="search-script"></script>
+ <aside>
+ <style>
+ #tsd-search {
+ position: relative;
+ }
+ #tsd-search input {
+ border: 1px solid grey;
+ border-radius: 2px;
+ padding: 0.2em;
+ }
+ #tsd-search .results {
+ z-index: 1;
+ position: absolute;
+ }
+ </style>
+ <div id="tsd-search" data-index="../assets/js/search.json" data-base="..">
+ <div>
+ <label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
+ <input id="tsd-search-field" type="text" />
+ </div>
+ <ul class="results">
+ <li class="state loading">Preparing search index...</li>
+ <li class="state failure">The search index is not available</li>
+ </ul>
+ </div>
+ </aside>
+ <header style="margin: 2em 0;" id="typedoc-title">
+ <style>
+ #typedoc-title h1 {
+ margin-top: 0;
+ }
+ </style>
+ <ul class="tsd-breadcrumb">
+ <li>
+ <a href="../index.html">apache-annotator</a>
+ </li>
+ <li>
+ <a href="../modules/selector.html">selector</a>
+ </li>
+ <li>
+ <a href="selector.chunk.html">Chunk</a>
+ </li>
+ </ul>
+ <h1>Interface Chunk<TData></h1>
+ </header>
+ <main>
+ <div class="row">
+ <div class="col-8 col-content">
+ <section class="tsd-panel tsd-comment">
+ <div class="tsd-comment tsd-typography">
+ <div class="lead">
+ <p>Represents a piece of text in any kind of ‘file’.</p>
+ </div>
+ <p>Its purpose is to enable generic algorithms to deal with text content of any
+ type of ‘file’ that consists of many pieces of text (e.g. a DOM, PDF, …).
+ Each Chunk represents one piece of text (<a href="selector.chunk.html#data">Chunk.data</a>). An object
+ implementing this interface would typically have other attributes as well to
+ map the chunk back to its position in the file (e.g. a Text node in the DOM).</p>
+ </div>
+ </section>
+ <section class="tsd-panel tsd-type-parameters">
+ <h3>Type parameters</h3>
+ <ul class="tsd-type-parameters">
+ <li>
+ <h4>TData</h4>
+ <div class="tsd-comment tsd-typography">
+ <div class="lead">
+ <p>Piece of text, typically <code>string</code></p>
+ </div>
+ </div>
+ </li>
+ </ul>
+ </section>
+ <section class="tsd-panel tsd-hierarchy">
+ <h3>Hierarchy</h3>
+ <ul class="tsd-hierarchy">
+ <li>
+ <span class="target">Chunk</span>
+ </li>
+ </ul>
+ </section>
+ <section class="tsd-panel-group tsd-index-group">
+ <h2>Index</h2>
+ <section class="tsd-panel tsd-index-panel">
+ <div class="tsd-index-content">
+ <section class="tsd-index-section ">
+ <h3>Properties</h3>
+ <ul class="tsd-index-list">
+ <li class="tsd-kind-property tsd-parent-kind-interface"><a href="selector.chunk.html#data" class="tsd-kind-icon">data</a></li>
+ </ul>
+ </section>
+ <section class="tsd-index-section ">
+ <h3>Methods</h3>
+ <ul class="tsd-index-list">
+ <li class="tsd-kind-method tsd-parent-kind-interface"><a href="selector.chunk.html#equals" class="tsd-kind-icon">equals</a></li>
+ </ul>
+ </section>
+ </div>
+ </section>
+ </section>
+ <section class="tsd-panel-group tsd-member-group ">
+ <h2>Properties</h2>
+ <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
+ <a name="data" class="tsd-anchor"></a>
+ <h3><span class="tsd-flag ts-flagReadonly">Readonly</span> data</h3>
+ <div class="tsd-signature tsd-kind-icon">data<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">TData</span></div>
+ <aside class="tsd-sources">
+ </aside>
+ <div class="tsd-comment tsd-typography">
+ <div class="lead">
+ <p>The piece of text this chunk represents.</p>
+ </div>
+ </div>
+ </section>
+ </section>
+ <section class="tsd-panel-group tsd-member-group ">
+ <h2>Methods</h2>
+ <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface">
+ <a name="equals" class="tsd-anchor"></a>
+ <h3><span class="tsd-flag ts-flagOptional">Optional</span> equals</h3>
+ <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
+ <li class="tsd-signature tsd-kind-icon">equals<span class="tsd-signature-symbol">(</span>otherChunk<span class="tsd-signature-symbol">: </span><a href="selector.chunk.html" class="tsd-signature-type" data-tsd-kind="Interface">Chunk</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">TData</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature [...]
+ </ul>
+ <ul class="tsd-descriptions">
+ <li class="tsd-description">
+ <aside class="tsd-sources">
+ </aside>
+ <h4 class="tsd-parameters-title">Parameters</h4>
+ <ul class="tsd-parameters">
+ <li>
+ <h5>otherChunk: <a href="selector.chunk.html" class="tsd-signature-type" data-tsd-kind="Interface">Chunk</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">TData</span><span class="tsd-signature-symbol">></span></h5>
+ </li>
+ </ul>
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
+ </li>
+ </ul>
+ </section>
+ </section>
+ </div>
+ <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
+ <nav class="tsd-navigation primary">
+ <ul>
+ <li class=" ">
+ <a href="../index.html">Exports</a>
+ </li>
+ <li class=" tsd-kind-module">
+ <a href="../modules/dom.html">dom</a>
+ </li>
+ <li class="current tsd-kind-module">
+ <a href="../modules/selector.html">selector</a>
+ </li>
+ </ul>
+ </nav>
+ <nav class="tsd-navigation secondary menu-sticky">
+ <ul class="before-current">
+ </ul>
+ <ul class="current">
+ <li class="current tsd-kind-interface tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="selector.chunk.html" class="tsd-kind-icon">Chunk</a>
+ <ul>
+ <li class=" tsd-kind-property tsd-parent-kind-interface">
+ <a href="selector.chunk.html#data" class="tsd-kind-icon">data</a>
+ </li>
+ <li class=" tsd-kind-method tsd-parent-kind-interface">
+ <a href="selector.chunk.html#equals" class="tsd-kind-icon">equals</a>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ <ul class="after-current">
+ <li class=" tsd-kind-interface tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="selector.chunkrange.html" class="tsd-kind-icon">Chunk<wbr>Range</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="selector.chunker.html" class="tsd-kind-icon">Chunker</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module">
+ <a href="selector.cssselector.html" class="tsd-kind-icon">Css<wbr>Selector</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module">
+ <a href="selector.describetextquoteoptions.html" class="tsd-kind-icon">Describe<wbr>Text<wbr>Quote<wbr>Options</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="selector.matcher.html" class="tsd-kind-icon">Matcher</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module">
+ <a href="selector.rangeselector.html" class="tsd-kind-icon">Range<wbr>Selector</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module">
+ <a href="selector.selector-1.html" class="tsd-kind-icon">Selector</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module">
+ <a href="selector.textpositionselector.html" class="tsd-kind-icon">Text<wbr>Position<wbr>Selector</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module">
+ <a href="selector.textquoteselector.html" class="tsd-kind-icon">Text<wbr>Quote<wbr>Selector</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module">
+ <a href="../modules/selector.html#chunkequals" class="tsd-kind-icon">chunk<wbr>Equals</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module">
+ <a href="../modules/selector.html#chunkrangeequals" class="tsd-kind-icon">chunk<wbr>Range<wbr>Equals</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="../modules/selector.html#describetextposition" class="tsd-kind-icon">describe<wbr>Text<wbr>Position</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="../modules/selector.html#describetextquote" class="tsd-kind-icon">describe<wbr>Text<wbr>Quote</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="../modules/selector.html#makerefinable" class="tsd-kind-icon">make<wbr>Refinable</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module">
+ <a href="../modules/selector.html#textpositionselectormatcher" class="tsd-kind-icon">text<wbr>Position<wbr>Selector<wbr>Matcher</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module">
+ <a href="../modules/selector.html#textquoteselectormatcher" class="tsd-kind-icon">text<wbr>Quote<wbr>Selector<wbr>Matcher</a>
+ </li>
+ </ul>
+ </nav>
+ </div>
+ </div>
+ </main>
+ <script src="../assets/js/main.js"></script>
+</div>
+<footer class="ui bottom attached segment">
+ <div class="ui container">
+ <div class="ui equal height divided stackable grid">
+ <div class="four wide column">
+ <a class="ui left floated medium image" href="https://apache.org/" target="_blank">
+ <img src="https://incubator.apache.org/images/incubator_feather_egg_logo_sm.png" alt="logo of the Apache Incubator" />
+ </a>
+ <p>
+ <em>Copyright © 2016-2018 The Apache Software Foundation, Licensed under
+ the <a href="https://www.apache.org/licenses/LICENSE-2.0" rel="license external">Apache License, Version 2.0</a>.
+ |
+ <a rel="external" href="https://www.apache.org/foundation/policies/privacy">Privacy Policy</a>
+ </em>
+ </p>
+ </div>
+ <div class="nine wide column">
+ <p>
+ <em>Apache Annotator is an effort undergoing incubation at <a target="_blank" href="https://apache.org/">The Apache Software Foundation (ASF)</a> sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completen [...]
+ <p><em>Apache®, the names of Apache projects, and the feather logo are either <a rel="external" href="https://www.apache.org/foundation/marks/list/">registered trademarks or trademarks</a> of the Apache Software Foundation in the United States and/or other countries.</em></p>
+ </div>
+ <div class="three wide column">
+ <h4 class="header">The <abbr title="Apache Software Foundation">ASF</abbr></h4>
+ <div class="ui link list">
+ <a class="item" rel="external" href="https://incubator.apache.org/">Apache Incubator</a>
+ <a class="item" rel="external" href="https://www.apache.org/">About the ASF</a>
+ <a class="item" rel="external" href="https://www.apache.org/events/current-event">Events</a>
+ <a class="item" rel="external" href="https://www.apache.org/foundation/thanks.html">Thanks</a>
+ <a class="item" rel="external" href="https://www.apache.org/foundation/sponsorship.html">Become a Sponsor</a>
+ <a class="item" rel="external" href="https://www.apache.org/security/">Security</a>
+ <a class="item" rel="external" href="https://www.apache.org/licenses/">License</a>
+ </div>
+ </div>
+ </div>
+ </div>
+</footer>
+</body>
+</html>
\ No newline at end of file
diff --git a/content/docs/api/interfaces/selector.chunker.html b/content/docs/api/interfaces/selector.chunker.html
new file mode 100644
index 0000000..4a48ca0
--- /dev/null
+++ b/content/docs/api/interfaces/selector.chunker.html
@@ -0,0 +1,368 @@
+<!DOCTYPE html>
+<html prefix="og: http://ogp.me/ns#">
+<head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
+ <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1">
+ <title>Apache Annotator (incubating)</title>
+ <meta property="og:title" content="Apache Annotator" />
+ <meta property="og:type" content="website" />
+ <meta property="og:url" content="https://annotator.apache.org/" />
+ <meta property="og:image:url" content="https://annotator.apache.org/images/annotator-logo.svg" />
+ <meta property="og:image:alt" content="Apache Annotator (incubating) logo" />
+ <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon.png">
+ <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32.png">
+ <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16.png">
+ <link rel="manifest" href="/site.webmanifest">
+ <link rel="mask-icon" href="/images/safari-pinned-tab.svg" color="#5bbad5">
+ <meta name="msapplication-TileColor" content="#da532c">
+ <meta name="theme-color" content="#ffffff">
+ <link rel="alternate" title="DOAP" href="doap.rdf" type="application/rdf+xml" />
+ <link rel="stylesheet" href="//semantic-ui.com/dist/semantic.min.css" />
+</head>
+<body>
+<div class="ui borderless stackable top attached main menu">
+ <div class="ui container">
+ <a class="item" href="/" style="color: rgba(0,0,0,.87);">
+ <img class="ui small image" src="/images/annotator-logo.svg" alt="Apache Annotator (incubating)" />
+ </a>
+ <div class="right menu">
+ <a class="item" href="/demo/"><span class="ui positive button">Demo!</span></a>
+ <a class="item" rel="external" href="https://www.npmjs.com/package/apache-annotator">NPM</a>
+ <a class="item" rel="external" href="https://github.com/apache?q=annotator#org-repositories">Code</a>
+ <a class="item" rel="external" href="https://github.com/apache/incubator-annotator/issues">Issues</a>
+ <a class="active item" href="/docs/">Docs</a>
+ <a class="item" rel="external" href="https://mail-archives.apache.org/mod_mbox/incubator-annotator-dev/">Mailing List</a>
+ </div>
+ </div>
+</div>
+<div class="ui basic segment container">
+ <link rel="stylesheet" href="../assets/css/main.css">
+ <script async src="../assets/js/search.js" id="search-script"></script>
+ <aside>
+ <style>
+ #tsd-search {
+ position: relative;
+ }
+ #tsd-search input {
+ border: 1px solid grey;
+ border-radius: 2px;
+ padding: 0.2em;
+ }
+ #tsd-search .results {
+ z-index: 1;
+ position: absolute;
+ }
+ </style>
+ <div id="tsd-search" data-index="../assets/js/search.json" data-base="..">
+ <div>
+ <label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
+ <input id="tsd-search-field" type="text" />
+ </div>
+ <ul class="results">
+ <li class="state loading">Preparing search index...</li>
+ <li class="state failure">The search index is not available</li>
+ </ul>
+ </div>
+ </aside>
+ <header style="margin: 2em 0;" id="typedoc-title">
+ <style>
+ #typedoc-title h1 {
+ margin-top: 0;
+ }
+ </style>
+ <ul class="tsd-breadcrumb">
+ <li>
+ <a href="../index.html">apache-annotator</a>
+ </li>
+ <li>
+ <a href="../modules/selector.html">selector</a>
+ </li>
+ <li>
+ <a href="selector.chunker.html">Chunker</a>
+ </li>
+ </ul>
+ <h1>Interface Chunker<TChunk></h1>
+ </header>
+ <main>
+ <div class="row">
+ <div class="col-8 col-content">
+ <section class="tsd-panel tsd-comment">
+ <div class="tsd-comment tsd-typography">
+ <div class="lead">
+ <p>Presents the pieces of text contained in some underlying ‘file’ as a sequence
+ of <a href="selector.chunk.html">Chunk</a>s.</p>
+ </div>
+ <p>Rather than presenting a list of all pieces, the <code>Chunker</code> provides methods
+ to walk through the file piece by piece. This permits implementations to read
+ and convert the file to <code>Chunk</code>s lazily.</p>
+ <p>For those familiar with the DOM APIs, it is similar to a NodeIterator (but
+ unlike NodeIterator, it has no concept of being ‘before’ or ‘after’ a chunk).</p>
+ </div>
+ </section>
+ <section class="tsd-panel tsd-type-parameters">
+ <h3>Type parameters</h3>
+ <ul class="tsd-type-parameters">
+ <li>
+ <h4>TChunk<span class="tsd-signature-symbol">: </span><a href="selector.chunk.html" class="tsd-signature-type" data-tsd-kind="Interface">Chunk</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></h4>
+ <div class="tsd-comment tsd-typography">
+ <div class="lead">
+ <p>(sub)type of <code>Chunk</code> being used.</p>
+ </div>
+ </div>
+ </li>
+ </ul>
+ </section>
+ <section class="tsd-panel tsd-hierarchy">
+ <h3>Hierarchy</h3>
+ <ul class="tsd-hierarchy">
+ <li>
+ <span class="target">Chunker</span>
+ </li>
+ </ul>
+ </section>
+ <section class="tsd-panel-group tsd-index-group">
+ <h2>Index</h2>
+ <section class="tsd-panel tsd-index-panel">
+ <div class="tsd-index-content">
+ <section class="tsd-index-section ">
+ <h3>Properties</h3>
+ <ul class="tsd-index-list">
+ <li class="tsd-kind-property tsd-parent-kind-interface"><a href="selector.chunker.html#currentchunk" class="tsd-kind-icon">current<wbr>Chunk</a></li>
+ </ul>
+ </section>
+ <section class="tsd-index-section ">
+ <h3>Methods</h3>
+ <ul class="tsd-index-list">
+ <li class="tsd-kind-method tsd-parent-kind-interface"><a href="selector.chunker.html#nextchunk" class="tsd-kind-icon">next<wbr>Chunk</a></li>
+ <li class="tsd-kind-method tsd-parent-kind-interface"><a href="selector.chunker.html#precedescurrentchunk" class="tsd-kind-icon">precedes<wbr>Current<wbr>Chunk</a></li>
+ <li class="tsd-kind-method tsd-parent-kind-interface"><a href="selector.chunker.html#previouschunk" class="tsd-kind-icon">previous<wbr>Chunk</a></li>
+ </ul>
+ </section>
+ </div>
+ </section>
+ </section>
+ <section class="tsd-panel-group tsd-member-group ">
+ <h2>Properties</h2>
+ <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
+ <a name="currentchunk" class="tsd-anchor"></a>
+ <h3><span class="tsd-flag ts-flagReadonly">Readonly</span> current<wbr>Chunk</h3>
+ <div class="tsd-signature tsd-kind-icon">current<wbr>Chunk<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">TChunk</span></div>
+ <aside class="tsd-sources">
+ </aside>
+ <div class="tsd-comment tsd-typography">
+ <div class="lead">
+ <p>The chunk currently being pointed at.</p>
+ </div>
+ <p>Initially, this should normally be the first chunk in the file.</p>
+ </div>
+ </section>
+ </section>
+ <section class="tsd-panel-group tsd-member-group ">
+ <h2>Methods</h2>
+ <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface">
+ <a name="nextchunk" class="tsd-anchor"></a>
+ <h3>next<wbr>Chunk</h3>
+ <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
+ <li class="tsd-signature tsd-kind-icon">next<wbr>Chunk<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">TChunk</span></li>
+ </ul>
+ <ul class="tsd-descriptions">
+ <li class="tsd-description">
+ <aside class="tsd-sources">
+ </aside>
+ <div class="tsd-comment tsd-typography">
+ <div class="lead">
+ <p>Point <a href="selector.chunker.html#currentchunk">currentChunk</a> at the chunk following it, and return that chunk.
+ If there are no chunks following it, keep <code>currentChunk</code> unchanged and
+ return null.</p>
+ </div>
+ </div>
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">TChunk</span></h4>
+ </li>
+ </ul>
+ </section>
+ <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface">
+ <a name="precedescurrentchunk" class="tsd-anchor"></a>
+ <h3>precedes<wbr>Current<wbr>Chunk</h3>
+ <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
+ <li class="tsd-signature tsd-kind-icon">precedes<wbr>Current<wbr>Chunk<span class="tsd-signature-symbol">(</span>chunk<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">TChunk</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
+ </ul>
+ <ul class="tsd-descriptions">
+ <li class="tsd-description">
+ <aside class="tsd-sources">
+ </aside>
+ <div class="tsd-comment tsd-typography">
+ <div class="lead">
+ <p>Test if a given <code>chunk</code> is before the <a href="selector.chunker.html#currentchunk">current chunk</a>.</p>
+ </div>
+ <p>Returns true if <code>chunk</code> is before <code>this.currentChunk</code>, false otherwise
+ (i.e. if <code>chunk</code> follows it or is the current chunk).</p>
+ <p>The given <code>chunk</code> need not necessarily be obtained from the same <code>Chunker</code>,
+ but the chunkers would need to represent the same file. Otherwise behaviour
+ is unspecified (an implementation might throw or just return <code>false</code>).</p>
+ </div>
+ <h4 class="tsd-parameters-title">Parameters</h4>
+ <ul class="tsd-parameters">
+ <li>
+ <h5>chunk: <span class="tsd-signature-type">TChunk</span></h5>
+ <div class="tsd-comment tsd-typography">
+ <p>A chunk, typically obtained from the same <code>Chunker</code>.</p>
+ </div>
+ </li>
+ </ul>
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
+ </li>
+ </ul>
+ </section>
+ <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface">
+ <a name="previouschunk" class="tsd-anchor"></a>
+ <h3>previous<wbr>Chunk</h3>
+ <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
+ <li class="tsd-signature tsd-kind-icon">previous<wbr>Chunk<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">TChunk</span></li>
+ </ul>
+ <ul class="tsd-descriptions">
+ <li class="tsd-description">
+ <aside class="tsd-sources">
+ </aside>
+ <div class="tsd-comment tsd-typography">
+ <div class="lead">
+ <p>Point <a href="selector.chunker.html#currentchunk">currentChunk</a> at the chunk preceding it, and return that chunk.
+ If there are no chunks preceding it, keep <code>currentChunk</code> unchanged and
+ return null.</p>
+ </div>
+ </div>
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">TChunk</span></h4>
+ </li>
+ </ul>
+ </section>
+ </section>
+ </div>
+ <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
+ <nav class="tsd-navigation primary">
+ <ul>
+ <li class=" ">
+ <a href="../index.html">Exports</a>
+ </li>
+ <li class=" tsd-kind-module">
+ <a href="../modules/dom.html">dom</a>
+ </li>
+ <li class="current tsd-kind-module">
+ <a href="../modules/selector.html">selector</a>
+ </li>
+ </ul>
+ </nav>
+ <nav class="tsd-navigation secondary menu-sticky">
+ <ul class="before-current">
+ <li class=" tsd-kind-interface tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="selector.chunk.html" class="tsd-kind-icon">Chunk</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="selector.chunkrange.html" class="tsd-kind-icon">Chunk<wbr>Range</a>
+ </li>
+ </ul>
+ <ul class="current">
+ <li class="current tsd-kind-interface tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="selector.chunker.html" class="tsd-kind-icon">Chunker</a>
+ <ul>
+ <li class=" tsd-kind-property tsd-parent-kind-interface">
+ <a href="selector.chunker.html#currentchunk" class="tsd-kind-icon">current<wbr>Chunk</a>
+ </li>
+ <li class=" tsd-kind-method tsd-parent-kind-interface">
+ <a href="selector.chunker.html#nextchunk" class="tsd-kind-icon">next<wbr>Chunk</a>
+ </li>
+ <li class=" tsd-kind-method tsd-parent-kind-interface">
+ <a href="selector.chunker.html#precedescurrentchunk" class="tsd-kind-icon">precedes<wbr>Current<wbr>Chunk</a>
+ </li>
+ <li class=" tsd-kind-method tsd-parent-kind-interface">
+ <a href="selector.chunker.html#previouschunk" class="tsd-kind-icon">previous<wbr>Chunk</a>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ <ul class="after-current">
+ <li class=" tsd-kind-interface tsd-parent-kind-module">
+ <a href="selector.cssselector.html" class="tsd-kind-icon">Css<wbr>Selector</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module">
+ <a href="selector.describetextquoteoptions.html" class="tsd-kind-icon">Describe<wbr>Text<wbr>Quote<wbr>Options</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="selector.matcher.html" class="tsd-kind-icon">Matcher</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module">
+ <a href="selector.rangeselector.html" class="tsd-kind-icon">Range<wbr>Selector</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module">
+ <a href="selector.selector-1.html" class="tsd-kind-icon">Selector</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module">
+ <a href="selector.textpositionselector.html" class="tsd-kind-icon">Text<wbr>Position<wbr>Selector</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module">
+ <a href="selector.textquoteselector.html" class="tsd-kind-icon">Text<wbr>Quote<wbr>Selector</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module">
+ <a href="../modules/selector.html#chunkequals" class="tsd-kind-icon">chunk<wbr>Equals</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module">
+ <a href="../modules/selector.html#chunkrangeequals" class="tsd-kind-icon">chunk<wbr>Range<wbr>Equals</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="../modules/selector.html#describetextposition" class="tsd-kind-icon">describe<wbr>Text<wbr>Position</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="../modules/selector.html#describetextquote" class="tsd-kind-icon">describe<wbr>Text<wbr>Quote</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="../modules/selector.html#makerefinable" class="tsd-kind-icon">make<wbr>Refinable</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module">
+ <a href="../modules/selector.html#textpositionselectormatcher" class="tsd-kind-icon">text<wbr>Position<wbr>Selector<wbr>Matcher</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module">
+ <a href="../modules/selector.html#textquoteselectormatcher" class="tsd-kind-icon">text<wbr>Quote<wbr>Selector<wbr>Matcher</a>
+ </li>
+ </ul>
+ </nav>
+ </div>
+ </div>
+ </main>
+ <script src="../assets/js/main.js"></script>
+</div>
+<footer class="ui bottom attached segment">
+ <div class="ui container">
+ <div class="ui equal height divided stackable grid">
+ <div class="four wide column">
+ <a class="ui left floated medium image" href="https://apache.org/" target="_blank">
+ <img src="https://incubator.apache.org/images/incubator_feather_egg_logo_sm.png" alt="logo of the Apache Incubator" />
+ </a>
+ <p>
+ <em>Copyright © 2016-2018 The Apache Software Foundation, Licensed under
+ the <a href="https://www.apache.org/licenses/LICENSE-2.0" rel="license external">Apache License, Version 2.0</a>.
+ |
+ <a rel="external" href="https://www.apache.org/foundation/policies/privacy">Privacy Policy</a>
+ </em>
+ </p>
+ </div>
+ <div class="nine wide column">
+ <p>
+ <em>Apache Annotator is an effort undergoing incubation at <a target="_blank" href="https://apache.org/">The Apache Software Foundation (ASF)</a> sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completen [...]
+ <p><em>Apache®, the names of Apache projects, and the feather logo are either <a rel="external" href="https://www.apache.org/foundation/marks/list/">registered trademarks or trademarks</a> of the Apache Software Foundation in the United States and/or other countries.</em></p>
+ </div>
+ <div class="three wide column">
+ <h4 class="header">The <abbr title="Apache Software Foundation">ASF</abbr></h4>
+ <div class="ui link list">
+ <a class="item" rel="external" href="https://incubator.apache.org/">Apache Incubator</a>
+ <a class="item" rel="external" href="https://www.apache.org/">About the ASF</a>
+ <a class="item" rel="external" href="https://www.apache.org/events/current-event">Events</a>
+ <a class="item" rel="external" href="https://www.apache.org/foundation/thanks.html">Thanks</a>
+ <a class="item" rel="external" href="https://www.apache.org/foundation/sponsorship.html">Become a Sponsor</a>
+ <a class="item" rel="external" href="https://www.apache.org/security/">Security</a>
+ <a class="item" rel="external" href="https://www.apache.org/licenses/">License</a>
+ </div>
+ </div>
+ </div>
+ </div>
+</footer>
+</body>
+</html>
\ No newline at end of file
diff --git a/content/docs/api/interfaces/selector.chunkrange.html b/content/docs/api/interfaces/selector.chunkrange.html
new file mode 100644
index 0000000..e577e68
--- /dev/null
+++ b/content/docs/api/interfaces/selector.chunkrange.html
@@ -0,0 +1,292 @@
+<!DOCTYPE html>
+<html prefix="og: http://ogp.me/ns#">
+<head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
+ <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1">
+ <title>Apache Annotator (incubating)</title>
+ <meta property="og:title" content="Apache Annotator" />
+ <meta property="og:type" content="website" />
+ <meta property="og:url" content="https://annotator.apache.org/" />
+ <meta property="og:image:url" content="https://annotator.apache.org/images/annotator-logo.svg" />
+ <meta property="og:image:alt" content="Apache Annotator (incubating) logo" />
+ <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon.png">
+ <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32.png">
+ <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16.png">
+ <link rel="manifest" href="/site.webmanifest">
+ <link rel="mask-icon" href="/images/safari-pinned-tab.svg" color="#5bbad5">
+ <meta name="msapplication-TileColor" content="#da532c">
+ <meta name="theme-color" content="#ffffff">
+ <link rel="alternate" title="DOAP" href="doap.rdf" type="application/rdf+xml" />
+ <link rel="stylesheet" href="//semantic-ui.com/dist/semantic.min.css" />
+</head>
+<body>
+<div class="ui borderless stackable top attached main menu">
+ <div class="ui container">
+ <a class="item" href="/" style="color: rgba(0,0,0,.87);">
+ <img class="ui small image" src="/images/annotator-logo.svg" alt="Apache Annotator (incubating)" />
+ </a>
+ <div class="right menu">
+ <a class="item" href="/demo/"><span class="ui positive button">Demo!</span></a>
+ <a class="item" rel="external" href="https://www.npmjs.com/package/apache-annotator">NPM</a>
+ <a class="item" rel="external" href="https://github.com/apache?q=annotator#org-repositories">Code</a>
+ <a class="item" rel="external" href="https://github.com/apache/incubator-annotator/issues">Issues</a>
+ <a class="active item" href="/docs/">Docs</a>
+ <a class="item" rel="external" href="https://mail-archives.apache.org/mod_mbox/incubator-annotator-dev/">Mailing List</a>
+ </div>
+ </div>
+</div>
+<div class="ui basic segment container">
+ <link rel="stylesheet" href="../assets/css/main.css">
+ <script async src="../assets/js/search.js" id="search-script"></script>
+ <aside>
+ <style>
+ #tsd-search {
+ position: relative;
+ }
+ #tsd-search input {
+ border: 1px solid grey;
+ border-radius: 2px;
+ padding: 0.2em;
+ }
+ #tsd-search .results {
+ z-index: 1;
+ position: absolute;
+ }
+ </style>
+ <div id="tsd-search" data-index="../assets/js/search.json" data-base="..">
+ <div>
+ <label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
+ <input id="tsd-search-field" type="text" />
+ </div>
+ <ul class="results">
+ <li class="state loading">Preparing search index...</li>
+ <li class="state failure">The search index is not available</li>
+ </ul>
+ </div>
+ </aside>
+ <header style="margin: 2em 0;" id="typedoc-title">
+ <style>
+ #typedoc-title h1 {
+ margin-top: 0;
+ }
+ </style>
+ <ul class="tsd-breadcrumb">
+ <li>
+ <a href="../index.html">apache-annotator</a>
+ </li>
+ <li>
+ <a href="../modules/selector.html">selector</a>
+ </li>
+ <li>
+ <a href="selector.chunkrange.html">ChunkRange</a>
+ </li>
+ </ul>
+ <h1>Interface ChunkRange<TChunk></h1>
+ </header>
+ <main>
+ <div class="row">
+ <div class="col-8 col-content">
+ <section class="tsd-panel tsd-comment">
+ <div class="tsd-comment tsd-typography">
+ <div class="lead">
+ <p>Points at a range of characters between two points inside <a href="selector.chunk.html">Chunk</a>s.</p>
+ </div>
+ <p>Analogous to the DOM’s (<a href="https://developer.mozilla.org/en-US/docs/Web/API/AbstractRange" class="external">Abstract</a>)<a href="https://developer.mozilla.org/en-US/docs/Web/API/Range" class="external">Range</a>. Each index expresses an offset inside the value of the corresponding
+ <a href="selector.chunk.html#data">Chunk.data</a>, and can equal the length of that data in order to point
+ to the position right after the chunk’s last character.</p>
+ </div>
+ </section>
+ <section class="tsd-panel tsd-type-parameters">
+ <h3>Type parameters</h3>
+ <ul class="tsd-type-parameters">
+ <li>
+ <h4>TChunk<span class="tsd-signature-symbol">: </span><a href="selector.chunk.html" class="tsd-signature-type" data-tsd-kind="Interface">Chunk</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></h4>
+ </li>
+ </ul>
+ </section>
+ <section class="tsd-panel tsd-hierarchy">
+ <h3>Hierarchy</h3>
+ <ul class="tsd-hierarchy">
+ <li>
+ <span class="target">ChunkRange</span>
+ </li>
+ </ul>
+ </section>
+ <section class="tsd-panel-group tsd-index-group">
+ <h2>Index</h2>
+ <section class="tsd-panel tsd-index-panel">
+ <div class="tsd-index-content">
+ <section class="tsd-index-section ">
+ <h3>Properties</h3>
+ <ul class="tsd-index-list">
+ <li class="tsd-kind-property tsd-parent-kind-interface"><a href="selector.chunkrange.html#endchunk" class="tsd-kind-icon">end<wbr>Chunk</a></li>
+ <li class="tsd-kind-property tsd-parent-kind-interface"><a href="selector.chunkrange.html#endindex" class="tsd-kind-icon">end<wbr>Index</a></li>
+ <li class="tsd-kind-property tsd-parent-kind-interface"><a href="selector.chunkrange.html#startchunk" class="tsd-kind-icon">start<wbr>Chunk</a></li>
+ <li class="tsd-kind-property tsd-parent-kind-interface"><a href="selector.chunkrange.html#startindex" class="tsd-kind-icon">start<wbr>Index</a></li>
+ </ul>
+ </section>
+ </div>
+ </section>
+ </section>
+ <section class="tsd-panel-group tsd-member-group ">
+ <h2>Properties</h2>
+ <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
+ <a name="endchunk" class="tsd-anchor"></a>
+ <h3>end<wbr>Chunk</h3>
+ <div class="tsd-signature tsd-kind-icon">end<wbr>Chunk<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">TChunk</span></div>
+ <aside class="tsd-sources">
+ </aside>
+ </section>
+ <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
+ <a name="endindex" class="tsd-anchor"></a>
+ <h3>end<wbr>Index</h3>
+ <div class="tsd-signature tsd-kind-icon">end<wbr>Index<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
+ <aside class="tsd-sources">
+ </aside>
+ </section>
+ <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
+ <a name="startchunk" class="tsd-anchor"></a>
+ <h3>start<wbr>Chunk</h3>
+ <div class="tsd-signature tsd-kind-icon">start<wbr>Chunk<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">TChunk</span></div>
+ <aside class="tsd-sources">
+ </aside>
+ </section>
+ <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
+ <a name="startindex" class="tsd-anchor"></a>
+ <h3>start<wbr>Index</h3>
+ <div class="tsd-signature tsd-kind-icon">start<wbr>Index<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
+ <aside class="tsd-sources">
+ </aside>
+ </section>
+ </section>
+ </div>
+ <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
+ <nav class="tsd-navigation primary">
+ <ul>
+ <li class=" ">
+ <a href="../index.html">Exports</a>
+ </li>
+ <li class=" tsd-kind-module">
+ <a href="../modules/dom.html">dom</a>
+ </li>
+ <li class="current tsd-kind-module">
+ <a href="../modules/selector.html">selector</a>
+ </li>
+ </ul>
+ </nav>
+ <nav class="tsd-navigation secondary menu-sticky">
+ <ul class="before-current">
+ <li class=" tsd-kind-interface tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="selector.chunk.html" class="tsd-kind-icon">Chunk</a>
+ </li>
+ </ul>
+ <ul class="current">
+ <li class="current tsd-kind-interface tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="selector.chunkrange.html" class="tsd-kind-icon">Chunk<wbr>Range</a>
+ <ul>
+ <li class=" tsd-kind-property tsd-parent-kind-interface">
+ <a href="selector.chunkrange.html#endchunk" class="tsd-kind-icon">end<wbr>Chunk</a>
+ </li>
+ <li class=" tsd-kind-property tsd-parent-kind-interface">
+ <a href="selector.chunkrange.html#endindex" class="tsd-kind-icon">end<wbr>Index</a>
+ </li>
+ <li class=" tsd-kind-property tsd-parent-kind-interface">
+ <a href="selector.chunkrange.html#startchunk" class="tsd-kind-icon">start<wbr>Chunk</a>
+ </li>
+ <li class=" tsd-kind-property tsd-parent-kind-interface">
+ <a href="selector.chunkrange.html#startindex" class="tsd-kind-icon">start<wbr>Index</a>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ <ul class="after-current">
+ <li class=" tsd-kind-interface tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="selector.chunker.html" class="tsd-kind-icon">Chunker</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module">
+ <a href="selector.cssselector.html" class="tsd-kind-icon">Css<wbr>Selector</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module">
+ <a href="selector.describetextquoteoptions.html" class="tsd-kind-icon">Describe<wbr>Text<wbr>Quote<wbr>Options</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="selector.matcher.html" class="tsd-kind-icon">Matcher</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module">
+ <a href="selector.rangeselector.html" class="tsd-kind-icon">Range<wbr>Selector</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module">
+ <a href="selector.selector-1.html" class="tsd-kind-icon">Selector</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module">
+ <a href="selector.textpositionselector.html" class="tsd-kind-icon">Text<wbr>Position<wbr>Selector</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module">
+ <a href="selector.textquoteselector.html" class="tsd-kind-icon">Text<wbr>Quote<wbr>Selector</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module">
+ <a href="../modules/selector.html#chunkequals" class="tsd-kind-icon">chunk<wbr>Equals</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module">
+ <a href="../modules/selector.html#chunkrangeequals" class="tsd-kind-icon">chunk<wbr>Range<wbr>Equals</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="../modules/selector.html#describetextposition" class="tsd-kind-icon">describe<wbr>Text<wbr>Position</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="../modules/selector.html#describetextquote" class="tsd-kind-icon">describe<wbr>Text<wbr>Quote</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="../modules/selector.html#makerefinable" class="tsd-kind-icon">make<wbr>Refinable</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module">
+ <a href="../modules/selector.html#textpositionselectormatcher" class="tsd-kind-icon">text<wbr>Position<wbr>Selector<wbr>Matcher</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module">
+ <a href="../modules/selector.html#textquoteselectormatcher" class="tsd-kind-icon">text<wbr>Quote<wbr>Selector<wbr>Matcher</a>
+ </li>
+ </ul>
+ </nav>
+ </div>
+ </div>
+ </main>
+ <script src="../assets/js/main.js"></script>
+</div>
+<footer class="ui bottom attached segment">
+ <div class="ui container">
+ <div class="ui equal height divided stackable grid">
+ <div class="four wide column">
+ <a class="ui left floated medium image" href="https://apache.org/" target="_blank">
+ <img src="https://incubator.apache.org/images/incubator_feather_egg_logo_sm.png" alt="logo of the Apache Incubator" />
+ </a>
+ <p>
+ <em>Copyright © 2016-2018 The Apache Software Foundation, Licensed under
+ the <a href="https://www.apache.org/licenses/LICENSE-2.0" rel="license external">Apache License, Version 2.0</a>.
+ |
+ <a rel="external" href="https://www.apache.org/foundation/policies/privacy">Privacy Policy</a>
+ </em>
+ </p>
+ </div>
+ <div class="nine wide column">
+ <p>
+ <em>Apache Annotator is an effort undergoing incubation at <a target="_blank" href="https://apache.org/">The Apache Software Foundation (ASF)</a> sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completen [...]
+ <p><em>Apache®, the names of Apache projects, and the feather logo are either <a rel="external" href="https://www.apache.org/foundation/marks/list/">registered trademarks or trademarks</a> of the Apache Software Foundation in the United States and/or other countries.</em></p>
+ </div>
+ <div class="three wide column">
+ <h4 class="header">The <abbr title="Apache Software Foundation">ASF</abbr></h4>
+ <div class="ui link list">
+ <a class="item" rel="external" href="https://incubator.apache.org/">Apache Incubator</a>
+ <a class="item" rel="external" href="https://www.apache.org/">About the ASF</a>
+ <a class="item" rel="external" href="https://www.apache.org/events/current-event">Events</a>
+ <a class="item" rel="external" href="https://www.apache.org/foundation/thanks.html">Thanks</a>
+ <a class="item" rel="external" href="https://www.apache.org/foundation/sponsorship.html">Become a Sponsor</a>
+ <a class="item" rel="external" href="https://www.apache.org/security/">Security</a>
+ <a class="item" rel="external" href="https://www.apache.org/licenses/">License</a>
+ </div>
+ </div>
+ </div>
+ </div>
+</footer>
+</body>
+</html>
\ No newline at end of file
diff --git a/content/docs/api/interfaces/selector.cssselector.html b/content/docs/api/interfaces/selector.cssselector.html
new file mode 100644
index 0000000..c740788
--- /dev/null
+++ b/content/docs/api/interfaces/selector.cssselector.html
@@ -0,0 +1,284 @@
+<!DOCTYPE html>
+<html prefix="og: http://ogp.me/ns#">
+<head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
+ <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1">
+ <title>Apache Annotator (incubating)</title>
+ <meta property="og:title" content="Apache Annotator" />
+ <meta property="og:type" content="website" />
+ <meta property="og:url" content="https://annotator.apache.org/" />
+ <meta property="og:image:url" content="https://annotator.apache.org/images/annotator-logo.svg" />
+ <meta property="og:image:alt" content="Apache Annotator (incubating) logo" />
+ <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon.png">
+ <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32.png">
+ <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16.png">
+ <link rel="manifest" href="/site.webmanifest">
+ <link rel="mask-icon" href="/images/safari-pinned-tab.svg" color="#5bbad5">
+ <meta name="msapplication-TileColor" content="#da532c">
+ <meta name="theme-color" content="#ffffff">
+ <link rel="alternate" title="DOAP" href="doap.rdf" type="application/rdf+xml" />
+ <link rel="stylesheet" href="//semantic-ui.com/dist/semantic.min.css" />
+</head>
+<body>
+<div class="ui borderless stackable top attached main menu">
+ <div class="ui container">
+ <a class="item" href="/" style="color: rgba(0,0,0,.87);">
+ <img class="ui small image" src="/images/annotator-logo.svg" alt="Apache Annotator (incubating)" />
+ </a>
+ <div class="right menu">
+ <a class="item" href="/demo/"><span class="ui positive button">Demo!</span></a>
+ <a class="item" rel="external" href="https://www.npmjs.com/package/apache-annotator">NPM</a>
+ <a class="item" rel="external" href="https://github.com/apache?q=annotator#org-repositories">Code</a>
+ <a class="item" rel="external" href="https://github.com/apache/incubator-annotator/issues">Issues</a>
+ <a class="active item" href="/docs/">Docs</a>
+ <a class="item" rel="external" href="https://mail-archives.apache.org/mod_mbox/incubator-annotator-dev/">Mailing List</a>
+ </div>
+ </div>
+</div>
+<div class="ui basic segment container">
+ <link rel="stylesheet" href="../assets/css/main.css">
+ <script async src="../assets/js/search.js" id="search-script"></script>
+ <aside>
+ <style>
+ #tsd-search {
+ position: relative;
+ }
+ #tsd-search input {
+ border: 1px solid grey;
+ border-radius: 2px;
+ padding: 0.2em;
+ }
+ #tsd-search .results {
+ z-index: 1;
+ position: absolute;
+ }
+ </style>
+ <div id="tsd-search" data-index="../assets/js/search.json" data-base="..">
+ <div>
+ <label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
+ <input id="tsd-search-field" type="text" />
+ </div>
+ <ul class="results">
+ <li class="state loading">Preparing search index...</li>
+ <li class="state failure">The search index is not available</li>
+ </ul>
+ </div>
+ </aside>
+ <header style="margin: 2em 0;" id="typedoc-title">
+ <style>
+ #typedoc-title h1 {
+ margin-top: 0;
+ }
+ </style>
+ <ul class="tsd-breadcrumb">
+ <li>
+ <a href="../index.html">apache-annotator</a>
+ </li>
+ <li>
+ <a href="../modules/selector.html">selector</a>
+ </li>
+ <li>
+ <a href="selector.cssselector.html">CssSelector</a>
+ </li>
+ </ul>
+ <h1>Interface CssSelector</h1>
+ </header>
+ <main>
+ <div class="row">
+ <div class="col-8 col-content">
+ <section class="tsd-panel tsd-comment">
+ <div class="tsd-comment tsd-typography">
+ <div class="lead">
+ <p>The <a href="https://www.w3.org/TR/2017/REC-annotation-model-20170223/#css-selector" class="external">CssSelector</a> of the Web Annotation Data Model.</p>
+ </div>
+ <p>Corresponds to RDF class <a href="http://www.w3.org/ns/oa#CssSelector" class="external">http://www.w3.org/ns/oa#CssSelector</a></p>
+ </div>
+ </section>
+ <section class="tsd-panel tsd-hierarchy">
+ <h3>Hierarchy</h3>
+ <ul class="tsd-hierarchy">
+ <li>
+ <a href="selector.selector-1.html" class="tsd-signature-type" data-tsd-kind="Interface">Selector</a>
+ <ul class="tsd-hierarchy">
+ <li>
+ <span class="target">CssSelector</span>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ </section>
+ <section class="tsd-panel-group tsd-index-group">
+ <h2>Index</h2>
+ <section class="tsd-panel tsd-index-panel">
+ <div class="tsd-index-content">
+ <section class="tsd-index-section ">
+ <h3>Properties</h3>
+ <ul class="tsd-index-list">
+ <li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited"><a href="selector.cssselector.html#refinedby" class="tsd-kind-icon">refined<wbr>By</a></li>
+ <li class="tsd-kind-property tsd-parent-kind-interface"><a href="selector.cssselector.html#type" class="tsd-kind-icon">type</a></li>
+ <li class="tsd-kind-property tsd-parent-kind-interface"><a href="selector.cssselector.html#value" class="tsd-kind-icon">value</a></li>
+ </ul>
+ </section>
+ </div>
+ </section>
+ </section>
+ <section class="tsd-panel-group tsd-member-group ">
+ <h2>Properties</h2>
+ <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
+ <a name="refinedby" class="tsd-anchor"></a>
+ <h3><span class="tsd-flag ts-flagOptional">Optional</span> refined<wbr>By</h3>
+ <div class="tsd-signature tsd-kind-icon">refined<wbr>By<span class="tsd-signature-symbol">:</span> <a href="selector.selector-1.html" class="tsd-signature-type" data-tsd-kind="Interface">Selector</a></div>
+ <aside class="tsd-sources">
+ <p>Inherited from <a href="selector.selector-1.html">Selector</a>.<a href="selector.selector-1.html#refinedby">refinedBy</a></p>
+ </aside>
+ <div class="tsd-comment tsd-typography">
+ <div class="lead">
+ <p>A Selector can be refined by another Selector.</p>
+ </div>
+ <p>See <a href="https://www.w3.org/TR/2017/REC-annotation-model-20170223/#refinement-of-selection" class="external">§4.2.9 Refinement of Selection</a> in the Web Annotation Data Model.</p>
+ <p>Corresponds to RDF property <a href="http://www.w3.org/ns/oa#refinedBy" class="external">http://www.w3.org/ns/oa#refinedBy</a></p>
+ </div>
+ </section>
+ <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
+ <a name="type" class="tsd-anchor"></a>
+ <h3>type</h3>
+ <div class="tsd-signature tsd-kind-icon">type<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"CssSelector"</span></div>
+ <aside class="tsd-sources">
+ </aside>
+ </section>
+ <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
+ <a name="value" class="tsd-anchor"></a>
+ <h3>value</h3>
+ <div class="tsd-signature tsd-kind-icon">value<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
+ <aside class="tsd-sources">
+ </aside>
+ </section>
+ </section>
+ </div>
+ <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
+ <nav class="tsd-navigation primary">
+ <ul>
+ <li class=" ">
+ <a href="../index.html">Exports</a>
+ </li>
+ <li class=" tsd-kind-module">
+ <a href="../modules/dom.html">dom</a>
+ </li>
+ <li class="current tsd-kind-module">
+ <a href="../modules/selector.html">selector</a>
+ </li>
+ </ul>
+ </nav>
+ <nav class="tsd-navigation secondary menu-sticky">
+ <ul class="before-current">
+ <li class=" tsd-kind-interface tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="selector.chunk.html" class="tsd-kind-icon">Chunk</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="selector.chunkrange.html" class="tsd-kind-icon">Chunk<wbr>Range</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="selector.chunker.html" class="tsd-kind-icon">Chunker</a>
+ </li>
+ </ul>
+ <ul class="current">
+ <li class="current tsd-kind-interface tsd-parent-kind-module">
+ <a href="selector.cssselector.html" class="tsd-kind-icon">Css<wbr>Selector</a>
+ <ul>
+ <li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
+ <a href="selector.cssselector.html#refinedby" class="tsd-kind-icon">refined<wbr>By</a>
+ </li>
+ <li class=" tsd-kind-property tsd-parent-kind-interface">
+ <a href="selector.cssselector.html#type" class="tsd-kind-icon">type</a>
+ </li>
+ <li class=" tsd-kind-property tsd-parent-kind-interface">
+ <a href="selector.cssselector.html#value" class="tsd-kind-icon">value</a>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ <ul class="after-current">
+ <li class=" tsd-kind-interface tsd-parent-kind-module">
+ <a href="selector.describetextquoteoptions.html" class="tsd-kind-icon">Describe<wbr>Text<wbr>Quote<wbr>Options</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="selector.matcher.html" class="tsd-kind-icon">Matcher</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module">
+ <a href="selector.rangeselector.html" class="tsd-kind-icon">Range<wbr>Selector</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module">
+ <a href="selector.selector-1.html" class="tsd-kind-icon">Selector</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module">
+ <a href="selector.textpositionselector.html" class="tsd-kind-icon">Text<wbr>Position<wbr>Selector</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module">
+ <a href="selector.textquoteselector.html" class="tsd-kind-icon">Text<wbr>Quote<wbr>Selector</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module">
+ <a href="../modules/selector.html#chunkequals" class="tsd-kind-icon">chunk<wbr>Equals</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module">
+ <a href="../modules/selector.html#chunkrangeequals" class="tsd-kind-icon">chunk<wbr>Range<wbr>Equals</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="../modules/selector.html#describetextposition" class="tsd-kind-icon">describe<wbr>Text<wbr>Position</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="../modules/selector.html#describetextquote" class="tsd-kind-icon">describe<wbr>Text<wbr>Quote</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="../modules/selector.html#makerefinable" class="tsd-kind-icon">make<wbr>Refinable</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module">
+ <a href="../modules/selector.html#textpositionselectormatcher" class="tsd-kind-icon">text<wbr>Position<wbr>Selector<wbr>Matcher</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module">
+ <a href="../modules/selector.html#textquoteselectormatcher" class="tsd-kind-icon">text<wbr>Quote<wbr>Selector<wbr>Matcher</a>
+ </li>
+ </ul>
+ </nav>
+ </div>
+ </div>
+ </main>
+ <script src="../assets/js/main.js"></script>
+</div>
+<footer class="ui bottom attached segment">
+ <div class="ui container">
+ <div class="ui equal height divided stackable grid">
+ <div class="four wide column">
+ <a class="ui left floated medium image" href="https://apache.org/" target="_blank">
+ <img src="https://incubator.apache.org/images/incubator_feather_egg_logo_sm.png" alt="logo of the Apache Incubator" />
+ </a>
+ <p>
+ <em>Copyright © 2016-2018 The Apache Software Foundation, Licensed under
+ the <a href="https://www.apache.org/licenses/LICENSE-2.0" rel="license external">Apache License, Version 2.0</a>.
+ |
+ <a rel="external" href="https://www.apache.org/foundation/policies/privacy">Privacy Policy</a>
+ </em>
+ </p>
+ </div>
+ <div class="nine wide column">
+ <p>
+ <em>Apache Annotator is an effort undergoing incubation at <a target="_blank" href="https://apache.org/">The Apache Software Foundation (ASF)</a> sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completen [...]
+ <p><em>Apache®, the names of Apache projects, and the feather logo are either <a rel="external" href="https://www.apache.org/foundation/marks/list/">registered trademarks or trademarks</a> of the Apache Software Foundation in the United States and/or other countries.</em></p>
+ </div>
+ <div class="three wide column">
+ <h4 class="header">The <abbr title="Apache Software Foundation">ASF</abbr></h4>
+ <div class="ui link list">
+ <a class="item" rel="external" href="https://incubator.apache.org/">Apache Incubator</a>
+ <a class="item" rel="external" href="https://www.apache.org/">About the ASF</a>
+ <a class="item" rel="external" href="https://www.apache.org/events/current-event">Events</a>
+ <a class="item" rel="external" href="https://www.apache.org/foundation/thanks.html">Thanks</a>
+ <a class="item" rel="external" href="https://www.apache.org/foundation/sponsorship.html">Become a Sponsor</a>
+ <a class="item" rel="external" href="https://www.apache.org/security/">Security</a>
+ <a class="item" rel="external" href="https://www.apache.org/licenses/">License</a>
+ </div>
+ </div>
+ </div>
+ </div>
+</footer>
+</body>
+</html>
\ No newline at end of file
diff --git a/content/docs/api/interfaces/selector.describetextquoteoptions.html b/content/docs/api/interfaces/selector.describetextquoteoptions.html
new file mode 100644
index 0000000..a9ed51f
--- /dev/null
+++ b/content/docs/api/interfaces/selector.describetextquoteoptions.html
@@ -0,0 +1,281 @@
+<!DOCTYPE html>
+<html prefix="og: http://ogp.me/ns#">
+<head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
+ <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1">
+ <title>Apache Annotator (incubating)</title>
+ <meta property="og:title" content="Apache Annotator" />
+ <meta property="og:type" content="website" />
+ <meta property="og:url" content="https://annotator.apache.org/" />
+ <meta property="og:image:url" content="https://annotator.apache.org/images/annotator-logo.svg" />
+ <meta property="og:image:alt" content="Apache Annotator (incubating) logo" />
+ <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon.png">
+ <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32.png">
+ <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16.png">
+ <link rel="manifest" href="/site.webmanifest">
+ <link rel="mask-icon" href="/images/safari-pinned-tab.svg" color="#5bbad5">
+ <meta name="msapplication-TileColor" content="#da532c">
+ <meta name="theme-color" content="#ffffff">
+ <link rel="alternate" title="DOAP" href="doap.rdf" type="application/rdf+xml" />
+ <link rel="stylesheet" href="//semantic-ui.com/dist/semantic.min.css" />
+</head>
+<body>
+<div class="ui borderless stackable top attached main menu">
+ <div class="ui container">
+ <a class="item" href="/" style="color: rgba(0,0,0,.87);">
+ <img class="ui small image" src="/images/annotator-logo.svg" alt="Apache Annotator (incubating)" />
+ </a>
+ <div class="right menu">
+ <a class="item" href="/demo/"><span class="ui positive button">Demo!</span></a>
+ <a class="item" rel="external" href="https://www.npmjs.com/package/apache-annotator">NPM</a>
+ <a class="item" rel="external" href="https://github.com/apache?q=annotator#org-repositories">Code</a>
+ <a class="item" rel="external" href="https://github.com/apache/incubator-annotator/issues">Issues</a>
+ <a class="active item" href="/docs/">Docs</a>
+ <a class="item" rel="external" href="https://mail-archives.apache.org/mod_mbox/incubator-annotator-dev/">Mailing List</a>
+ </div>
+ </div>
+</div>
+<div class="ui basic segment container">
+ <link rel="stylesheet" href="../assets/css/main.css">
+ <script async src="../assets/js/search.js" id="search-script"></script>
+ <aside>
+ <style>
+ #tsd-search {
+ position: relative;
+ }
+ #tsd-search input {
+ border: 1px solid grey;
+ border-radius: 2px;
+ padding: 0.2em;
+ }
+ #tsd-search .results {
+ z-index: 1;
+ position: absolute;
+ }
+ </style>
+ <div id="tsd-search" data-index="../assets/js/search.json" data-base="..">
+ <div>
+ <label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
+ <input id="tsd-search-field" type="text" />
+ </div>
+ <ul class="results">
+ <li class="state loading">Preparing search index...</li>
+ <li class="state failure">The search index is not available</li>
+ </ul>
+ </div>
+ </aside>
+ <header style="margin: 2em 0;" id="typedoc-title">
+ <style>
+ #typedoc-title h1 {
+ margin-top: 0;
+ }
+ </style>
+ <ul class="tsd-breadcrumb">
+ <li>
+ <a href="../index.html">apache-annotator</a>
+ </li>
+ <li>
+ <a href="../modules/selector.html">selector</a>
+ </li>
+ <li>
+ <a href="selector.describetextquoteoptions.html">DescribeTextQuoteOptions</a>
+ </li>
+ </ul>
+ <h1>Interface DescribeTextQuoteOptions</h1>
+ </header>
+ <main>
+ <div class="row">
+ <div class="col-8 col-content">
+ <section class="tsd-panel tsd-hierarchy">
+ <h3>Hierarchy</h3>
+ <ul class="tsd-hierarchy">
+ <li>
+ <span class="target">DescribeTextQuoteOptions</span>
+ </li>
+ </ul>
+ </section>
+ <section class="tsd-panel-group tsd-index-group">
+ <h2>Index</h2>
+ <section class="tsd-panel tsd-index-panel">
+ <div class="tsd-index-content">
+ <section class="tsd-index-section ">
+ <h3>Properties</h3>
+ <ul class="tsd-index-list">
+ <li class="tsd-kind-property tsd-parent-kind-interface"><a href="selector.describetextquoteoptions.html#maxwordlength" class="tsd-kind-icon">max<wbr>Word<wbr>Length</a></li>
+ <li class="tsd-kind-property tsd-parent-kind-interface"><a href="selector.describetextquoteoptions.html#minimalcontext" class="tsd-kind-icon">minimal<wbr>Context</a></li>
+ <li class="tsd-kind-property tsd-parent-kind-interface"><a href="selector.describetextquoteoptions.html#minimumquotelength" class="tsd-kind-icon">minimum<wbr>Quote<wbr>Length</a></li>
+ </ul>
+ </section>
+ </div>
+ </section>
+ </section>
+ <section class="tsd-panel-group tsd-member-group ">
+ <h2>Properties</h2>
+ <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
+ <a name="maxwordlength" class="tsd-anchor"></a>
+ <h3><span class="tsd-flag ts-flagOptional">Optional</span> max<wbr>Word<wbr>Length</h3>
+ <div class="tsd-signature tsd-kind-icon">max<wbr>Word<wbr>Length<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
+ <aside class="tsd-sources">
+ </aside>
+ <div class="tsd-comment tsd-typography">
+ <div class="lead">
+ <p>When attempting to find a whitespace to make the prefix/suffix start/end
+ (resp.) at a word boundary, give up after this number of characters.</p>
+ </div>
+ </div>
+ </section>
+ <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
+ <a name="minimalcontext" class="tsd-anchor"></a>
+ <h3><span class="tsd-flag ts-flagOptional">Optional</span> minimal<wbr>Context</h3>
+ <div class="tsd-signature tsd-kind-icon">minimal<wbr>Context<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
+ <aside class="tsd-sources">
+ </aside>
+ <div class="tsd-comment tsd-typography">
+ <div class="lead">
+ <p>Keep prefix and suffix to the minimum that is necessary to disambiguate
+ the quote. Use only if robustness against text variations is not required.</p>
+ </div>
+ </div>
+ </section>
+ <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
+ <a name="minimumquotelength" class="tsd-anchor"></a>
+ <h3><span class="tsd-flag ts-flagOptional">Optional</span> minimum<wbr>Quote<wbr>Length</h3>
+ <div class="tsd-signature tsd-kind-icon">minimum<wbr>Quote<wbr>Length<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
+ <aside class="tsd-sources">
+ </aside>
+ <div class="tsd-comment tsd-typography">
+ <div class="lead">
+ <p>Add prefix and suffix to quotes below this length, such that the total of
+ <code>prefix + exact + suffix</code> is at least this length.</p>
+ </div>
+ </div>
+ </section>
+ </section>
+ </div>
+ <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
+ <nav class="tsd-navigation primary">
+ <ul>
+ <li class=" ">
+ <a href="../index.html">Exports</a>
+ </li>
+ <li class=" tsd-kind-module">
+ <a href="../modules/dom.html">dom</a>
+ </li>
+ <li class="current tsd-kind-module">
+ <a href="../modules/selector.html">selector</a>
+ </li>
+ </ul>
+ </nav>
+ <nav class="tsd-navigation secondary menu-sticky">
+ <ul class="before-current">
+ <li class=" tsd-kind-interface tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="selector.chunk.html" class="tsd-kind-icon">Chunk</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="selector.chunkrange.html" class="tsd-kind-icon">Chunk<wbr>Range</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="selector.chunker.html" class="tsd-kind-icon">Chunker</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module">
+ <a href="selector.cssselector.html" class="tsd-kind-icon">Css<wbr>Selector</a>
+ </li>
+ </ul>
+ <ul class="current">
+ <li class="current tsd-kind-interface tsd-parent-kind-module">
+ <a href="selector.describetextquoteoptions.html" class="tsd-kind-icon">Describe<wbr>Text<wbr>Quote<wbr>Options</a>
+ <ul>
+ <li class=" tsd-kind-property tsd-parent-kind-interface">
+ <a href="selector.describetextquoteoptions.html#maxwordlength" class="tsd-kind-icon">max<wbr>Word<wbr>Length</a>
+ </li>
+ <li class=" tsd-kind-property tsd-parent-kind-interface">
+ <a href="selector.describetextquoteoptions.html#minimalcontext" class="tsd-kind-icon">minimal<wbr>Context</a>
+ </li>
+ <li class=" tsd-kind-property tsd-parent-kind-interface">
+ <a href="selector.describetextquoteoptions.html#minimumquotelength" class="tsd-kind-icon">minimum<wbr>Quote<wbr>Length</a>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ <ul class="after-current">
+ <li class=" tsd-kind-interface tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="selector.matcher.html" class="tsd-kind-icon">Matcher</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module">
+ <a href="selector.rangeselector.html" class="tsd-kind-icon">Range<wbr>Selector</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module">
+ <a href="selector.selector-1.html" class="tsd-kind-icon">Selector</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module">
+ <a href="selector.textpositionselector.html" class="tsd-kind-icon">Text<wbr>Position<wbr>Selector</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module">
+ <a href="selector.textquoteselector.html" class="tsd-kind-icon">Text<wbr>Quote<wbr>Selector</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module">
+ <a href="../modules/selector.html#chunkequals" class="tsd-kind-icon">chunk<wbr>Equals</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module">
+ <a href="../modules/selector.html#chunkrangeequals" class="tsd-kind-icon">chunk<wbr>Range<wbr>Equals</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="../modules/selector.html#describetextposition" class="tsd-kind-icon">describe<wbr>Text<wbr>Position</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="../modules/selector.html#describetextquote" class="tsd-kind-icon">describe<wbr>Text<wbr>Quote</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="../modules/selector.html#makerefinable" class="tsd-kind-icon">make<wbr>Refinable</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module">
+ <a href="../modules/selector.html#textpositionselectormatcher" class="tsd-kind-icon">text<wbr>Position<wbr>Selector<wbr>Matcher</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module">
+ <a href="../modules/selector.html#textquoteselectormatcher" class="tsd-kind-icon">text<wbr>Quote<wbr>Selector<wbr>Matcher</a>
+ </li>
+ </ul>
+ </nav>
+ </div>
+ </div>
+ </main>
+ <script src="../assets/js/main.js"></script>
+</div>
+<footer class="ui bottom attached segment">
+ <div class="ui container">
+ <div class="ui equal height divided stackable grid">
+ <div class="four wide column">
+ <a class="ui left floated medium image" href="https://apache.org/" target="_blank">
+ <img src="https://incubator.apache.org/images/incubator_feather_egg_logo_sm.png" alt="logo of the Apache Incubator" />
+ </a>
+ <p>
+ <em>Copyright © 2016-2018 The Apache Software Foundation, Licensed under
+ the <a href="https://www.apache.org/licenses/LICENSE-2.0" rel="license external">Apache License, Version 2.0</a>.
+ |
+ <a rel="external" href="https://www.apache.org/foundation/policies/privacy">Privacy Policy</a>
+ </em>
+ </p>
+ </div>
+ <div class="nine wide column">
+ <p>
+ <em>Apache Annotator is an effort undergoing incubation at <a target="_blank" href="https://apache.org/">The Apache Software Foundation (ASF)</a> sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completen [...]
+ <p><em>Apache®, the names of Apache projects, and the feather logo are either <a rel="external" href="https://www.apache.org/foundation/marks/list/">registered trademarks or trademarks</a> of the Apache Software Foundation in the United States and/or other countries.</em></p>
+ </div>
+ <div class="three wide column">
+ <h4 class="header">The <abbr title="Apache Software Foundation">ASF</abbr></h4>
+ <div class="ui link list">
+ <a class="item" rel="external" href="https://incubator.apache.org/">Apache Incubator</a>
+ <a class="item" rel="external" href="https://www.apache.org/">About the ASF</a>
+ <a class="item" rel="external" href="https://www.apache.org/events/current-event">Events</a>
+ <a class="item" rel="external" href="https://www.apache.org/foundation/thanks.html">Thanks</a>
+ <a class="item" rel="external" href="https://www.apache.org/foundation/sponsorship.html">Become a Sponsor</a>
+ <a class="item" rel="external" href="https://www.apache.org/security/">Security</a>
+ <a class="item" rel="external" href="https://www.apache.org/licenses/">License</a>
+ </div>
+ </div>
+ </div>
+ </div>
+</footer>
+</body>
+</html>
\ No newline at end of file
diff --git a/content/docs/api/interfaces/selector.matcher.html b/content/docs/api/interfaces/selector.matcher.html
new file mode 100644
index 0000000..9d244c8
--- /dev/null
+++ b/content/docs/api/interfaces/selector.matcher.html
@@ -0,0 +1,257 @@
+<!DOCTYPE html>
+<html prefix="og: http://ogp.me/ns#">
+<head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
+ <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1">
+ <title>Apache Annotator (incubating)</title>
+ <meta property="og:title" content="Apache Annotator" />
+ <meta property="og:type" content="website" />
+ <meta property="og:url" content="https://annotator.apache.org/" />
+ <meta property="og:image:url" content="https://annotator.apache.org/images/annotator-logo.svg" />
+ <meta property="og:image:alt" content="Apache Annotator (incubating) logo" />
+ <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon.png">
+ <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32.png">
+ <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16.png">
+ <link rel="manifest" href="/site.webmanifest">
+ <link rel="mask-icon" href="/images/safari-pinned-tab.svg" color="#5bbad5">
+ <meta name="msapplication-TileColor" content="#da532c">
+ <meta name="theme-color" content="#ffffff">
+ <link rel="alternate" title="DOAP" href="doap.rdf" type="application/rdf+xml" />
+ <link rel="stylesheet" href="//semantic-ui.com/dist/semantic.min.css" />
+</head>
+<body>
+<div class="ui borderless stackable top attached main menu">
+ <div class="ui container">
+ <a class="item" href="/" style="color: rgba(0,0,0,.87);">
+ <img class="ui small image" src="/images/annotator-logo.svg" alt="Apache Annotator (incubating)" />
+ </a>
+ <div class="right menu">
+ <a class="item" href="/demo/"><span class="ui positive button">Demo!</span></a>
+ <a class="item" rel="external" href="https://www.npmjs.com/package/apache-annotator">NPM</a>
+ <a class="item" rel="external" href="https://github.com/apache?q=annotator#org-repositories">Code</a>
+ <a class="item" rel="external" href="https://github.com/apache/incubator-annotator/issues">Issues</a>
+ <a class="active item" href="/docs/">Docs</a>
+ <a class="item" rel="external" href="https://mail-archives.apache.org/mod_mbox/incubator-annotator-dev/">Mailing List</a>
+ </div>
+ </div>
+</div>
+<div class="ui basic segment container">
+ <link rel="stylesheet" href="../assets/css/main.css">
+ <script async src="../assets/js/search.js" id="search-script"></script>
+ <aside>
+ <style>
+ #tsd-search {
+ position: relative;
+ }
+ #tsd-search input {
+ border: 1px solid grey;
+ border-radius: 2px;
+ padding: 0.2em;
+ }
+ #tsd-search .results {
+ z-index: 1;
+ position: absolute;
+ }
+ </style>
+ <div id="tsd-search" data-index="../assets/js/search.json" data-base="..">
+ <div>
+ <label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
+ <input id="tsd-search-field" type="text" />
+ </div>
+ <ul class="results">
+ <li class="state loading">Preparing search index...</li>
+ <li class="state failure">The search index is not available</li>
+ </ul>
+ </div>
+ </aside>
+ <header style="margin: 2em 0;" id="typedoc-title">
+ <style>
+ #typedoc-title h1 {
+ margin-top: 0;
+ }
+ </style>
+ <ul class="tsd-breadcrumb">
+ <li>
+ <a href="../index.html">apache-annotator</a>
+ </li>
+ <li>
+ <a href="../modules/selector.html">selector</a>
+ </li>
+ <li>
+ <a href="selector.matcher.html">Matcher</a>
+ </li>
+ </ul>
+ <h1>Interface Matcher<TScope, TMatch></h1>
+ </header>
+ <main>
+ <div class="row">
+ <div class="col-8 col-content">
+ <section class="tsd-panel tsd-comment">
+ <div class="tsd-comment tsd-typography">
+ <div class="lead">
+ <p>A function that finds the match(es) in the given (sub)document (the ‘scope’)
+ corresponding to some (prespecified) selector(s).</p>
+ </div>
+ </div>
+ </section>
+ <section class="tsd-panel tsd-type-parameters">
+ <h3>Type parameters</h3>
+ <ul class="tsd-type-parameters">
+ <li>
+ <h4>TScope</h4>
+ </li>
+ <li>
+ <h4>TMatch</h4>
+ </li>
+ </ul>
+ </section>
+ <section class="tsd-panel tsd-hierarchy">
+ <h3>Hierarchy</h3>
+ <ul class="tsd-hierarchy">
+ <li>
+ <span class="target">Matcher</span>
+ </li>
+ </ul>
+ </section>
+ <section class="tsd-panel">
+ <h3 class="tsd-before-signature">Callable</h3>
+ <ul class="tsd-signatures tsd-kind-interface tsd-parent-kind-module tsd-has-type-parameter">
+ <li class="tsd-signature tsd-kind-icon">Matcher<span class="tsd-signature-symbol">(</span>scope<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">TScope</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">AsyncGenerator</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">TMatch</span><span class="tsd-signature-symbol">, </span><span class="tsd-signatu [...]
+ </ul>
+ <ul class="tsd-descriptions">
+ <li class="tsd-description">
+ <aside class="tsd-sources">
+ </aside>
+ <div class="tsd-comment tsd-typography">
+ <div class="lead">
+ <p>A function that finds the match(es) in the given (sub)document (the ‘scope’)
+ corresponding to some (prespecified) selector(s).</p>
+ </div>
+ </div>
+ <h4 class="tsd-parameters-title">Parameters</h4>
+ <ul class="tsd-parameters">
+ <li>
+ <h5>scope: <span class="tsd-signature-type">TScope</span></h5>
+ </li>
+ </ul>
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">AsyncGenerator</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">TMatch</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4>
+ </li>
+ </ul>
+ </section>
+ </div>
+ <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
+ <nav class="tsd-navigation primary">
+ <ul>
+ <li class=" ">
+ <a href="../index.html">Exports</a>
+ </li>
+ <li class=" tsd-kind-module">
+ <a href="../modules/dom.html">dom</a>
+ </li>
+ <li class="current tsd-kind-module">
+ <a href="../modules/selector.html">selector</a>
+ </li>
+ </ul>
+ </nav>
+ <nav class="tsd-navigation secondary menu-sticky">
+ <ul class="before-current">
+ <li class=" tsd-kind-interface tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="selector.chunk.html" class="tsd-kind-icon">Chunk</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="selector.chunkrange.html" class="tsd-kind-icon">Chunk<wbr>Range</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="selector.chunker.html" class="tsd-kind-icon">Chunker</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module">
+ <a href="selector.cssselector.html" class="tsd-kind-icon">Css<wbr>Selector</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module">
+ <a href="selector.describetextquoteoptions.html" class="tsd-kind-icon">Describe<wbr>Text<wbr>Quote<wbr>Options</a>
+ </li>
+ </ul>
+ <ul class="current">
+ <li class="current tsd-kind-interface tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="selector.matcher.html" class="tsd-kind-icon">Matcher</a>
+ </li>
+ </ul>
+ <ul class="after-current">
+ <li class=" tsd-kind-interface tsd-parent-kind-module">
+ <a href="selector.rangeselector.html" class="tsd-kind-icon">Range<wbr>Selector</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module">
+ <a href="selector.selector-1.html" class="tsd-kind-icon">Selector</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module">
+ <a href="selector.textpositionselector.html" class="tsd-kind-icon">Text<wbr>Position<wbr>Selector</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module">
+ <a href="selector.textquoteselector.html" class="tsd-kind-icon">Text<wbr>Quote<wbr>Selector</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module">
+ <a href="../modules/selector.html#chunkequals" class="tsd-kind-icon">chunk<wbr>Equals</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module">
+ <a href="../modules/selector.html#chunkrangeequals" class="tsd-kind-icon">chunk<wbr>Range<wbr>Equals</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="../modules/selector.html#describetextposition" class="tsd-kind-icon">describe<wbr>Text<wbr>Position</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="../modules/selector.html#describetextquote" class="tsd-kind-icon">describe<wbr>Text<wbr>Quote</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="../modules/selector.html#makerefinable" class="tsd-kind-icon">make<wbr>Refinable</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module">
+ <a href="../modules/selector.html#textpositionselectormatcher" class="tsd-kind-icon">text<wbr>Position<wbr>Selector<wbr>Matcher</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module">
+ <a href="../modules/selector.html#textquoteselectormatcher" class="tsd-kind-icon">text<wbr>Quote<wbr>Selector<wbr>Matcher</a>
+ </li>
+ </ul>
+ </nav>
+ </div>
+ </div>
+ </main>
+ <script src="../assets/js/main.js"></script>
+</div>
+<footer class="ui bottom attached segment">
+ <div class="ui container">
+ <div class="ui equal height divided stackable grid">
+ <div class="four wide column">
+ <a class="ui left floated medium image" href="https://apache.org/" target="_blank">
+ <img src="https://incubator.apache.org/images/incubator_feather_egg_logo_sm.png" alt="logo of the Apache Incubator" />
+ </a>
+ <p>
+ <em>Copyright © 2016-2018 The Apache Software Foundation, Licensed under
+ the <a href="https://www.apache.org/licenses/LICENSE-2.0" rel="license external">Apache License, Version 2.0</a>.
+ |
+ <a rel="external" href="https://www.apache.org/foundation/policies/privacy">Privacy Policy</a>
+ </em>
+ </p>
+ </div>
+ <div class="nine wide column">
+ <p>
+ <em>Apache Annotator is an effort undergoing incubation at <a target="_blank" href="https://apache.org/">The Apache Software Foundation (ASF)</a> sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completen [...]
+ <p><em>Apache®, the names of Apache projects, and the feather logo are either <a rel="external" href="https://www.apache.org/foundation/marks/list/">registered trademarks or trademarks</a> of the Apache Software Foundation in the United States and/or other countries.</em></p>
+ </div>
+ <div class="three wide column">
+ <h4 class="header">The <abbr title="Apache Software Foundation">ASF</abbr></h4>
+ <div class="ui link list">
+ <a class="item" rel="external" href="https://incubator.apache.org/">Apache Incubator</a>
+ <a class="item" rel="external" href="https://www.apache.org/">About the ASF</a>
+ <a class="item" rel="external" href="https://www.apache.org/events/current-event">Events</a>
+ <a class="item" rel="external" href="https://www.apache.org/foundation/thanks.html">Thanks</a>
+ <a class="item" rel="external" href="https://www.apache.org/foundation/sponsorship.html">Become a Sponsor</a>
+ <a class="item" rel="external" href="https://www.apache.org/security/">Security</a>
+ <a class="item" rel="external" href="https://www.apache.org/licenses/">License</a>
+ </div>
+ </div>
+ </div>
+ </div>
+</footer>
+</body>
+</html>
\ No newline at end of file
diff --git a/content/docs/api/interfaces/selector.rangeselector.html b/content/docs/api/interfaces/selector.rangeselector.html
new file mode 100644
index 0000000..7d57bbb
--- /dev/null
+++ b/content/docs/api/interfaces/selector.rangeselector.html
@@ -0,0 +1,295 @@
+<!DOCTYPE html>
+<html prefix="og: http://ogp.me/ns#">
+<head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
+ <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1">
+ <title>Apache Annotator (incubating)</title>
+ <meta property="og:title" content="Apache Annotator" />
+ <meta property="og:type" content="website" />
+ <meta property="og:url" content="https://annotator.apache.org/" />
+ <meta property="og:image:url" content="https://annotator.apache.org/images/annotator-logo.svg" />
+ <meta property="og:image:alt" content="Apache Annotator (incubating) logo" />
+ <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon.png">
+ <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32.png">
+ <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16.png">
+ <link rel="manifest" href="/site.webmanifest">
+ <link rel="mask-icon" href="/images/safari-pinned-tab.svg" color="#5bbad5">
+ <meta name="msapplication-TileColor" content="#da532c">
+ <meta name="theme-color" content="#ffffff">
+ <link rel="alternate" title="DOAP" href="doap.rdf" type="application/rdf+xml" />
+ <link rel="stylesheet" href="//semantic-ui.com/dist/semantic.min.css" />
+</head>
+<body>
+<div class="ui borderless stackable top attached main menu">
+ <div class="ui container">
+ <a class="item" href="/" style="color: rgba(0,0,0,.87);">
+ <img class="ui small image" src="/images/annotator-logo.svg" alt="Apache Annotator (incubating)" />
+ </a>
+ <div class="right menu">
+ <a class="item" href="/demo/"><span class="ui positive button">Demo!</span></a>
+ <a class="item" rel="external" href="https://www.npmjs.com/package/apache-annotator">NPM</a>
+ <a class="item" rel="external" href="https://github.com/apache?q=annotator#org-repositories">Code</a>
+ <a class="item" rel="external" href="https://github.com/apache/incubator-annotator/issues">Issues</a>
+ <a class="active item" href="/docs/">Docs</a>
+ <a class="item" rel="external" href="https://mail-archives.apache.org/mod_mbox/incubator-annotator-dev/">Mailing List</a>
+ </div>
+ </div>
+</div>
+<div class="ui basic segment container">
+ <link rel="stylesheet" href="../assets/css/main.css">
+ <script async src="../assets/js/search.js" id="search-script"></script>
+ <aside>
+ <style>
+ #tsd-search {
+ position: relative;
+ }
+ #tsd-search input {
+ border: 1px solid grey;
+ border-radius: 2px;
+ padding: 0.2em;
+ }
+ #tsd-search .results {
+ z-index: 1;
+ position: absolute;
+ }
+ </style>
+ <div id="tsd-search" data-index="../assets/js/search.json" data-base="..">
+ <div>
+ <label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
+ <input id="tsd-search-field" type="text" />
+ </div>
+ <ul class="results">
+ <li class="state loading">Preparing search index...</li>
+ <li class="state failure">The search index is not available</li>
+ </ul>
+ </div>
+ </aside>
+ <header style="margin: 2em 0;" id="typedoc-title">
+ <style>
+ #typedoc-title h1 {
+ margin-top: 0;
+ }
+ </style>
+ <ul class="tsd-breadcrumb">
+ <li>
+ <a href="../index.html">apache-annotator</a>
+ </li>
+ <li>
+ <a href="../modules/selector.html">selector</a>
+ </li>
+ <li>
+ <a href="selector.rangeselector.html">RangeSelector</a>
+ </li>
+ </ul>
+ <h1>Interface RangeSelector</h1>
+ </header>
+ <main>
+ <div class="row">
+ <div class="col-8 col-content">
+ <section class="tsd-panel tsd-comment">
+ <div class="tsd-comment tsd-typography">
+ <div class="lead">
+ <p>The <a href="https://www.w3.org/TR/2017/REC-annotation-model-20170223/#range-selector" class="external">RangeSelector</a> of the Web Annotation Data Model.</p>
+ </div>
+ <p>Corresponds to RDF class <a href="http://www.w3.org/ns/oa#RangeSelector" class="external">http://www.w3.org/ns/oa#RangeSelector</a></p>
+ </div>
+ </section>
+ <section class="tsd-panel tsd-hierarchy">
+ <h3>Hierarchy</h3>
+ <ul class="tsd-hierarchy">
+ <li>
+ <a href="selector.selector-1.html" class="tsd-signature-type" data-tsd-kind="Interface">Selector</a>
+ <ul class="tsd-hierarchy">
+ <li>
+ <span class="target">RangeSelector</span>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ </section>
+ <section class="tsd-panel-group tsd-index-group">
+ <h2>Index</h2>
+ <section class="tsd-panel tsd-index-panel">
+ <div class="tsd-index-content">
+ <section class="tsd-index-section ">
+ <h3>Properties</h3>
+ <ul class="tsd-index-list">
+ <li class="tsd-kind-property tsd-parent-kind-interface"><a href="selector.rangeselector.html#endselector" class="tsd-kind-icon">end<wbr>Selector</a></li>
+ <li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited"><a href="selector.rangeselector.html#refinedby" class="tsd-kind-icon">refined<wbr>By</a></li>
+ <li class="tsd-kind-property tsd-parent-kind-interface"><a href="selector.rangeselector.html#startselector" class="tsd-kind-icon">start<wbr>Selector</a></li>
+ <li class="tsd-kind-property tsd-parent-kind-interface"><a href="selector.rangeselector.html#type" class="tsd-kind-icon">type</a></li>
+ </ul>
+ </section>
+ </div>
+ </section>
+ </section>
+ <section class="tsd-panel-group tsd-member-group ">
+ <h2>Properties</h2>
+ <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
+ <a name="endselector" class="tsd-anchor"></a>
+ <h3>end<wbr>Selector</h3>
+ <div class="tsd-signature tsd-kind-icon">end<wbr>Selector<span class="tsd-signature-symbol">:</span> <a href="selector.selector-1.html" class="tsd-signature-type" data-tsd-kind="Interface">Selector</a></div>
+ <aside class="tsd-sources">
+ </aside>
+ </section>
+ <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
+ <a name="refinedby" class="tsd-anchor"></a>
+ <h3><span class="tsd-flag ts-flagOptional">Optional</span> refined<wbr>By</h3>
+ <div class="tsd-signature tsd-kind-icon">refined<wbr>By<span class="tsd-signature-symbol">:</span> <a href="selector.selector-1.html" class="tsd-signature-type" data-tsd-kind="Interface">Selector</a></div>
+ <aside class="tsd-sources">
+ <p>Inherited from <a href="selector.selector-1.html">Selector</a>.<a href="selector.selector-1.html#refinedby">refinedBy</a></p>
+ </aside>
+ <div class="tsd-comment tsd-typography">
+ <div class="lead">
+ <p>A Selector can be refined by another Selector.</p>
+ </div>
+ <p>See <a href="https://www.w3.org/TR/2017/REC-annotation-model-20170223/#refinement-of-selection" class="external">§4.2.9 Refinement of Selection</a> in the Web Annotation Data Model.</p>
+ <p>Corresponds to RDF property <a href="http://www.w3.org/ns/oa#refinedBy" class="external">http://www.w3.org/ns/oa#refinedBy</a></p>
+ </div>
+ </section>
+ <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
+ <a name="startselector" class="tsd-anchor"></a>
+ <h3>start<wbr>Selector</h3>
+ <div class="tsd-signature tsd-kind-icon">start<wbr>Selector<span class="tsd-signature-symbol">:</span> <a href="selector.selector-1.html" class="tsd-signature-type" data-tsd-kind="Interface">Selector</a></div>
+ <aside class="tsd-sources">
+ </aside>
+ </section>
+ <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
+ <a name="type" class="tsd-anchor"></a>
+ <h3>type</h3>
+ <div class="tsd-signature tsd-kind-icon">type<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"RangeSelector"</span></div>
+ <aside class="tsd-sources">
+ </aside>
+ </section>
+ </section>
+ </div>
+ <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
+ <nav class="tsd-navigation primary">
+ <ul>
+ <li class=" ">
+ <a href="../index.html">Exports</a>
+ </li>
+ <li class=" tsd-kind-module">
+ <a href="../modules/dom.html">dom</a>
+ </li>
+ <li class="current tsd-kind-module">
+ <a href="../modules/selector.html">selector</a>
+ </li>
+ </ul>
+ </nav>
+ <nav class="tsd-navigation secondary menu-sticky">
+ <ul class="before-current">
+ <li class=" tsd-kind-interface tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="selector.chunk.html" class="tsd-kind-icon">Chunk</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="selector.chunkrange.html" class="tsd-kind-icon">Chunk<wbr>Range</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="selector.chunker.html" class="tsd-kind-icon">Chunker</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module">
+ <a href="selector.cssselector.html" class="tsd-kind-icon">Css<wbr>Selector</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module">
+ <a href="selector.describetextquoteoptions.html" class="tsd-kind-icon">Describe<wbr>Text<wbr>Quote<wbr>Options</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="selector.matcher.html" class="tsd-kind-icon">Matcher</a>
+ </li>
+ </ul>
+ <ul class="current">
+ <li class="current tsd-kind-interface tsd-parent-kind-module">
+ <a href="selector.rangeselector.html" class="tsd-kind-icon">Range<wbr>Selector</a>
+ <ul>
+ <li class=" tsd-kind-property tsd-parent-kind-interface">
+ <a href="selector.rangeselector.html#endselector" class="tsd-kind-icon">end<wbr>Selector</a>
+ </li>
+ <li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
+ <a href="selector.rangeselector.html#refinedby" class="tsd-kind-icon">refined<wbr>By</a>
+ </li>
+ <li class=" tsd-kind-property tsd-parent-kind-interface">
+ <a href="selector.rangeselector.html#startselector" class="tsd-kind-icon">start<wbr>Selector</a>
+ </li>
+ <li class=" tsd-kind-property tsd-parent-kind-interface">
+ <a href="selector.rangeselector.html#type" class="tsd-kind-icon">type</a>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ <ul class="after-current">
+ <li class=" tsd-kind-interface tsd-parent-kind-module">
+ <a href="selector.selector-1.html" class="tsd-kind-icon">Selector</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module">
+ <a href="selector.textpositionselector.html" class="tsd-kind-icon">Text<wbr>Position<wbr>Selector</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module">
+ <a href="selector.textquoteselector.html" class="tsd-kind-icon">Text<wbr>Quote<wbr>Selector</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module">
+ <a href="../modules/selector.html#chunkequals" class="tsd-kind-icon">chunk<wbr>Equals</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module">
+ <a href="../modules/selector.html#chunkrangeequals" class="tsd-kind-icon">chunk<wbr>Range<wbr>Equals</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="../modules/selector.html#describetextposition" class="tsd-kind-icon">describe<wbr>Text<wbr>Position</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="../modules/selector.html#describetextquote" class="tsd-kind-icon">describe<wbr>Text<wbr>Quote</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="../modules/selector.html#makerefinable" class="tsd-kind-icon">make<wbr>Refinable</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module">
+ <a href="../modules/selector.html#textpositionselectormatcher" class="tsd-kind-icon">text<wbr>Position<wbr>Selector<wbr>Matcher</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module">
+ <a href="../modules/selector.html#textquoteselectormatcher" class="tsd-kind-icon">text<wbr>Quote<wbr>Selector<wbr>Matcher</a>
+ </li>
+ </ul>
+ </nav>
+ </div>
+ </div>
+ </main>
+ <script src="../assets/js/main.js"></script>
+</div>
+<footer class="ui bottom attached segment">
+ <div class="ui container">
+ <div class="ui equal height divided stackable grid">
+ <div class="four wide column">
+ <a class="ui left floated medium image" href="https://apache.org/" target="_blank">
+ <img src="https://incubator.apache.org/images/incubator_feather_egg_logo_sm.png" alt="logo of the Apache Incubator" />
+ </a>
+ <p>
+ <em>Copyright © 2016-2018 The Apache Software Foundation, Licensed under
+ the <a href="https://www.apache.org/licenses/LICENSE-2.0" rel="license external">Apache License, Version 2.0</a>.
+ |
+ <a rel="external" href="https://www.apache.org/foundation/policies/privacy">Privacy Policy</a>
+ </em>
+ </p>
+ </div>
+ <div class="nine wide column">
+ <p>
+ <em>Apache Annotator is an effort undergoing incubation at <a target="_blank" href="https://apache.org/">The Apache Software Foundation (ASF)</a> sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completen [...]
+ <p><em>Apache®, the names of Apache projects, and the feather logo are either <a rel="external" href="https://www.apache.org/foundation/marks/list/">registered trademarks or trademarks</a> of the Apache Software Foundation in the United States and/or other countries.</em></p>
+ </div>
+ <div class="three wide column">
+ <h4 class="header">The <abbr title="Apache Software Foundation">ASF</abbr></h4>
+ <div class="ui link list">
+ <a class="item" rel="external" href="https://incubator.apache.org/">Apache Incubator</a>
+ <a class="item" rel="external" href="https://www.apache.org/">About the ASF</a>
+ <a class="item" rel="external" href="https://www.apache.org/events/current-event">Events</a>
+ <a class="item" rel="external" href="https://www.apache.org/foundation/thanks.html">Thanks</a>
+ <a class="item" rel="external" href="https://www.apache.org/foundation/sponsorship.html">Become a Sponsor</a>
+ <a class="item" rel="external" href="https://www.apache.org/security/">Security</a>
+ <a class="item" rel="external" href="https://www.apache.org/licenses/">License</a>
+ </div>
+ </div>
+ </div>
+ </div>
+</footer>
+</body>
+</html>
\ No newline at end of file
diff --git a/content/docs/api/interfaces/selector.selector-1.html b/content/docs/api/interfaces/selector.selector-1.html
new file mode 100644
index 0000000..7b747e9
--- /dev/null
+++ b/content/docs/api/interfaces/selector.selector-1.html
@@ -0,0 +1,270 @@
+<!DOCTYPE html>
+<html prefix="og: http://ogp.me/ns#">
+<head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
+ <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1">
+ <title>Apache Annotator (incubating)</title>
+ <meta property="og:title" content="Apache Annotator" />
+ <meta property="og:type" content="website" />
+ <meta property="og:url" content="https://annotator.apache.org/" />
+ <meta property="og:image:url" content="https://annotator.apache.org/images/annotator-logo.svg" />
+ <meta property="og:image:alt" content="Apache Annotator (incubating) logo" />
+ <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon.png">
+ <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32.png">
+ <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16.png">
+ <link rel="manifest" href="/site.webmanifest">
+ <link rel="mask-icon" href="/images/safari-pinned-tab.svg" color="#5bbad5">
+ <meta name="msapplication-TileColor" content="#da532c">
+ <meta name="theme-color" content="#ffffff">
+ <link rel="alternate" title="DOAP" href="doap.rdf" type="application/rdf+xml" />
+ <link rel="stylesheet" href="//semantic-ui.com/dist/semantic.min.css" />
+</head>
+<body>
+<div class="ui borderless stackable top attached main menu">
+ <div class="ui container">
+ <a class="item" href="/" style="color: rgba(0,0,0,.87);">
+ <img class="ui small image" src="/images/annotator-logo.svg" alt="Apache Annotator (incubating)" />
+ </a>
+ <div class="right menu">
+ <a class="item" href="/demo/"><span class="ui positive button">Demo!</span></a>
+ <a class="item" rel="external" href="https://www.npmjs.com/package/apache-annotator">NPM</a>
+ <a class="item" rel="external" href="https://github.com/apache?q=annotator#org-repositories">Code</a>
+ <a class="item" rel="external" href="https://github.com/apache/incubator-annotator/issues">Issues</a>
+ <a class="active item" href="/docs/">Docs</a>
+ <a class="item" rel="external" href="https://mail-archives.apache.org/mod_mbox/incubator-annotator-dev/">Mailing List</a>
+ </div>
+ </div>
+</div>
+<div class="ui basic segment container">
+ <link rel="stylesheet" href="../assets/css/main.css">
+ <script async src="../assets/js/search.js" id="search-script"></script>
+ <aside>
+ <style>
+ #tsd-search {
+ position: relative;
+ }
+ #tsd-search input {
+ border: 1px solid grey;
+ border-radius: 2px;
+ padding: 0.2em;
+ }
+ #tsd-search .results {
+ z-index: 1;
+ position: absolute;
+ }
+ </style>
+ <div id="tsd-search" data-index="../assets/js/search.json" data-base="..">
+ <div>
+ <label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
+ <input id="tsd-search-field" type="text" />
+ </div>
+ <ul class="results">
+ <li class="state loading">Preparing search index...</li>
+ <li class="state failure">The search index is not available</li>
+ </ul>
+ </div>
+ </aside>
+ <header style="margin: 2em 0;" id="typedoc-title">
+ <style>
+ #typedoc-title h1 {
+ margin-top: 0;
+ }
+ </style>
+ <ul class="tsd-breadcrumb">
+ <li>
+ <a href="../index.html">apache-annotator</a>
+ </li>
+ <li>
+ <a href="../modules/selector.html">selector</a>
+ </li>
+ <li>
+ <a href="selector.selector-1.html">Selector</a>
+ </li>
+ </ul>
+ <h1>Interface Selector</h1>
+ </header>
+ <main>
+ <div class="row">
+ <div class="col-8 col-content">
+ <section class="tsd-panel tsd-comment">
+ <div class="tsd-comment tsd-typography">
+ <div class="lead">
+ <p>A <a href="https://www.w3.org/TR/2017/REC-annotation-model-20170223/#selectors" class="external">Selector</a> object of the Web Annotation Data Model.</p>
+ </div>
+ <p>Corresponds to RDF class <a href="http://www.w3.org/ns/oa#Selector" class="external">http://www.w3.org/ns/oa#Selector</a></p>
+ </div>
+ </section>
+ <section class="tsd-panel tsd-hierarchy">
+ <h3>Hierarchy</h3>
+ <ul class="tsd-hierarchy">
+ <li>
+ <span class="target">Selector</span>
+ <ul class="tsd-hierarchy">
+ <li>
+ <a href="selector.cssselector.html" class="tsd-signature-type" data-tsd-kind="Interface">CssSelector</a>
+ </li>
+ <li>
+ <a href="selector.rangeselector.html" class="tsd-signature-type" data-tsd-kind="Interface">RangeSelector</a>
+ </li>
+ <li>
+ <a href="selector.textpositionselector.html" class="tsd-signature-type" data-tsd-kind="Interface">TextPositionSelector</a>
+ </li>
+ <li>
+ <a href="selector.textquoteselector.html" class="tsd-signature-type" data-tsd-kind="Interface">TextQuoteSelector</a>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ </section>
+ <section class="tsd-panel-group tsd-index-group">
+ <h2>Index</h2>
+ <section class="tsd-panel tsd-index-panel">
+ <div class="tsd-index-content">
+ <section class="tsd-index-section ">
+ <h3>Properties</h3>
+ <ul class="tsd-index-list">
+ <li class="tsd-kind-property tsd-parent-kind-interface"><a href="selector.selector-1.html#refinedby" class="tsd-kind-icon">refined<wbr>By</a></li>
+ </ul>
+ </section>
+ </div>
+ </section>
+ </section>
+ <section class="tsd-panel-group tsd-member-group ">
+ <h2>Properties</h2>
+ <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
+ <a name="refinedby" class="tsd-anchor"></a>
+ <h3><span class="tsd-flag ts-flagOptional">Optional</span> refined<wbr>By</h3>
+ <div class="tsd-signature tsd-kind-icon">refined<wbr>By<span class="tsd-signature-symbol">:</span> <a href="selector.selector-1.html" class="tsd-signature-type" data-tsd-kind="Interface">Selector</a></div>
+ <aside class="tsd-sources">
+ </aside>
+ <div class="tsd-comment tsd-typography">
+ <div class="lead">
+ <p>A Selector can be refined by another Selector.</p>
+ </div>
+ <p>See <a href="https://www.w3.org/TR/2017/REC-annotation-model-20170223/#refinement-of-selection" class="external">§4.2.9 Refinement of Selection</a> in the Web Annotation Data Model.</p>
+ <p>Corresponds to RDF property <a href="http://www.w3.org/ns/oa#refinedBy" class="external">http://www.w3.org/ns/oa#refinedBy</a></p>
+ </div>
+ </section>
+ </section>
+ </div>
+ <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
+ <nav class="tsd-navigation primary">
+ <ul>
+ <li class=" ">
+ <a href="../index.html">Exports</a>
+ </li>
+ <li class=" tsd-kind-module">
+ <a href="../modules/dom.html">dom</a>
+ </li>
+ <li class="current tsd-kind-module">
+ <a href="../modules/selector.html">selector</a>
+ </li>
+ </ul>
+ </nav>
+ <nav class="tsd-navigation secondary menu-sticky">
+ <ul class="before-current">
+ <li class=" tsd-kind-interface tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="selector.chunk.html" class="tsd-kind-icon">Chunk</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="selector.chunkrange.html" class="tsd-kind-icon">Chunk<wbr>Range</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="selector.chunker.html" class="tsd-kind-icon">Chunker</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module">
+ <a href="selector.cssselector.html" class="tsd-kind-icon">Css<wbr>Selector</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module">
+ <a href="selector.describetextquoteoptions.html" class="tsd-kind-icon">Describe<wbr>Text<wbr>Quote<wbr>Options</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="selector.matcher.html" class="tsd-kind-icon">Matcher</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module">
+ <a href="selector.rangeselector.html" class="tsd-kind-icon">Range<wbr>Selector</a>
+ </li>
+ </ul>
+ <ul class="current">
+ <li class="current tsd-kind-interface tsd-parent-kind-module">
+ <a href="selector.selector-1.html" class="tsd-kind-icon">Selector</a>
+ <ul>
+ <li class=" tsd-kind-property tsd-parent-kind-interface">
+ <a href="selector.selector-1.html#refinedby" class="tsd-kind-icon">refined<wbr>By</a>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ <ul class="after-current">
+ <li class=" tsd-kind-interface tsd-parent-kind-module">
+ <a href="selector.textpositionselector.html" class="tsd-kind-icon">Text<wbr>Position<wbr>Selector</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module">
+ <a href="selector.textquoteselector.html" class="tsd-kind-icon">Text<wbr>Quote<wbr>Selector</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module">
+ <a href="../modules/selector.html#chunkequals" class="tsd-kind-icon">chunk<wbr>Equals</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module">
+ <a href="../modules/selector.html#chunkrangeequals" class="tsd-kind-icon">chunk<wbr>Range<wbr>Equals</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="../modules/selector.html#describetextposition" class="tsd-kind-icon">describe<wbr>Text<wbr>Position</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="../modules/selector.html#describetextquote" class="tsd-kind-icon">describe<wbr>Text<wbr>Quote</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="../modules/selector.html#makerefinable" class="tsd-kind-icon">make<wbr>Refinable</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module">
+ <a href="../modules/selector.html#textpositionselectormatcher" class="tsd-kind-icon">text<wbr>Position<wbr>Selector<wbr>Matcher</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module">
+ <a href="../modules/selector.html#textquoteselectormatcher" class="tsd-kind-icon">text<wbr>Quote<wbr>Selector<wbr>Matcher</a>
+ </li>
+ </ul>
+ </nav>
+ </div>
+ </div>
+ </main>
+ <script src="../assets/js/main.js"></script>
+</div>
+<footer class="ui bottom attached segment">
+ <div class="ui container">
+ <div class="ui equal height divided stackable grid">
+ <div class="four wide column">
+ <a class="ui left floated medium image" href="https://apache.org/" target="_blank">
+ <img src="https://incubator.apache.org/images/incubator_feather_egg_logo_sm.png" alt="logo of the Apache Incubator" />
+ </a>
+ <p>
+ <em>Copyright © 2016-2018 The Apache Software Foundation, Licensed under
+ the <a href="https://www.apache.org/licenses/LICENSE-2.0" rel="license external">Apache License, Version 2.0</a>.
+ |
+ <a rel="external" href="https://www.apache.org/foundation/policies/privacy">Privacy Policy</a>
+ </em>
+ </p>
+ </div>
+ <div class="nine wide column">
+ <p>
+ <em>Apache Annotator is an effort undergoing incubation at <a target="_blank" href="https://apache.org/">The Apache Software Foundation (ASF)</a> sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completen [...]
+ <p><em>Apache®, the names of Apache projects, and the feather logo are either <a rel="external" href="https://www.apache.org/foundation/marks/list/">registered trademarks or trademarks</a> of the Apache Software Foundation in the United States and/or other countries.</em></p>
+ </div>
+ <div class="three wide column">
+ <h4 class="header">The <abbr title="Apache Software Foundation">ASF</abbr></h4>
+ <div class="ui link list">
+ <a class="item" rel="external" href="https://incubator.apache.org/">Apache Incubator</a>
+ <a class="item" rel="external" href="https://www.apache.org/">About the ASF</a>
+ <a class="item" rel="external" href="https://www.apache.org/events/current-event">Events</a>
+ <a class="item" rel="external" href="https://www.apache.org/foundation/thanks.html">Thanks</a>
+ <a class="item" rel="external" href="https://www.apache.org/foundation/sponsorship.html">Become a Sponsor</a>
+ <a class="item" rel="external" href="https://www.apache.org/security/">Security</a>
+ <a class="item" rel="external" href="https://www.apache.org/licenses/">License</a>
+ </div>
+ </div>
+ </div>
+ </div>
+</footer>
+</body>
+</html>
\ No newline at end of file
diff --git a/content/docs/api/interfaces/selector.textpositionselector.html b/content/docs/api/interfaces/selector.textpositionselector.html
new file mode 100644
index 0000000..0a02e4a
--- /dev/null
+++ b/content/docs/api/interfaces/selector.textpositionselector.html
@@ -0,0 +1,295 @@
+<!DOCTYPE html>
+<html prefix="og: http://ogp.me/ns#">
+<head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
+ <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1">
+ <title>Apache Annotator (incubating)</title>
+ <meta property="og:title" content="Apache Annotator" />
+ <meta property="og:type" content="website" />
+ <meta property="og:url" content="https://annotator.apache.org/" />
+ <meta property="og:image:url" content="https://annotator.apache.org/images/annotator-logo.svg" />
+ <meta property="og:image:alt" content="Apache Annotator (incubating) logo" />
+ <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon.png">
+ <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32.png">
+ <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16.png">
+ <link rel="manifest" href="/site.webmanifest">
+ <link rel="mask-icon" href="/images/safari-pinned-tab.svg" color="#5bbad5">
+ <meta name="msapplication-TileColor" content="#da532c">
+ <meta name="theme-color" content="#ffffff">
+ <link rel="alternate" title="DOAP" href="doap.rdf" type="application/rdf+xml" />
+ <link rel="stylesheet" href="//semantic-ui.com/dist/semantic.min.css" />
+</head>
+<body>
+<div class="ui borderless stackable top attached main menu">
+ <div class="ui container">
+ <a class="item" href="/" style="color: rgba(0,0,0,.87);">
+ <img class="ui small image" src="/images/annotator-logo.svg" alt="Apache Annotator (incubating)" />
+ </a>
+ <div class="right menu">
+ <a class="item" href="/demo/"><span class="ui positive button">Demo!</span></a>
+ <a class="item" rel="external" href="https://www.npmjs.com/package/apache-annotator">NPM</a>
+ <a class="item" rel="external" href="https://github.com/apache?q=annotator#org-repositories">Code</a>
+ <a class="item" rel="external" href="https://github.com/apache/incubator-annotator/issues">Issues</a>
+ <a class="active item" href="/docs/">Docs</a>
+ <a class="item" rel="external" href="https://mail-archives.apache.org/mod_mbox/incubator-annotator-dev/">Mailing List</a>
+ </div>
+ </div>
+</div>
+<div class="ui basic segment container">
+ <link rel="stylesheet" href="../assets/css/main.css">
+ <script async src="../assets/js/search.js" id="search-script"></script>
+ <aside>
+ <style>
+ #tsd-search {
+ position: relative;
+ }
+ #tsd-search input {
+ border: 1px solid grey;
+ border-radius: 2px;
+ padding: 0.2em;
+ }
+ #tsd-search .results {
+ z-index: 1;
+ position: absolute;
+ }
+ </style>
+ <div id="tsd-search" data-index="../assets/js/search.json" data-base="..">
+ <div>
+ <label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
+ <input id="tsd-search-field" type="text" />
+ </div>
+ <ul class="results">
+ <li class="state loading">Preparing search index...</li>
+ <li class="state failure">The search index is not available</li>
+ </ul>
+ </div>
+ </aside>
+ <header style="margin: 2em 0;" id="typedoc-title">
+ <style>
+ #typedoc-title h1 {
+ margin-top: 0;
+ }
+ </style>
+ <ul class="tsd-breadcrumb">
+ <li>
+ <a href="../index.html">apache-annotator</a>
+ </li>
+ <li>
+ <a href="../modules/selector.html">selector</a>
+ </li>
+ <li>
+ <a href="selector.textpositionselector.html">TextPositionSelector</a>
+ </li>
+ </ul>
+ <h1>Interface TextPositionSelector</h1>
+ </header>
+ <main>
+ <div class="row">
+ <div class="col-8 col-content">
+ <section class="tsd-panel tsd-comment">
+ <div class="tsd-comment tsd-typography">
+ <div class="lead">
+ <p>The <a href="https://www.w3.org/TR/2017/REC-annotation-model-20170223/#text-position-selector" class="external">TextPositionSelector</a> of the Web Annotation Data Model.</p>
+ </div>
+ <p>Corresponds to RDF class <a href="http://www.w3.org/ns/oa#TextPositionSelector" class="external">http://www.w3.org/ns/oa#TextPositionSelector</a></p>
+ </div>
+ </section>
+ <section class="tsd-panel tsd-hierarchy">
+ <h3>Hierarchy</h3>
+ <ul class="tsd-hierarchy">
+ <li>
+ <a href="selector.selector-1.html" class="tsd-signature-type" data-tsd-kind="Interface">Selector</a>
+ <ul class="tsd-hierarchy">
+ <li>
+ <span class="target">TextPositionSelector</span>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ </section>
+ <section class="tsd-panel-group tsd-index-group">
+ <h2>Index</h2>
+ <section class="tsd-panel tsd-index-panel">
+ <div class="tsd-index-content">
+ <section class="tsd-index-section ">
+ <h3>Properties</h3>
+ <ul class="tsd-index-list">
+ <li class="tsd-kind-property tsd-parent-kind-interface"><a href="selector.textpositionselector.html#end" class="tsd-kind-icon">end</a></li>
+ <li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited"><a href="selector.textpositionselector.html#refinedby" class="tsd-kind-icon">refined<wbr>By</a></li>
+ <li class="tsd-kind-property tsd-parent-kind-interface"><a href="selector.textpositionselector.html#start" class="tsd-kind-icon">start</a></li>
+ <li class="tsd-kind-property tsd-parent-kind-interface"><a href="selector.textpositionselector.html#type" class="tsd-kind-icon">type</a></li>
+ </ul>
+ </section>
+ </div>
+ </section>
+ </section>
+ <section class="tsd-panel-group tsd-member-group ">
+ <h2>Properties</h2>
+ <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
+ <a name="end" class="tsd-anchor"></a>
+ <h3>end</h3>
+ <div class="tsd-signature tsd-kind-icon">end<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
+ <aside class="tsd-sources">
+ </aside>
+ </section>
+ <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
+ <a name="refinedby" class="tsd-anchor"></a>
+ <h3><span class="tsd-flag ts-flagOptional">Optional</span> refined<wbr>By</h3>
+ <div class="tsd-signature tsd-kind-icon">refined<wbr>By<span class="tsd-signature-symbol">:</span> <a href="selector.selector-1.html" class="tsd-signature-type" data-tsd-kind="Interface">Selector</a></div>
+ <aside class="tsd-sources">
+ <p>Inherited from <a href="selector.selector-1.html">Selector</a>.<a href="selector.selector-1.html#refinedby">refinedBy</a></p>
+ </aside>
+ <div class="tsd-comment tsd-typography">
+ <div class="lead">
+ <p>A Selector can be refined by another Selector.</p>
+ </div>
+ <p>See <a href="https://www.w3.org/TR/2017/REC-annotation-model-20170223/#refinement-of-selection" class="external">§4.2.9 Refinement of Selection</a> in the Web Annotation Data Model.</p>
+ <p>Corresponds to RDF property <a href="http://www.w3.org/ns/oa#refinedBy" class="external">http://www.w3.org/ns/oa#refinedBy</a></p>
+ </div>
+ </section>
+ <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
+ <a name="start" class="tsd-anchor"></a>
+ <h3>start</h3>
+ <div class="tsd-signature tsd-kind-icon">start<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
+ <aside class="tsd-sources">
+ </aside>
+ </section>
+ <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
+ <a name="type" class="tsd-anchor"></a>
+ <h3>type</h3>
+ <div class="tsd-signature tsd-kind-icon">type<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"TextPositionSelector"</span></div>
+ <aside class="tsd-sources">
+ </aside>
+ </section>
+ </section>
+ </div>
+ <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
+ <nav class="tsd-navigation primary">
+ <ul>
+ <li class=" ">
+ <a href="../index.html">Exports</a>
+ </li>
+ <li class=" tsd-kind-module">
+ <a href="../modules/dom.html">dom</a>
+ </li>
+ <li class="current tsd-kind-module">
+ <a href="../modules/selector.html">selector</a>
+ </li>
+ </ul>
+ </nav>
+ <nav class="tsd-navigation secondary menu-sticky">
+ <ul class="before-current">
+ <li class=" tsd-kind-interface tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="selector.chunk.html" class="tsd-kind-icon">Chunk</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="selector.chunkrange.html" class="tsd-kind-icon">Chunk<wbr>Range</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="selector.chunker.html" class="tsd-kind-icon">Chunker</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module">
+ <a href="selector.cssselector.html" class="tsd-kind-icon">Css<wbr>Selector</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module">
+ <a href="selector.describetextquoteoptions.html" class="tsd-kind-icon">Describe<wbr>Text<wbr>Quote<wbr>Options</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="selector.matcher.html" class="tsd-kind-icon">Matcher</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module">
+ <a href="selector.rangeselector.html" class="tsd-kind-icon">Range<wbr>Selector</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module">
+ <a href="selector.selector-1.html" class="tsd-kind-icon">Selector</a>
+ </li>
+ </ul>
+ <ul class="current">
+ <li class="current tsd-kind-interface tsd-parent-kind-module">
+ <a href="selector.textpositionselector.html" class="tsd-kind-icon">Text<wbr>Position<wbr>Selector</a>
+ <ul>
+ <li class=" tsd-kind-property tsd-parent-kind-interface">
+ <a href="selector.textpositionselector.html#end" class="tsd-kind-icon">end</a>
+ </li>
+ <li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
+ <a href="selector.textpositionselector.html#refinedby" class="tsd-kind-icon">refined<wbr>By</a>
+ </li>
+ <li class=" tsd-kind-property tsd-parent-kind-interface">
+ <a href="selector.textpositionselector.html#start" class="tsd-kind-icon">start</a>
+ </li>
+ <li class=" tsd-kind-property tsd-parent-kind-interface">
+ <a href="selector.textpositionselector.html#type" class="tsd-kind-icon">type</a>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ <ul class="after-current">
+ <li class=" tsd-kind-interface tsd-parent-kind-module">
+ <a href="selector.textquoteselector.html" class="tsd-kind-icon">Text<wbr>Quote<wbr>Selector</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module">
+ <a href="../modules/selector.html#chunkequals" class="tsd-kind-icon">chunk<wbr>Equals</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module">
+ <a href="../modules/selector.html#chunkrangeequals" class="tsd-kind-icon">chunk<wbr>Range<wbr>Equals</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="../modules/selector.html#describetextposition" class="tsd-kind-icon">describe<wbr>Text<wbr>Position</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="../modules/selector.html#describetextquote" class="tsd-kind-icon">describe<wbr>Text<wbr>Quote</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="../modules/selector.html#makerefinable" class="tsd-kind-icon">make<wbr>Refinable</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module">
+ <a href="../modules/selector.html#textpositionselectormatcher" class="tsd-kind-icon">text<wbr>Position<wbr>Selector<wbr>Matcher</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module">
+ <a href="../modules/selector.html#textquoteselectormatcher" class="tsd-kind-icon">text<wbr>Quote<wbr>Selector<wbr>Matcher</a>
+ </li>
+ </ul>
+ </nav>
+ </div>
+ </div>
+ </main>
+ <script src="../assets/js/main.js"></script>
+</div>
+<footer class="ui bottom attached segment">
+ <div class="ui container">
+ <div class="ui equal height divided stackable grid">
+ <div class="four wide column">
+ <a class="ui left floated medium image" href="https://apache.org/" target="_blank">
+ <img src="https://incubator.apache.org/images/incubator_feather_egg_logo_sm.png" alt="logo of the Apache Incubator" />
+ </a>
+ <p>
+ <em>Copyright © 2016-2018 The Apache Software Foundation, Licensed under
+ the <a href="https://www.apache.org/licenses/LICENSE-2.0" rel="license external">Apache License, Version 2.0</a>.
+ |
+ <a rel="external" href="https://www.apache.org/foundation/policies/privacy">Privacy Policy</a>
+ </em>
+ </p>
+ </div>
+ <div class="nine wide column">
+ <p>
+ <em>Apache Annotator is an effort undergoing incubation at <a target="_blank" href="https://apache.org/">The Apache Software Foundation (ASF)</a> sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completen [...]
+ <p><em>Apache®, the names of Apache projects, and the feather logo are either <a rel="external" href="https://www.apache.org/foundation/marks/list/">registered trademarks or trademarks</a> of the Apache Software Foundation in the United States and/or other countries.</em></p>
+ </div>
+ <div class="three wide column">
+ <h4 class="header">The <abbr title="Apache Software Foundation">ASF</abbr></h4>
+ <div class="ui link list">
+ <a class="item" rel="external" href="https://incubator.apache.org/">Apache Incubator</a>
+ <a class="item" rel="external" href="https://www.apache.org/">About the ASF</a>
+ <a class="item" rel="external" href="https://www.apache.org/events/current-event">Events</a>
+ <a class="item" rel="external" href="https://www.apache.org/foundation/thanks.html">Thanks</a>
+ <a class="item" rel="external" href="https://www.apache.org/foundation/sponsorship.html">Become a Sponsor</a>
+ <a class="item" rel="external" href="https://www.apache.org/security/">Security</a>
+ <a class="item" rel="external" href="https://www.apache.org/licenses/">License</a>
+ </div>
+ </div>
+ </div>
+ </div>
+</footer>
+</body>
+</html>
\ No newline at end of file
diff --git a/content/docs/api/interfaces/selector.textquoteselector.html b/content/docs/api/interfaces/selector.textquoteselector.html
new file mode 100644
index 0000000..42cf915
--- /dev/null
+++ b/content/docs/api/interfaces/selector.textquoteselector.html
@@ -0,0 +1,306 @@
+<!DOCTYPE html>
+<html prefix="og: http://ogp.me/ns#">
+<head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
+ <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1">
+ <title>Apache Annotator (incubating)</title>
+ <meta property="og:title" content="Apache Annotator" />
+ <meta property="og:type" content="website" />
+ <meta property="og:url" content="https://annotator.apache.org/" />
+ <meta property="og:image:url" content="https://annotator.apache.org/images/annotator-logo.svg" />
+ <meta property="og:image:alt" content="Apache Annotator (incubating) logo" />
+ <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon.png">
+ <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32.png">
+ <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16.png">
+ <link rel="manifest" href="/site.webmanifest">
+ <link rel="mask-icon" href="/images/safari-pinned-tab.svg" color="#5bbad5">
+ <meta name="msapplication-TileColor" content="#da532c">
+ <meta name="theme-color" content="#ffffff">
+ <link rel="alternate" title="DOAP" href="doap.rdf" type="application/rdf+xml" />
+ <link rel="stylesheet" href="//semantic-ui.com/dist/semantic.min.css" />
+</head>
+<body>
+<div class="ui borderless stackable top attached main menu">
+ <div class="ui container">
+ <a class="item" href="/" style="color: rgba(0,0,0,.87);">
+ <img class="ui small image" src="/images/annotator-logo.svg" alt="Apache Annotator (incubating)" />
+ </a>
+ <div class="right menu">
+ <a class="item" href="/demo/"><span class="ui positive button">Demo!</span></a>
+ <a class="item" rel="external" href="https://www.npmjs.com/package/apache-annotator">NPM</a>
+ <a class="item" rel="external" href="https://github.com/apache?q=annotator#org-repositories">Code</a>
+ <a class="item" rel="external" href="https://github.com/apache/incubator-annotator/issues">Issues</a>
+ <a class="active item" href="/docs/">Docs</a>
+ <a class="item" rel="external" href="https://mail-archives.apache.org/mod_mbox/incubator-annotator-dev/">Mailing List</a>
+ </div>
+ </div>
+</div>
+<div class="ui basic segment container">
+ <link rel="stylesheet" href="../assets/css/main.css">
+ <script async src="../assets/js/search.js" id="search-script"></script>
+ <aside>
+ <style>
+ #tsd-search {
+ position: relative;
+ }
+ #tsd-search input {
+ border: 1px solid grey;
+ border-radius: 2px;
+ padding: 0.2em;
+ }
+ #tsd-search .results {
+ z-index: 1;
+ position: absolute;
+ }
+ </style>
+ <div id="tsd-search" data-index="../assets/js/search.json" data-base="..">
+ <div>
+ <label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
+ <input id="tsd-search-field" type="text" />
+ </div>
+ <ul class="results">
+ <li class="state loading">Preparing search index...</li>
+ <li class="state failure">The search index is not available</li>
+ </ul>
+ </div>
+ </aside>
+ <header style="margin: 2em 0;" id="typedoc-title">
+ <style>
+ #typedoc-title h1 {
+ margin-top: 0;
+ }
+ </style>
+ <ul class="tsd-breadcrumb">
+ <li>
+ <a href="../index.html">apache-annotator</a>
+ </li>
+ <li>
+ <a href="../modules/selector.html">selector</a>
+ </li>
+ <li>
+ <a href="selector.textquoteselector.html">TextQuoteSelector</a>
+ </li>
+ </ul>
+ <h1>Interface TextQuoteSelector</h1>
+ </header>
+ <main>
+ <div class="row">
+ <div class="col-8 col-content">
+ <section class="tsd-panel tsd-comment">
+ <div class="tsd-comment tsd-typography">
+ <div class="lead">
+ <p>The <a href="https://www.w3.org/TR/2017/REC-annotation-model-20170223/#text-quote-selector" class="external">TextQuoteSelector</a> of the Web Annotation Data Model.</p>
+ </div>
+ <p>Corresponds to RDF class <a href="http://www.w3.org/ns/oa#TextQuoteSelector" class="external">http://www.w3.org/ns/oa#TextQuoteSelector</a></p>
+ </div>
+ </section>
+ <section class="tsd-panel tsd-hierarchy">
+ <h3>Hierarchy</h3>
+ <ul class="tsd-hierarchy">
+ <li>
+ <a href="selector.selector-1.html" class="tsd-signature-type" data-tsd-kind="Interface">Selector</a>
+ <ul class="tsd-hierarchy">
+ <li>
+ <span class="target">TextQuoteSelector</span>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ </section>
+ <section class="tsd-panel-group tsd-index-group">
+ <h2>Index</h2>
+ <section class="tsd-panel tsd-index-panel">
+ <div class="tsd-index-content">
+ <section class="tsd-index-section ">
+ <h3>Properties</h3>
+ <ul class="tsd-index-list">
+ <li class="tsd-kind-property tsd-parent-kind-interface"><a href="selector.textquoteselector.html#exact" class="tsd-kind-icon">exact</a></li>
+ <li class="tsd-kind-property tsd-parent-kind-interface"><a href="selector.textquoteselector.html#prefix" class="tsd-kind-icon">prefix</a></li>
+ <li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited"><a href="selector.textquoteselector.html#refinedby" class="tsd-kind-icon">refined<wbr>By</a></li>
+ <li class="tsd-kind-property tsd-parent-kind-interface"><a href="selector.textquoteselector.html#suffix" class="tsd-kind-icon">suffix</a></li>
+ <li class="tsd-kind-property tsd-parent-kind-interface"><a href="selector.textquoteselector.html#type" class="tsd-kind-icon">type</a></li>
+ </ul>
+ </section>
+ </div>
+ </section>
+ </section>
+ <section class="tsd-panel-group tsd-member-group ">
+ <h2>Properties</h2>
+ <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
+ <a name="exact" class="tsd-anchor"></a>
+ <h3>exact</h3>
+ <div class="tsd-signature tsd-kind-icon">exact<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
+ <aside class="tsd-sources">
+ </aside>
+ </section>
+ <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
+ <a name="prefix" class="tsd-anchor"></a>
+ <h3><span class="tsd-flag ts-flagOptional">Optional</span> prefix</h3>
+ <div class="tsd-signature tsd-kind-icon">prefix<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
+ <aside class="tsd-sources">
+ </aside>
+ </section>
+ <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
+ <a name="refinedby" class="tsd-anchor"></a>
+ <h3><span class="tsd-flag ts-flagOptional">Optional</span> refined<wbr>By</h3>
+ <div class="tsd-signature tsd-kind-icon">refined<wbr>By<span class="tsd-signature-symbol">:</span> <a href="selector.selector-1.html" class="tsd-signature-type" data-tsd-kind="Interface">Selector</a></div>
+ <aside class="tsd-sources">
+ <p>Inherited from <a href="selector.selector-1.html">Selector</a>.<a href="selector.selector-1.html#refinedby">refinedBy</a></p>
+ </aside>
+ <div class="tsd-comment tsd-typography">
+ <div class="lead">
+ <p>A Selector can be refined by another Selector.</p>
+ </div>
+ <p>See <a href="https://www.w3.org/TR/2017/REC-annotation-model-20170223/#refinement-of-selection" class="external">§4.2.9 Refinement of Selection</a> in the Web Annotation Data Model.</p>
+ <p>Corresponds to RDF property <a href="http://www.w3.org/ns/oa#refinedBy" class="external">http://www.w3.org/ns/oa#refinedBy</a></p>
+ </div>
+ </section>
+ <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
+ <a name="suffix" class="tsd-anchor"></a>
+ <h3><span class="tsd-flag ts-flagOptional">Optional</span> suffix</h3>
+ <div class="tsd-signature tsd-kind-icon">suffix<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
+ <aside class="tsd-sources">
+ </aside>
+ </section>
+ <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
+ <a name="type" class="tsd-anchor"></a>
+ <h3>type</h3>
+ <div class="tsd-signature tsd-kind-icon">type<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"TextQuoteSelector"</span></div>
+ <aside class="tsd-sources">
+ </aside>
+ </section>
+ </section>
+ </div>
+ <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
+ <nav class="tsd-navigation primary">
+ <ul>
+ <li class=" ">
+ <a href="../index.html">Exports</a>
+ </li>
+ <li class=" tsd-kind-module">
+ <a href="../modules/dom.html">dom</a>
+ </li>
+ <li class="current tsd-kind-module">
+ <a href="../modules/selector.html">selector</a>
+ </li>
+ </ul>
+ </nav>
+ <nav class="tsd-navigation secondary menu-sticky">
+ <ul class="before-current">
+ <li class=" tsd-kind-interface tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="selector.chunk.html" class="tsd-kind-icon">Chunk</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="selector.chunkrange.html" class="tsd-kind-icon">Chunk<wbr>Range</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="selector.chunker.html" class="tsd-kind-icon">Chunker</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module">
+ <a href="selector.cssselector.html" class="tsd-kind-icon">Css<wbr>Selector</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module">
+ <a href="selector.describetextquoteoptions.html" class="tsd-kind-icon">Describe<wbr>Text<wbr>Quote<wbr>Options</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="selector.matcher.html" class="tsd-kind-icon">Matcher</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module">
+ <a href="selector.rangeselector.html" class="tsd-kind-icon">Range<wbr>Selector</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module">
+ <a href="selector.selector-1.html" class="tsd-kind-icon">Selector</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module">
+ <a href="selector.textpositionselector.html" class="tsd-kind-icon">Text<wbr>Position<wbr>Selector</a>
+ </li>
+ </ul>
+ <ul class="current">
+ <li class="current tsd-kind-interface tsd-parent-kind-module">
+ <a href="selector.textquoteselector.html" class="tsd-kind-icon">Text<wbr>Quote<wbr>Selector</a>
+ <ul>
+ <li class=" tsd-kind-property tsd-parent-kind-interface">
+ <a href="selector.textquoteselector.html#exact" class="tsd-kind-icon">exact</a>
+ </li>
+ <li class=" tsd-kind-property tsd-parent-kind-interface">
+ <a href="selector.textquoteselector.html#prefix" class="tsd-kind-icon">prefix</a>
+ </li>
+ <li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
+ <a href="selector.textquoteselector.html#refinedby" class="tsd-kind-icon">refined<wbr>By</a>
+ </li>
+ <li class=" tsd-kind-property tsd-parent-kind-interface">
+ <a href="selector.textquoteselector.html#suffix" class="tsd-kind-icon">suffix</a>
+ </li>
+ <li class=" tsd-kind-property tsd-parent-kind-interface">
+ <a href="selector.textquoteselector.html#type" class="tsd-kind-icon">type</a>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ <ul class="after-current">
+ <li class=" tsd-kind-function tsd-parent-kind-module">
+ <a href="../modules/selector.html#chunkequals" class="tsd-kind-icon">chunk<wbr>Equals</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module">
+ <a href="../modules/selector.html#chunkrangeequals" class="tsd-kind-icon">chunk<wbr>Range<wbr>Equals</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="../modules/selector.html#describetextposition" class="tsd-kind-icon">describe<wbr>Text<wbr>Position</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="../modules/selector.html#describetextquote" class="tsd-kind-icon">describe<wbr>Text<wbr>Quote</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="../modules/selector.html#makerefinable" class="tsd-kind-icon">make<wbr>Refinable</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module">
+ <a href="../modules/selector.html#textpositionselectormatcher" class="tsd-kind-icon">text<wbr>Position<wbr>Selector<wbr>Matcher</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module">
+ <a href="../modules/selector.html#textquoteselectormatcher" class="tsd-kind-icon">text<wbr>Quote<wbr>Selector<wbr>Matcher</a>
+ </li>
+ </ul>
+ </nav>
+ </div>
+ </div>
+ </main>
+ <script src="../assets/js/main.js"></script>
+</div>
+<footer class="ui bottom attached segment">
+ <div class="ui container">
+ <div class="ui equal height divided stackable grid">
+ <div class="four wide column">
+ <a class="ui left floated medium image" href="https://apache.org/" target="_blank">
+ <img src="https://incubator.apache.org/images/incubator_feather_egg_logo_sm.png" alt="logo of the Apache Incubator" />
+ </a>
+ <p>
+ <em>Copyright © 2016-2018 The Apache Software Foundation, Licensed under
+ the <a href="https://www.apache.org/licenses/LICENSE-2.0" rel="license external">Apache License, Version 2.0</a>.
+ |
+ <a rel="external" href="https://www.apache.org/foundation/policies/privacy">Privacy Policy</a>
+ </em>
+ </p>
+ </div>
+ <div class="nine wide column">
+ <p>
+ <em>Apache Annotator is an effort undergoing incubation at <a target="_blank" href="https://apache.org/">The Apache Software Foundation (ASF)</a> sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completen [...]
+ <p><em>Apache®, the names of Apache projects, and the feather logo are either <a rel="external" href="https://www.apache.org/foundation/marks/list/">registered trademarks or trademarks</a> of the Apache Software Foundation in the United States and/or other countries.</em></p>
+ </div>
+ <div class="three wide column">
+ <h4 class="header">The <abbr title="Apache Software Foundation">ASF</abbr></h4>
+ <div class="ui link list">
+ <a class="item" rel="external" href="https://incubator.apache.org/">Apache Incubator</a>
+ <a class="item" rel="external" href="https://www.apache.org/">About the ASF</a>
+ <a class="item" rel="external" href="https://www.apache.org/events/current-event">Events</a>
+ <a class="item" rel="external" href="https://www.apache.org/foundation/thanks.html">Thanks</a>
+ <a class="item" rel="external" href="https://www.apache.org/foundation/sponsorship.html">Become a Sponsor</a>
+ <a class="item" rel="external" href="https://www.apache.org/security/">Security</a>
+ <a class="item" rel="external" href="https://www.apache.org/licenses/">License</a>
+ </div>
+ </div>
+ </div>
+ </div>
+</footer>
+</body>
+</html>
\ No newline at end of file
diff --git a/content/docs/api/modules/dom.html b/content/docs/api/modules/dom.html
new file mode 100644
index 0000000..dca8c7c
--- /dev/null
+++ b/content/docs/api/modules/dom.html
@@ -0,0 +1,646 @@
+<!DOCTYPE html>
+<html prefix="og: http://ogp.me/ns#">
+<head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
+ <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1">
+ <title>Apache Annotator (incubating)</title>
+ <meta property="og:title" content="Apache Annotator" />
+ <meta property="og:type" content="website" />
+ <meta property="og:url" content="https://annotator.apache.org/" />
+ <meta property="og:image:url" content="https://annotator.apache.org/images/annotator-logo.svg" />
+ <meta property="og:image:alt" content="Apache Annotator (incubating) logo" />
+ <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon.png">
+ <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32.png">
+ <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16.png">
+ <link rel="manifest" href="/site.webmanifest">
+ <link rel="mask-icon" href="/images/safari-pinned-tab.svg" color="#5bbad5">
+ <meta name="msapplication-TileColor" content="#da532c">
+ <meta name="theme-color" content="#ffffff">
+ <link rel="alternate" title="DOAP" href="doap.rdf" type="application/rdf+xml" />
+ <link rel="stylesheet" href="//semantic-ui.com/dist/semantic.min.css" />
+</head>
+<body>
+<div class="ui borderless stackable top attached main menu">
+ <div class="ui container">
+ <a class="item" href="/" style="color: rgba(0,0,0,.87);">
+ <img class="ui small image" src="/images/annotator-logo.svg" alt="Apache Annotator (incubating)" />
+ </a>
+ <div class="right menu">
+ <a class="item" href="/demo/"><span class="ui positive button">Demo!</span></a>
+ <a class="item" rel="external" href="https://www.npmjs.com/package/apache-annotator">NPM</a>
+ <a class="item" rel="external" href="https://github.com/apache?q=annotator#org-repositories">Code</a>
+ <a class="item" rel="external" href="https://github.com/apache/incubator-annotator/issues">Issues</a>
+ <a class="active item" href="/docs/">Docs</a>
+ <a class="item" rel="external" href="https://mail-archives.apache.org/mod_mbox/incubator-annotator-dev/">Mailing List</a>
+ </div>
+ </div>
+</div>
+<div class="ui basic segment container">
+ <link rel="stylesheet" href="../assets/css/main.css">
+ <script async src="../assets/js/search.js" id="search-script"></script>
+ <aside>
+ <style>
+ #tsd-search {
+ position: relative;
+ }
+ #tsd-search input {
+ border: 1px solid grey;
+ border-radius: 2px;
+ padding: 0.2em;
+ }
+ #tsd-search .results {
+ z-index: 1;
+ position: absolute;
+ }
+ </style>
+ <div id="tsd-search" data-index="../assets/js/search.json" data-base="..">
+ <div>
+ <label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
+ <input id="tsd-search-field" type="text" />
+ </div>
+ <ul class="results">
+ <li class="state loading">Preparing search index...</li>
+ <li class="state failure">The search index is not available</li>
+ </ul>
+ </div>
+ </aside>
+ <header style="margin: 2em 0;" id="typedoc-title">
+ <style>
+ #typedoc-title h1 {
+ margin-top: 0;
+ }
+ </style>
+ <ul class="tsd-breadcrumb">
+ <li>
+ <a href="../index.html">apache-annotator</a>
+ </li>
+ <li>
+ <a href="dom.html">dom</a>
+ </li>
+ </ul>
+ <h1>Module dom</h1>
+ </header>
+ <main>
+ <div class="row">
+ <div class="col-8 col-content">
+ <section class="tsd-panel-group tsd-index-group">
+ <h2>Index</h2>
+ <section class="tsd-panel tsd-index-panel">
+ <div class="tsd-index-content">
+ <section class="tsd-index-section ">
+ <h3>Functions</h3>
+ <ul class="tsd-index-list">
+ <li class="tsd-kind-function tsd-parent-kind-module"><a href="dom.html#createcssselectormatcher" class="tsd-kind-icon">create<wbr>Css<wbr>Selector<wbr>Matcher</a></li>
+ <li class="tsd-kind-function tsd-parent-kind-module"><a href="dom.html#createtextpositionselectormatcher" class="tsd-kind-icon">create<wbr>Text<wbr>Position<wbr>Selector<wbr>Matcher</a></li>
+ <li class="tsd-kind-function tsd-parent-kind-module"><a href="dom.html#createtextquoteselectormatcher" class="tsd-kind-icon">create<wbr>Text<wbr>Quote<wbr>Selector<wbr>Matcher</a></li>
+ <li class="tsd-kind-function tsd-parent-kind-module"><a href="dom.html#describetextposition" class="tsd-kind-icon">describe<wbr>Text<wbr>Position</a></li>
+ <li class="tsd-kind-function tsd-parent-kind-module"><a href="dom.html#describetextquote" class="tsd-kind-icon">describe<wbr>Text<wbr>Quote</a></li>
+ <li class="tsd-kind-function tsd-parent-kind-module"><a href="dom.html#highlightrange" class="tsd-kind-icon">highlight<wbr>Range</a></li>
+ <li class="tsd-kind-function tsd-parent-kind-module"><a href="dom.html#makecreaterangeselectormatcher" class="tsd-kind-icon">make<wbr>Create<wbr>Range<wbr>Selector<wbr>Matcher</a></li>
+ </ul>
+ </section>
+ </div>
+ </section>
+ </section>
+ <section class="tsd-panel-group tsd-member-group ">
+ <h2>Functions</h2>
+ <section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-module">
+ <a name="createcssselectormatcher" class="tsd-anchor"></a>
+ <h3>create<wbr>Css<wbr>Selector<wbr>Matcher</h3>
+ <ul class="tsd-signatures tsd-kind-function tsd-parent-kind-module">
+ <li class="tsd-signature tsd-kind-icon">create<wbr>Css<wbr>Selector<wbr>Matcher<span class="tsd-signature-symbol">(</span>selector<span class="tsd-signature-symbol">: </span><a href="../interfaces/selector.cssselector.html" class="tsd-signature-type" data-tsd-kind="Interface">CssSelector</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/selector.matcher.html" class="tsd-signature-type" data-tsd-kind="Interface">Matcher [...]
+ </ul>
+ <ul class="tsd-descriptions">
+ <li class="tsd-description">
+ <aside class="tsd-sources">
+ </aside>
+ <div class="tsd-comment tsd-typography">
+ <div class="lead">
+ <p>Find the elements corresponding to the given <a href="../interfaces/selector.cssselector.html">CssSelector</a>.</p>
+ </div>
+ <p>The given CssSelector returns all elements within <code>scope</code> that it matches.
+ However, the selector is evaluated relative to the Document as a whole.
+ <em>(XXX is this intentional, a mistake, or compromise?)</em></p>
+ <p>The function is curried, taking first the selector and then the scope.</p>
+ <p>As there may be multiple matches for a given selector, the matcher will
+ return an (async) generator that produces each match in the order they are
+ found in the text.</p>
+ <p>Each matching element is returned as a <a href="https://developer.mozilla.org/en-US/docs/Web/API/Range" class="external">Range</a> surrounding that element. This in order to make its output reusable
+ as the scope for any subsequents selectors that <a href="../interfaces/selector.selector-1.html#refinedby">refine</a> this CssSelector.</p>
+ </div>
+ <h4 class="tsd-parameters-title">Parameters</h4>
+ <ul class="tsd-parameters">
+ <li>
+ <h5>selector: <a href="../interfaces/selector.cssselector.html" class="tsd-signature-type" data-tsd-kind="Interface">CssSelector</a></h5>
+ <div class="tsd-comment tsd-typography">
+ <p>The <a href="../interfaces/selector.cssselector.html">CssSelector</a> to be
+ anchored</p>
+ </div>
+ </li>
+ </ul>
+ <h4 class="tsd-returns-title">Returns <a href="../interfaces/selector.matcher.html" class="tsd-signature-type" data-tsd-kind="Interface">Matcher</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Range</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">Range</span><span class="tsd-signature-symbol">></span></h4>
+ <p>A <a href="../interfaces/selector.matcher.html">Matcher</a> function that applies
+ <code>selector</code> to a given <a href="https://developer.mozilla.org/en-US/docs/Web/API/Range" class="external">Range</a></p>
+ </li>
+ </ul>
+ </section>
+ <section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-module">
+ <a name="createtextpositionselectormatcher" class="tsd-anchor"></a>
+ <h3>create<wbr>Text<wbr>Position<wbr>Selector<wbr>Matcher</h3>
+ <ul class="tsd-signatures tsd-kind-function tsd-parent-kind-module">
+ <li class="tsd-signature tsd-kind-icon">create<wbr>Text<wbr>Position<wbr>Selector<wbr>Matcher<span class="tsd-signature-symbol">(</span>selector<span class="tsd-signature-symbol">: </span><a href="../interfaces/selector.textpositionselector.html" class="tsd-signature-type" data-tsd-kind="Interface">TextPositionSelector</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/selector.matcher.html" class="tsd-signature-type" d [...]
+ </ul>
+ <ul class="tsd-descriptions">
+ <li class="tsd-description">
+ <aside class="tsd-sources">
+ </aside>
+ <div class="tsd-comment tsd-typography">
+ <div class="lead">
+ <p>Find the range of text corresponding to the given <a href="../interfaces/selector.textpositionselector.html">TextPositionSelector</a>.</p>
+ </div>
+ <p>The start and end positions are measured relative to the first text character
+ in the given scope.</p>
+ <p>The function is curried, taking first the selector and then the scope.</p>
+ <p>Its end result is an (async) generator producing a single <a href="https://developer.mozilla.org/en-US/docs/Web/API/Range" class="external">Range</a> to represent the match. (unlike a <a href="../interfaces/selector.textquoteselector.html">TextQuoteSelector</a>, a TextPositionSelector cannot have
+ multiple matches).</p>
+ <dl class="tsd-comment-tags">
+ <dt>example</dt>
+ <dd><pre><code><span style="color: #0000FF">const</span><span style="color: #000000"> </span><span style="color: #0070C1">selector</span><span style="color: #000000"> = { </span><span style="color: #001080">type:</span><span style="color: #000000"> </span><span style="color: #A31515">'TextPositionSelector'</span><span style="color: #000000">, </span><span style="color: #001080">start:</span><span style="color: #000000"> </span><span style="color: #098658">702</span><s [...]
+
+<span style="color: #008000">// Search in the whole document.</span>
+<span style="color: #0000FF">const</span><span style="color: #000000"> </span><span style="color: #0070C1">scope</span><span style="color: #000000"> = </span><span style="color: #001080">document</span><span style="color: #000000">.</span><span style="color: #795E26">createRange</span><span style="color: #000000">();</span>
+<span style="color: #001080">scope</span><span style="color: #000000">.</span><span style="color: #795E26">selectNodeContents</span><span style="color: #000000">(</span><span style="color: #001080">document</span><span style="color: #000000">);</span>
+
+<span style="color: #0000FF">const</span><span style="color: #000000"> </span><span style="color: #0070C1">matches</span><span style="color: #000000"> = </span><span style="color: #795E26">textQuoteSelectorMatcher</span><span style="color: #000000">(</span><span style="color: #001080">selector</span><span style="color: #000000">)(</span><span style="color: #001080">scope</span><span style="color: #000000">);</span>
+<span style="color: #0000FF">const</span><span style="color: #000000"> </span><span style="color: #0070C1">match</span><span style="color: #000000"> = (</span><span style="color: #AF00DB">await</span><span style="color: #000000"> </span><span style="color: #001080">matches</span><span style="color: #000000">.</span><span style="color: #795E26">next</span><span style="color: #000000">()).</span><span style="color: #001080">value</span><span style="color: #000000">;</span>
+
+<span style="color: #008000">// ⇒ Range { startContainer: #text, startOffset: 64, endContainer: #text,</span>
+<span style="color: #008000">// endOffset: 98, … }</span>
+</code></pre>
+ </dd>
+ </dl>
+ </div>
+ <h4 class="tsd-parameters-title">Parameters</h4>
+ <ul class="tsd-parameters">
+ <li>
+ <h5>selector: <a href="../interfaces/selector.textpositionselector.html" class="tsd-signature-type" data-tsd-kind="Interface">TextPositionSelector</a></h5>
+ <div class="tsd-comment tsd-typography">
+ <p>The <a href="../interfaces/selector.textpositionselector.html">TextPositionSelector</a>
+ to be anchored</p>
+ </div>
+ </li>
+ </ul>
+ <h4 class="tsd-returns-title">Returns <a href="../interfaces/selector.matcher.html" class="tsd-signature-type" data-tsd-kind="Interface">Matcher</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Range</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">Range</span><span class="tsd-signature-symbol">></span></h4>
+ <p>A <a href="../interfaces/selector.matcher.html">Matcher</a> function that applies
+ <code>selector</code> to a given <a href="https://developer.mozilla.org/en-US/docs/Web/API/Range" class="external">Range</a></p>
+ </li>
+ </ul>
+ </section>
+ <section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-module">
+ <a name="createtextquoteselectormatcher" class="tsd-anchor"></a>
+ <h3>create<wbr>Text<wbr>Quote<wbr>Selector<wbr>Matcher</h3>
+ <ul class="tsd-signatures tsd-kind-function tsd-parent-kind-module">
+ <li class="tsd-signature tsd-kind-icon">create<wbr>Text<wbr>Quote<wbr>Selector<wbr>Matcher<span class="tsd-signature-symbol">(</span>selector<span class="tsd-signature-symbol">: </span><a href="../interfaces/selector.textquoteselector.html" class="tsd-signature-type" data-tsd-kind="Interface">TextQuoteSelector</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/selector.matcher.html" class="tsd-signature-type" data-tsd-k [...]
+ </ul>
+ <ul class="tsd-descriptions">
+ <li class="tsd-description">
+ <aside class="tsd-sources">
+ </aside>
+ <div class="tsd-comment tsd-typography">
+ <div class="lead">
+ <p>Find occurrences in a text matching the given <a href="../interfaces/selector.textquoteselector.html">TextQuoteSelector</a>.</p>
+ </div>
+ <p>This performs an exact search for the selector’s quote (including prefix and
+ suffix) within the text contained in the given scope (a <a href="https://developer.mozilla.org/en-US/docs/Web/API/Range" class="external">Range</a>).</p>
+ <p>Note the match is based on strict character-by-character equivalence, i.e.
+ it is sensitive to whitespace, capitalisation, etc.</p>
+ <p>The function is curried, taking first the selector and then the scope.</p>
+ <p>As there may be multiple matches for a given selector (when its prefix and
+ suffix attributes are not sufficient to disambiguate it), the matcher will
+ return an (async) generator that produces each match in the order they are
+ found in the text.</p>
+ <dl class="tsd-comment-tags">
+ <dt>example</dt>
+ <dd><pre><code><span style="color: #008000">// Find the word ‘banana’.</span>
+<span style="color: #0000FF">const</span><span style="color: #000000"> </span><span style="color: #0070C1">selector</span><span style="color: #000000"> = { </span><span style="color: #001080">type:</span><span style="color: #000000"> </span><span style="color: #A31515">'TextQuoteSelector'</span><span style="color: #000000">, </span><span style="color: #001080">exact:</span><span style="color: #000000"> </span><span style="color: #A31515">'banana'</span><span style="co [...]
+
+<span style="color: #008000">// Search in the document body.</span>
+<span style="color: #0000FF">const</span><span style="color: #000000"> </span><span style="color: #0070C1">scope</span><span style="color: #000000"> = </span><span style="color: #001080">document</span><span style="color: #000000">.</span><span style="color: #795E26">createRange</span><span style="color: #000000">();</span>
+<span style="color: #001080">scope</span><span style="color: #000000">.</span><span style="color: #795E26">selectNodeContents</span><span style="color: #000000">(</span><span style="color: #001080">document</span><span style="color: #000000">.</span><span style="color: #001080">body</span><span style="color: #000000">);</span>
+
+<span style="color: #008000">// Read all matches.</span>
+<span style="color: #0000FF">const</span><span style="color: #000000"> </span><span style="color: #0070C1">matches</span><span style="color: #000000"> = </span><span style="color: #795E26">textQuoteSelectorMatcher</span><span style="color: #000000">(</span><span style="color: #001080">selector</span><span style="color: #000000">)(</span><span style="color: #001080">scope</span><span style="color: #000000">);</span>
+<span style="color: #AF00DB">for</span><span style="color: #000000"> </span><span style="color: #AF00DB">await</span><span style="color: #000000"> (</span><span style="color: #001080">match</span><span style="color: #000000"> </span><span style="color: #0000FF">of</span><span style="color: #000000"> </span><span style="color: #001080">matches</span><span style="color: #000000">) </span><span style="color: #001080">console</span><span style="color: #000000">.</span><span style="color: #79 [...]
+<span style="color: #008000">// ⇒ Range { startContainer: #text, startOffset: 187, endContainer: #text,</span>
+<span style="color: #008000">// endOffset: 193, … }</span>
+<span style="color: #008000">// ⇒ Range { startContainer: #text, startOffset: 631, endContainer: #text,</span>
+<span style="color: #008000">// endOffset: 637, … }</span>
+</code></pre>
+ </dd>
+ </dl>
+ </div>
+ <h4 class="tsd-parameters-title">Parameters</h4>
+ <ul class="tsd-parameters">
+ <li>
+ <h5>selector: <a href="../interfaces/selector.textquoteselector.html" class="tsd-signature-type" data-tsd-kind="Interface">TextQuoteSelector</a></h5>
+ <div class="tsd-comment tsd-typography">
+ <p>The <a href="../interfaces/selector.textquoteselector.html">TextQuoteSelector</a>
+ to be anchored</p>
+ </div>
+ </li>
+ </ul>
+ <h4 class="tsd-returns-title">Returns <a href="../interfaces/selector.matcher.html" class="tsd-signature-type" data-tsd-kind="Interface">Matcher</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Range</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">Range</span><span class="tsd-signature-symbol">></span></h4>
+ <p>a <a href="../interfaces/selector.matcher.html">Matcher</a> function that applies
+ <code>selector</code> to a given <a href="https://developer.mozilla.org/en-US/docs/Web/API/Range" class="external">Range</a></p>
+ </li>
+ </ul>
+ </section>
+ <section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-module">
+ <a name="describetextposition" class="tsd-anchor"></a>
+ <h3>describe<wbr>Text<wbr>Position</h3>
+ <ul class="tsd-signatures tsd-kind-function tsd-parent-kind-module">
+ <li class="tsd-signature tsd-kind-icon">describe<wbr>Text<wbr>Position<span class="tsd-signature-symbol">(</span>range<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Range</span>, maybeScope<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Range</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</s [...]
+ </ul>
+ <ul class="tsd-descriptions">
+ <li class="tsd-description">
+ <aside class="tsd-sources">
+ </aside>
+ <div class="tsd-comment tsd-typography">
+ <div class="lead">
+ <p>Returns a <a href="../interfaces/selector.textpositionselector.html">TextPositionSelector</a> that points
+ at the target text within the given scope.</p>
+ </div>
+ <p>When no scope is given, the position is described relative to the document
+ as a whole. Note this means all the characters in all Text nodes are counted
+ to determine the target’s position, including those in the <code><head></code> and
+ whitespace, hence even a minor modification could make the selector point to
+ a different text than its original target.</p>
+ <dl class="tsd-comment-tags">
+ <dt>example</dt>
+ <dd><pre><code><span style="color: #0000FF">const</span><span style="color: #000000"> </span><span style="color: #0070C1">target</span><span style="color: #000000"> = </span><span style="color: #001080">window</span><span style="color: #000000">.</span><span style="color: #795E26">getSelection</span><span style="color: #000000">().</span><span style="color: #795E26">getRangeAt</span><span style="color: #000000">(</span><span style="color: #098658">0</span><span style="color: #0 [...]
+<span style="color: #0000FF">const</span><span style="color: #000000"> </span><span style="color: #0070C1">selector</span><span style="color: #000000"> = </span><span style="color: #AF00DB">await</span><span style="color: #000000"> </span><span style="color: #795E26">describeTextPosition</span><span style="color: #000000">(</span><span style="color: #001080">target</span><span style="color: #000000">);</span>
+<span style="color: #001080">console</span><span style="color: #000000">.</span><span style="color: #795E26">log</span><span style="color: #000000">(</span><span style="color: #001080">selector</span><span style="color: #000000">);</span>
+<span style="color: #008000">// {</span>
+<span style="color: #008000">// type: 'TextPositionSelector',</span>
+<span style="color: #008000">// start: 702,</span>
+<span style="color: #008000">// end: 736</span>
+<span style="color: #008000">// }</span>
+</code></pre>
+ </dd>
+ </dl>
+ </div>
+ <h4 class="tsd-parameters-title">Parameters</h4>
+ <ul class="tsd-parameters">
+ <li>
+ <h5>range: <span class="tsd-signature-type">Range</span></h5>
+ <div class="tsd-comment tsd-typography">
+ <p>The range of characters that the selector should describe</p>
+ </div>
+ </li>
+ <li>
+ <h5><span class="tsd-flag ts-flagOptional">Optional</span> maybeScope: <span class="tsd-signature-type">Range</span></h5>
+ <div class="tsd-comment tsd-typography">
+ <p>A <a href="https://developer.mozilla.org/en-US/docs/Web/API/Range" class="external">Range</a> that serves as the ‘document’ for purposes of finding occurrences
+ and determining prefix and suffix. Defaults to span the full Document
+ containing the range.</p>
+ </div>
+ </li>
+ </ul>
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/selector.textpositionselector.html" class="tsd-signature-type" data-tsd-kind="Interface">TextPositionSelector</a><span class="tsd-signature-symbol">></span></h4>
+ <p>The selector describing the <code>range</code> relative to <code>scope</code></p>
+ </li>
+ </ul>
+ </section>
+ <section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-module">
+ <a name="describetextquote" class="tsd-anchor"></a>
+ <h3>describe<wbr>Text<wbr>Quote</h3>
+ <ul class="tsd-signatures tsd-kind-function tsd-parent-kind-module">
+ <li class="tsd-signature tsd-kind-icon">describe<wbr>Text<wbr>Quote<span class="tsd-signature-symbol">(</span>range<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Range</span>, maybeScope<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Range</span>, options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/selector.describetextquoteoptions.html" class="tsd-signature-type" data-tsd-kind="Interface">DescribeT [...]
+ </ul>
+ <ul class="tsd-descriptions">
+ <li class="tsd-description">
+ <aside class="tsd-sources">
+ </aside>
+ <div class="tsd-comment tsd-typography">
+ <div class="lead">
+ <p>Create a <a href="../interfaces/selector.textquoteselector.html">TextQuoteSelector</a> that
+ unambiguously describes the given range.</p>
+ </div>
+ <p>The selector will contain the <em>exact</em> target quote, and in case this quote
+ appears multiple times in the text, sufficient context around the quote will
+ be included in the selector’s <em>prefix</em> and <em>suffix</em> attributes to
+ disambiguate. By default, more prefix and suffix are included than strictly
+ required; both in order to be robust against slight modifications, and in an
+ attempt to not end halfway a word (mainly for the sake of human readability).</p>
+ <dl class="tsd-comment-tags">
+ <dt>example</dt>
+ <dd><pre><code><span style="color: #0000FF">const</span><span style="color: #000000"> </span><span style="color: #0070C1">target</span><span style="color: #000000"> = </span><span style="color: #001080">window</span><span style="color: #000000">.</span><span style="color: #795E26">getSelection</span><span style="color: #000000">().</span><span style="color: #795E26">getRangeAt</span><span style="color: #000000">(</span><span style="color: #098658">0</span><span style="color: #0 [...]
+<span style="color: #0000FF">const</span><span style="color: #000000"> </span><span style="color: #0070C1">selector</span><span style="color: #000000"> = </span><span style="color: #AF00DB">await</span><span style="color: #000000"> </span><span style="color: #795E26">describeTextQuote</span><span style="color: #000000">(</span><span style="color: #001080">target</span><span style="color: #000000">);</span>
+<span style="color: #001080">console</span><span style="color: #000000">.</span><span style="color: #795E26">log</span><span style="color: #000000">(</span><span style="color: #001080">selector</span><span style="color: #000000">);</span>
+<span style="color: #008000">// {</span>
+<span style="color: #008000">// type: 'TextQuoteSelector',</span>
+<span style="color: #008000">// exact: 'ipsum',</span>
+<span style="color: #008000">// prefix: 'Lorem ',</span>
+<span style="color: #008000">// suffix: ' dolor'</span>
+<span style="color: #008000">// }</span>
+</code></pre>
+ </dd>
+ </dl>
+ </div>
+ <h4 class="tsd-parameters-title">Parameters</h4>
+ <ul class="tsd-parameters">
+ <li>
+ <h5>range: <span class="tsd-signature-type">Range</span></h5>
+ <div class="tsd-comment tsd-typography">
+ <p>The <a href="https://developer.mozilla.org/en-US/docs/Web/API/Range" class="external">Range</a> whose text content will be described</p>
+ </div>
+ </li>
+ <li>
+ <h5><span class="tsd-flag ts-flagOptional">Optional</span> maybeScope: <span class="tsd-signature-type">Range</span></h5>
+ <div class="tsd-comment tsd-typography">
+ <p>A <a href="https://developer.mozilla.org/en-US/docs/Web/API/Range" class="external">Range</a> that serves as the ‘document’ for purposes of finding occurrences
+ and determining prefix and suffix. Defaults to span the full Document
+ containing the range.</p>
+ </div>
+ </li>
+ <li>
+ <h5><span class="tsd-flag ts-flagOptional">Optional</span> options: <a href="../interfaces/selector.describetextquoteoptions.html" class="tsd-signature-type" data-tsd-kind="Interface">DescribeTextQuoteOptions</a></h5>
+ <div class="tsd-comment tsd-typography">
+ <p>Options to fine-tune the function’s behaviour.</p>
+ </div>
+ </li>
+ </ul>
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/selector.textquoteselector.html" class="tsd-signature-type" data-tsd-kind="Interface">TextQuoteSelector</a><span class="tsd-signature-symbol">></span></h4>
+ <p>The selector unambiguously describing the <code>range</code> in <code>scope</code>.</p>
+ </li>
+ </ul>
+ </section>
+ <section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-module">
+ <a name="highlightrange" class="tsd-anchor"></a>
+ <h3>highlight<wbr>Range</h3>
+ <ul class="tsd-signatures tsd-kind-function tsd-parent-kind-module">
+ <li class="tsd-signature tsd-kind-icon">highlight<wbr>Range<span class="tsd-signature-symbol">(</span>range<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Range</span>, tagName<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span>, attributes<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string< [...]
+ </ul>
+ <ul class="tsd-descriptions">
+ <li class="tsd-description">
+ <aside class="tsd-sources">
+ </aside>
+ <div class="tsd-comment tsd-typography">
+ <div class="lead">
+ <p>Wrap each text node in a given DOM Range with a <code><mark></code> or other element.</p>
+ </div>
+ <p>If the Range start and/or ends within a Text node, that node will be split
+ in order to only wrap the contained part in the mark element.</p>
+ <p>The highlight can be removed again by calling the function that cleans up the
+ wrapper elements. Note that this might not perfectly restore the DOM to its
+ previous state: text nodes that were split are not merged again. One could
+ consider running <code>range.commonAncestorContainer.normalize()</code> afterwards to
+ join all adjacent text nodes.</p>
+ </div>
+ <h4 class="tsd-parameters-title">Parameters</h4>
+ <ul class="tsd-parameters">
+ <li>
+ <h5>range: <span class="tsd-signature-type">Range</span></h5>
+ <div class="tsd-comment tsd-typography">
+ <p>A DOM Range object. Note that as highlighting modifies the
+ DOM, the range may be unusable afterwards.</p>
+ </div>
+ </li>
+ <li>
+ <h5><span class="tsd-flag ts-flagOptional">Optional</span> tagName: <span class="tsd-signature-type">string</span></h5>
+ <div class="tsd-comment tsd-typography">
+ <p>The element used to wrap text nodes. Defaults to 'mark'.</p>
+ </div>
+ </li>
+ <li>
+ <h5><span class="tsd-flag ts-flagOptional">Optional</span> attributes: <span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></h5>
+ <div class="tsd-comment tsd-typography">
+ <p>An object defining any attributes to be set on the
+ wrapper elements</p>
+ </div>
+ </li>
+ </ul>
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span></h4>
+ <p>A function that removes the created highlight.</p>
+ <ul class="tsd-parameters">
+ <li class="tsd-parameter-signature">
+ <ul class="tsd-signatures tsd-kind-type-literal">
+ <li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
+ </ul>
+ <ul class="tsd-descriptions">
+ <li class="tsd-description">
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ </section>
+ <section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-module">
+ <a name="makecreaterangeselectormatcher" class="tsd-anchor"></a>
+ <h3>make<wbr>Create<wbr>Range<wbr>Selector<wbr>Matcher</h3>
+ <ul class="tsd-signatures tsd-kind-function tsd-parent-kind-module">
+ <li class="tsd-signature tsd-kind-icon">make<wbr>Create<wbr>Range<wbr>Selector<wbr>Matcher<span class="tsd-signature-symbol">(</span>createMatcher<span class="tsd-signature-symbol">: </span><T><span class="tsd-signature-symbol">(</span>selector<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><a href="../interfaces/selector.matcher.html" class="tsd-s [...]
+ </ul>
+ <ul class="tsd-descriptions">
+ <li class="tsd-description">
+ <aside class="tsd-sources">
+ </aside>
+ <div class="tsd-comment tsd-typography">
+ <div class="lead">
+ <p>Find the range(s) corresponding to the given <a href="../interfaces/selector.rangeselector.html">RangeSelector</a>.</p>
+ </div>
+ <p>As a RangeSelector itself nests two further selectors, one needs to pass a
+ <code>createMatcher</code> function that will be used to process those nested selectors.</p>
+ <p>The function is curried, taking first the <code>createMatcher</code> function, then the
+ selector, and then the scope.</p>
+ <p>As there may be multiple matches for a given selector, the matcher will
+ return an (async) generator that produces each match in the order they are
+ found in the text. If both its nested selectors produce multiple matches, the
+ RangeSelector matches each possible pair among those in which the order of
+ start and end are respected. <em>(Note this behaviour is a rather free
+ interpretation — the Web Annotation Data Model spec is silent about multiple
+ matches for RangeSelectors)</em></p>
+ <dl class="tsd-comment-tags">
+ <dt>example</dt>
+ <dd><p>By using a matcher for <a href="../interfaces/selector.textquoteselector.html">TextQuoteSelector</a>s, one
+ could create a matcher for text quotes with ellipsis to select a phrase
+ “ipsum … amet,”:</p>
+ <pre><code><span style="color: #0000FF">const</span><span style="color: #000000"> </span><span style="color: #0070C1">selector</span><span style="color: #000000"> = {</span>
+<span style="color: #000000"> </span><span style="color: #001080">type:</span><span style="color: #000000"> </span><span style="color: #A31515">'RangeSelector'</span><span style="color: #000000">,</span>
+<span style="color: #000000"> </span><span style="color: #001080">startSelector:</span><span style="color: #000000"> {</span>
+<span style="color: #000000"> </span><span style="color: #001080">type:</span><span style="color: #000000"> </span><span style="color: #A31515">'TextQuoteSelector'</span><span style="color: #000000">,</span>
+<span style="color: #000000"> </span><span style="color: #001080">exact:</span><span style="color: #000000"> </span><span style="color: #A31515">'ipsum '</span><span style="color: #000000">,</span>
+<span style="color: #000000"> },</span>
+<span style="color: #000000"> </span><span style="color: #001080">endSelector:</span><span style="color: #000000"> {</span>
+<span style="color: #000000"> </span><span style="color: #001080">type:</span><span style="color: #000000"> </span><span style="color: #A31515">'TextQuoteSelector'</span><span style="color: #000000">,</span>
+<span style="color: #000000"> </span><span style="color: #008000">// Because the end of a RangeSelector is *exclusive*, we’ll present the</span>
+<span style="color: #000000"> </span><span style="color: #008000">// latter part of the quote as the *prefix* so it will part of the match.</span>
+<span style="color: #000000"> </span><span style="color: #001080">exact:</span><span style="color: #000000"> </span><span style="color: #A31515">''</span><span style="color: #000000">,</span>
+<span style="color: #000000"> </span><span style="color: #001080">prefix:</span><span style="color: #000000"> </span><span style="color: #A31515">' amet,'</span><span style="color: #000000">,</span>
+<span style="color: #000000"> }</span>
+<span style="color: #000000">}}</span>
+<span style="color: #0000FF">const</span><span style="color: #000000"> </span><span style="color: #0070C1">createRangeSelectorMatcher</span><span style="color: #000000"> = </span><span style="color: #795E26">makeCreateRangeSelectorMatcher</span><span style="color: #000000">(</span><span style="color: #001080">createTextQuoteMatcher</span><span style="color: #000000">);</span>
+<span style="color: #0000FF">const</span><span style="color: #000000"> </span><span style="color: #0070C1">match</span><span style="color: #000000"> = </span><span style="color: #795E26">createRangeSelectorMatcher</span><span style="color: #000000">(</span><span style="color: #001080">selector</span><span style="color: #000000">)(</span><span style="color: #001080">document</span><span style="color: #000000">.</span><span style="color: #001080">body</span><span style="color: #000000">);</span>
+<span style="color: #001080">console</span><span style="color: #000000">.</span><span style="color: #795E26">log</span><span style="color: #000000">(</span><span style="color: #001080">match</span><span style="color: #000000">)</span>
+<span style="color: #008000">// ⇒ Range { startContainer: #text, startOffset: 6, endContainer: #text,</span>
+<span style="color: #008000">// endOffset: 27, … }</span>
+</code></pre>
+ </dd>
+ <dt>example</dt>
+ <dd><p>To support RangeSelectors that might themselves contain RangeSelectors,
+ recursion can be created by supplying the resulting matcher creator function
+ as the <code>createMatcher</code> parameter:</p>
+ <pre><code><span style="color: #0000FF">const</span><span style="color: #000000"> </span><span style="color: #795E26">createWhicheverMatcher</span><span style="color: #000000"> = (</span><span style="color: #001080">selector</span><span style="color: #000000">) </span><span style="color: #0000FF">=></span><span style="color: #000000"> {</span>
+<span style="color: #000000"> </span><span style="color: #0000FF">const</span><span style="color: #000000"> </span><span style="color: #0070C1">innerCreateMatcher</span><span style="color: #000000"> = {</span>
+<span style="color: #000000"> </span><span style="color: #001080">TextQuoteSelector:</span><span style="color: #000000"> </span><span style="color: #001080">createTextQuoteSelectorMatcher</span><span style="color: #000000">,</span>
+<span style="color: #000000"> </span><span style="color: #001080">TextPositionSelector:</span><span style="color: #000000"> </span><span style="color: #001080">createTextPositionSelectorMatcher</span><span style="color: #000000">,</span>
+<span style="color: #000000"> </span><span style="color: #001080">RangeSelector:</span><span style="color: #000000"> </span><span style="color: #795E26">makeCreateRangeSelectorMatcher</span><span style="color: #000000">(</span><span style="color: #001080">createWhicheverMatcher</span><span style="color: #000000">),</span>
+<span style="color: #000000"> }[</span><span style="color: #001080">selector</span><span style="color: #000000">.</span><span style="color: #001080">type</span><span style="color: #000000">];</span>
+<span style="color: #000000"> </span><span style="color: #AF00DB">return</span><span style="color: #000000"> </span><span style="color: #795E26">innerCreateMatcher</span><span style="color: #000000">(</span><span style="color: #001080">selector</span><span style="color: #000000">);</span>
+<span style="color: #000000">});</span>
+</code></pre>
+ </dd>
+ </dl>
+ </div>
+ <h4 class="tsd-parameters-title">Parameters</h4>
+ <ul class="tsd-parameters">
+ <li>
+ <h5>createMatcher: <T><span class="tsd-signature-symbol">(</span>selector<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><a href="../interfaces/selector.matcher.html" class="tsd-signature-type" data-tsd-kind="Interface">Matcher</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Range</span><span class="tsd-signatur [...]
+ <div class="tsd-comment tsd-typography">
+ <p>The function used to process nested selectors.</p>
+ </div>
+ <ul class="tsd-parameters">
+ <li class="tsd-parameter-signature">
+ <ul class="tsd-signatures tsd-kind-type-literal tsd-has-type-parameter">
+ <li class="tsd-signature tsd-kind-icon"><T><span class="tsd-signature-symbol">(</span>selector<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/selector.matcher.html" class="tsd-signature-type" data-tsd-kind="Interface">Matcher</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Range</span><span [...]
+ </ul>
+ <ul class="tsd-descriptions">
+ <li class="tsd-description">
+ <h4 class="tsd-type-parameters-title">Type parameters</h4>
+ <ul class="tsd-type-parameters">
+ <li>
+ <h4>T<span class="tsd-signature-symbol">: </span><a href="../interfaces/selector.selector-1.html" class="tsd-signature-type" data-tsd-kind="Interface">Selector</a></h4>
+ </li>
+ </ul>
+ <h4 class="tsd-parameters-title">Parameters</h4>
+ <ul class="tsd-parameters">
+ <li>
+ <h5>selector: <span class="tsd-signature-type">T</span></h5>
+ </li>
+ </ul>
+ <h4 class="tsd-returns-title">Returns <a href="../interfaces/selector.matcher.html" class="tsd-signature-type" data-tsd-kind="Interface">Matcher</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Range</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">Range</span><span class="tsd-signature-symbol">></span></h4>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">(</span>selector<span class="tsd-signature-symbol">: </span><a href="../interfaces/selector.rangeselector.html" class="tsd-signature-type" data-tsd-kind="Interface">RangeSelector</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><a href="../interfaces/selector.matcher.html" class="tsd-signature-type" data-tsd-kind="Interface">Matcher</a><span class="tsd-signature- [...]
+ <p>A function that, given a RangeSelector, creates a <a href="../interfaces/selector.matcher.html">Matcher</a> function that applies it to a given <a href="https://developer.mozilla.org/en-US/docs/Web/API/Range" class="external">Range</a></p>
+ <ul class="tsd-parameters">
+ <li class="tsd-parameter-signature">
+ <ul class="tsd-signatures tsd-kind-type-literal">
+ <li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>selector<span class="tsd-signature-symbol">: </span><a href="../interfaces/selector.rangeselector.html" class="tsd-signature-type" data-tsd-kind="Interface">RangeSelector</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/selector.matcher.html" class="tsd-signature-type" data-tsd-kind="Interface">Matcher</a><span class="tsd-signature- [...]
+ </ul>
+ <ul class="tsd-descriptions">
+ <li class="tsd-description">
+ <h4 class="tsd-parameters-title">Parameters</h4>
+ <ul class="tsd-parameters">
+ <li>
+ <h5>selector: <a href="../interfaces/selector.rangeselector.html" class="tsd-signature-type" data-tsd-kind="Interface">RangeSelector</a></h5>
+ </li>
+ </ul>
+ <h4 class="tsd-returns-title">Returns <a href="../interfaces/selector.matcher.html" class="tsd-signature-type" data-tsd-kind="Interface">Matcher</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Range</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">Range</span><span class="tsd-signature-symbol">></span></h4>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ </section>
+ </section>
+ </div>
+ <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
+ <nav class="tsd-navigation primary">
+ <ul>
+ <li class=" ">
+ <a href="../index.html">Exports</a>
+ </li>
+ <li class="current tsd-kind-module">
+ <a href="dom.html">dom</a>
+ </li>
+ <li class=" tsd-kind-module">
+ <a href="selector.html">selector</a>
+ </li>
+ </ul>
+ </nav>
+ <nav class="tsd-navigation secondary menu-sticky">
+ <ul class="before-current">
+ <li class=" tsd-kind-function tsd-parent-kind-module">
+ <a href="dom.html#createcssselectormatcher" class="tsd-kind-icon">create<wbr>Css<wbr>Selector<wbr>Matcher</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module">
+ <a href="dom.html#createtextpositionselectormatcher" class="tsd-kind-icon">create<wbr>Text<wbr>Position<wbr>Selector<wbr>Matcher</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module">
+ <a href="dom.html#createtextquoteselectormatcher" class="tsd-kind-icon">create<wbr>Text<wbr>Quote<wbr>Selector<wbr>Matcher</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module">
+ <a href="dom.html#describetextposition" class="tsd-kind-icon">describe<wbr>Text<wbr>Position</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module">
+ <a href="dom.html#describetextquote" class="tsd-kind-icon">describe<wbr>Text<wbr>Quote</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module">
+ <a href="dom.html#highlightrange" class="tsd-kind-icon">highlight<wbr>Range</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module">
+ <a href="dom.html#makecreaterangeselectormatcher" class="tsd-kind-icon">make<wbr>Create<wbr>Range<wbr>Selector<wbr>Matcher</a>
+ </li>
+ </ul>
+ </nav>
+ </div>
+ </div>
+ </main>
+ <script src="../assets/js/main.js"></script>
+</div>
+<footer class="ui bottom attached segment">
+ <div class="ui container">
+ <div class="ui equal height divided stackable grid">
+ <div class="four wide column">
+ <a class="ui left floated medium image" href="https://apache.org/" target="_blank">
+ <img src="https://incubator.apache.org/images/incubator_feather_egg_logo_sm.png" alt="logo of the Apache Incubator" />
+ </a>
+ <p>
+ <em>Copyright © 2016-2018 The Apache Software Foundation, Licensed under
+ the <a href="https://www.apache.org/licenses/LICENSE-2.0" rel="license external">Apache License, Version 2.0</a>.
+ |
+ <a rel="external" href="https://www.apache.org/foundation/policies/privacy">Privacy Policy</a>
+ </em>
+ </p>
+ </div>
+ <div class="nine wide column">
+ <p>
+ <em>Apache Annotator is an effort undergoing incubation at <a target="_blank" href="https://apache.org/">The Apache Software Foundation (ASF)</a> sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completen [...]
+ <p><em>Apache®, the names of Apache projects, and the feather logo are either <a rel="external" href="https://www.apache.org/foundation/marks/list/">registered trademarks or trademarks</a> of the Apache Software Foundation in the United States and/or other countries.</em></p>
+ </div>
+ <div class="three wide column">
+ <h4 class="header">The <abbr title="Apache Software Foundation">ASF</abbr></h4>
+ <div class="ui link list">
+ <a class="item" rel="external" href="https://incubator.apache.org/">Apache Incubator</a>
+ <a class="item" rel="external" href="https://www.apache.org/">About the ASF</a>
+ <a class="item" rel="external" href="https://www.apache.org/events/current-event">Events</a>
+ <a class="item" rel="external" href="https://www.apache.org/foundation/thanks.html">Thanks</a>
+ <a class="item" rel="external" href="https://www.apache.org/foundation/sponsorship.html">Become a Sponsor</a>
+ <a class="item" rel="external" href="https://www.apache.org/security/">Security</a>
+ <a class="item" rel="external" href="https://www.apache.org/licenses/">License</a>
+ </div>
+ </div>
+ </div>
+ </div>
+</footer>
+</body>
+</html>
\ No newline at end of file
diff --git a/content/docs/api/modules/selector.html b/content/docs/api/modules/selector.html
new file mode 100644
index 0000000..d2fde26
--- /dev/null
+++ b/content/docs/api/modules/selector.html
@@ -0,0 +1,655 @@
+<!DOCTYPE html>
+<html prefix="og: http://ogp.me/ns#">
+<head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
+ <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1">
+ <title>Apache Annotator (incubating)</title>
+ <meta property="og:title" content="Apache Annotator" />
+ <meta property="og:type" content="website" />
+ <meta property="og:url" content="https://annotator.apache.org/" />
+ <meta property="og:image:url" content="https://annotator.apache.org/images/annotator-logo.svg" />
+ <meta property="og:image:alt" content="Apache Annotator (incubating) logo" />
+ <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon.png">
+ <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32.png">
+ <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16.png">
+ <link rel="manifest" href="/site.webmanifest">
+ <link rel="mask-icon" href="/images/safari-pinned-tab.svg" color="#5bbad5">
+ <meta name="msapplication-TileColor" content="#da532c">
+ <meta name="theme-color" content="#ffffff">
+ <link rel="alternate" title="DOAP" href="doap.rdf" type="application/rdf+xml" />
+ <link rel="stylesheet" href="//semantic-ui.com/dist/semantic.min.css" />
+</head>
+<body>
+<div class="ui borderless stackable top attached main menu">
+ <div class="ui container">
+ <a class="item" href="/" style="color: rgba(0,0,0,.87);">
+ <img class="ui small image" src="/images/annotator-logo.svg" alt="Apache Annotator (incubating)" />
+ </a>
+ <div class="right menu">
+ <a class="item" href="/demo/"><span class="ui positive button">Demo!</span></a>
+ <a class="item" rel="external" href="https://www.npmjs.com/package/apache-annotator">NPM</a>
+ <a class="item" rel="external" href="https://github.com/apache?q=annotator#org-repositories">Code</a>
+ <a class="item" rel="external" href="https://github.com/apache/incubator-annotator/issues">Issues</a>
+ <a class="active item" href="/docs/">Docs</a>
+ <a class="item" rel="external" href="https://mail-archives.apache.org/mod_mbox/incubator-annotator-dev/">Mailing List</a>
+ </div>
+ </div>
+</div>
+<div class="ui basic segment container">
+ <link rel="stylesheet" href="../assets/css/main.css">
+ <script async src="../assets/js/search.js" id="search-script"></script>
+ <aside>
+ <style>
+ #tsd-search {
+ position: relative;
+ }
+ #tsd-search input {
+ border: 1px solid grey;
+ border-radius: 2px;
+ padding: 0.2em;
+ }
+ #tsd-search .results {
+ z-index: 1;
+ position: absolute;
+ }
+ </style>
+ <div id="tsd-search" data-index="../assets/js/search.json" data-base="..">
+ <div>
+ <label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
+ <input id="tsd-search-field" type="text" />
+ </div>
+ <ul class="results">
+ <li class="state loading">Preparing search index...</li>
+ <li class="state failure">The search index is not available</li>
+ </ul>
+ </div>
+ </aside>
+ <header style="margin: 2em 0;" id="typedoc-title">
+ <style>
+ #typedoc-title h1 {
+ margin-top: 0;
+ }
+ </style>
+ <ul class="tsd-breadcrumb">
+ <li>
+ <a href="../index.html">apache-annotator</a>
+ </li>
+ <li>
+ <a href="selector.html">selector</a>
+ </li>
+ </ul>
+ <h1>Module selector</h1>
+ </header>
+ <main>
+ <div class="row">
+ <div class="col-8 col-content">
+ <section class="tsd-panel-group tsd-index-group">
+ <h2>Index</h2>
+ <section class="tsd-panel tsd-index-panel">
+ <div class="tsd-index-content">
+ <section class="tsd-index-section ">
+ <h3>Interfaces</h3>
+ <ul class="tsd-index-list">
+ <li class="tsd-kind-interface tsd-parent-kind-module tsd-has-type-parameter"><a href="../interfaces/selector.chunk.html" class="tsd-kind-icon">Chunk</a></li>
+ <li class="tsd-kind-interface tsd-parent-kind-module tsd-has-type-parameter"><a href="../interfaces/selector.chunkrange.html" class="tsd-kind-icon">Chunk<wbr>Range</a></li>
+ <li class="tsd-kind-interface tsd-parent-kind-module tsd-has-type-parameter"><a href="../interfaces/selector.chunker.html" class="tsd-kind-icon">Chunker</a></li>
+ <li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/selector.cssselector.html" class="tsd-kind-icon">Css<wbr>Selector</a></li>
+ <li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/selector.describetextquoteoptions.html" class="tsd-kind-icon">Describe<wbr>Text<wbr>Quote<wbr>Options</a></li>
+ <li class="tsd-kind-interface tsd-parent-kind-module tsd-has-type-parameter"><a href="../interfaces/selector.matcher.html" class="tsd-kind-icon">Matcher</a></li>
+ <li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/selector.rangeselector.html" class="tsd-kind-icon">Range<wbr>Selector</a></li>
+ <li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/selector.selector-1.html" class="tsd-kind-icon">Selector</a></li>
+ <li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/selector.textpositionselector.html" class="tsd-kind-icon">Text<wbr>Position<wbr>Selector</a></li>
+ <li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/selector.textquoteselector.html" class="tsd-kind-icon">Text<wbr>Quote<wbr>Selector</a></li>
+ </ul>
+ </section>
+ <section class="tsd-index-section ">
+ <h3>Functions</h3>
+ <ul class="tsd-index-list">
+ <li class="tsd-kind-function tsd-parent-kind-module"><a href="selector.html#chunkequals" class="tsd-kind-icon">chunk<wbr>Equals</a></li>
+ <li class="tsd-kind-function tsd-parent-kind-module"><a href="selector.html#chunkrangeequals" class="tsd-kind-icon">chunk<wbr>Range<wbr>Equals</a></li>
+ <li class="tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter"><a href="selector.html#describetextposition" class="tsd-kind-icon">describe<wbr>Text<wbr>Position</a></li>
+ <li class="tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter"><a href="selector.html#describetextquote" class="tsd-kind-icon">describe<wbr>Text<wbr>Quote</a></li>
+ <li class="tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter"><a href="selector.html#makerefinable" class="tsd-kind-icon">make<wbr>Refinable</a></li>
+ <li class="tsd-kind-function tsd-parent-kind-module"><a href="selector.html#textpositionselectormatcher" class="tsd-kind-icon">text<wbr>Position<wbr>Selector<wbr>Matcher</a></li>
+ <li class="tsd-kind-function tsd-parent-kind-module"><a href="selector.html#textquoteselectormatcher" class="tsd-kind-icon">text<wbr>Quote<wbr>Selector<wbr>Matcher</a></li>
+ </ul>
+ </section>
+ </div>
+ </section>
+ </section>
+ <section class="tsd-panel-group tsd-member-group ">
+ <h2>Functions</h2>
+ <section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-module">
+ <a name="chunkequals" class="tsd-anchor"></a>
+ <h3>chunk<wbr>Equals</h3>
+ <ul class="tsd-signatures tsd-kind-function tsd-parent-kind-module">
+ <li class="tsd-signature tsd-kind-icon">chunk<wbr>Equals<span class="tsd-signature-symbol">(</span>chunk1<span class="tsd-signature-symbol">: </span><a href="../interfaces/selector.chunk.html" class="tsd-signature-type" data-tsd-kind="Interface">Chunk</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span>, chunk2<span class="tsd-signature-symbol">: </span><a href="../interfaces/selector.chunk.html" [...]
+ </ul>
+ <ul class="tsd-descriptions">
+ <li class="tsd-description">
+ <aside class="tsd-sources">
+ </aside>
+ <div class="tsd-comment tsd-typography">
+ <div class="lead">
+ <p>Test two <a href="../interfaces/selector.chunk.html">Chunk</a>s for equality.</p>
+ </div>
+ <p>Equality here means that both represent the same piece of text (i.e. at the
+ same position) in the file. It compares using the custom <a href="../interfaces/selector.chunk.html#equals">Chunk.equals</a>
+ method if either chunk defines one, and falls back to checking the objects’
+ identity (i.e. <code>chunk1 === chunk2</code>).</p>
+ </div>
+ <h4 class="tsd-parameters-title">Parameters</h4>
+ <ul class="tsd-parameters">
+ <li>
+ <h5>chunk1: <a href="../interfaces/selector.chunk.html" class="tsd-signature-type" data-tsd-kind="Interface">Chunk</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></h5>
+ </li>
+ <li>
+ <h5>chunk2: <a href="../interfaces/selector.chunk.html" class="tsd-signature-type" data-tsd-kind="Interface">Chunk</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></h5>
+ </li>
+ </ul>
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
+ </li>
+ </ul>
+ </section>
+ <section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-module">
+ <a name="chunkrangeequals" class="tsd-anchor"></a>
+ <h3>chunk<wbr>Range<wbr>Equals</h3>
+ <ul class="tsd-signatures tsd-kind-function tsd-parent-kind-module">
+ <li class="tsd-signature tsd-kind-icon">chunk<wbr>Range<wbr>Equals<span class="tsd-signature-symbol">(</span>range1<span class="tsd-signature-symbol">: </span><a href="../interfaces/selector.chunkrange.html" class="tsd-signature-type" data-tsd-kind="Interface">ChunkRange</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span>, range2<span class="tsd-signature-symbol">: </span><a href="../interfaces/ [...]
+ </ul>
+ <ul class="tsd-descriptions">
+ <li class="tsd-description">
+ <aside class="tsd-sources">
+ </aside>
+ <div class="tsd-comment tsd-typography">
+ <div class="lead">
+ <p>Test two <a href="../interfaces/selector.chunkrange.html">ChunkRange</a>s for equality.</p>
+ </div>
+ <p>Equality here means equality of each of their four properties (i.e.
+ <a href="../interfaces/selector.chunkrange.html#startchunk">startChunk</a>, <a href="../interfaces/selector.chunkrange.html#startindex">startIndex</a>,
+ <a href="../interfaces/selector.chunkrange.html#endchunk">endChunk</a>, and <a href="../interfaces/selector.chunkrange.html#endindex">endIndex</a>).
+ For the <code>startChunk</code>s and <code>endChunk</code>s, this function uses the custom
+ <a href="../interfaces/selector.chunk.html#equals">Chunk.equals</a> method if defined.</p>
+ <p>Note that if the start/end of one range points at the end of a chunk, and the
+ other to the start of a subsequent chunk, they are not considered equal, even
+ though semantically they may be representing the same range of characters. To
+ test for such semantic equivalence, ensure that both inputs are normalised:
+ typically this means the range is shrunk to its narrowest equivalent, and (if
+ it is empty) positioned at its first equivalent.</p>
+ </div>
+ <h4 class="tsd-parameters-title">Parameters</h4>
+ <ul class="tsd-parameters">
+ <li>
+ <h5>range1: <a href="../interfaces/selector.chunkrange.html" class="tsd-signature-type" data-tsd-kind="Interface">ChunkRange</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></h5>
+ </li>
+ <li>
+ <h5>range2: <a href="../interfaces/selector.chunkrange.html" class="tsd-signature-type" data-tsd-kind="Interface">ChunkRange</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></h5>
+ </li>
+ </ul>
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
+ </li>
+ </ul>
+ </section>
+ <section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter">
+ <a name="describetextposition" class="tsd-anchor"></a>
+ <h3>describe<wbr>Text<wbr>Position</h3>
+ <ul class="tsd-signatures tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter">
+ <li class="tsd-signature tsd-kind-icon">describe<wbr>Text<wbr>Position<TChunk><span class="tsd-signature-symbol">(</span>target<span class="tsd-signature-symbol">: </span><a href="../interfaces/selector.chunkrange.html" class="tsd-signature-type" data-tsd-kind="Interface">ChunkRange</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">TChunk</span><span class="tsd-signature-symbol">></span>, scope<span class="tsd-signature-symbol">: </span><a [...]
+ </ul>
+ <ul class="tsd-descriptions">
+ <li class="tsd-description">
+ <aside class="tsd-sources">
+ </aside>
+ <div class="tsd-comment tsd-typography">
+ <div class="lead">
+ <p>Returns a <a href="../interfaces/selector.textpositionselector.html">TextPositionSelector</a> that points at the target text within
+ the given scope.</p>
+ </div>
+ <p>This is an abstract implementation of the function’s logic, which expects a
+ generic <a href="../interfaces/selector.chunker.html">Chunker</a> to represent the text, and a <a href="../interfaces/selector.chunkrange.html">ChunkRange</a> to
+ represent the target.</p>
+ <p>See <a href="dom.html#describetextposition">dom.describeTextPosition</a> for a wrapper around
+ this implementation which applies it to the text of an HTML DOM.</p>
+ </div>
+ <h4 class="tsd-type-parameters-title">Type parameters</h4>
+ <ul class="tsd-type-parameters">
+ <li>
+ <h4>TChunk<span class="tsd-signature-symbol">: </span><a href="../interfaces/selector.chunk.html" class="tsd-signature-type" data-tsd-kind="Interface">Chunk</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">TChunk</span><span class="tsd-signature-symbol">></span></h4>
+ </li>
+ </ul>
+ <h4 class="tsd-parameters-title">Parameters</h4>
+ <ul class="tsd-parameters">
+ <li>
+ <h5>target: <a href="../interfaces/selector.chunkrange.html" class="tsd-signature-type" data-tsd-kind="Interface">ChunkRange</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">TChunk</span><span class="tsd-signature-symbol">></span></h5>
+ <div class="tsd-comment tsd-typography">
+ <p>The range of characters that the selector should describe</p>
+ </div>
+ </li>
+ <li>
+ <h5>scope: <a href="../interfaces/selector.chunker.html" class="tsd-signature-type" data-tsd-kind="Interface">Chunker</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">TChunk</span><span class="tsd-signature-symbol">></span></h5>
+ <div class="tsd-comment tsd-typography">
+ <p>The text, presented as a <a href="../interfaces/selector.chunker.html">Chunker</a>, which contains the
+ target range, and relative to which its position will be measured</p>
+ </div>
+ </li>
+ </ul>
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/selector.textpositionselector.html" class="tsd-signature-type" data-tsd-kind="Interface">TextPositionSelector</a><span class="tsd-signature-symbol">></span></h4>
+ <p>The <a href="../interfaces/selector.textpositionselector.html">TextPositionSelector</a> that describes <code>target</code> relative
+ to <code>scope</code></p>
+ </li>
+ </ul>
+ </section>
+ <section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter">
+ <a name="describetextquote" class="tsd-anchor"></a>
+ <h3>describe<wbr>Text<wbr>Quote</h3>
+ <ul class="tsd-signatures tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter">
+ <li class="tsd-signature tsd-kind-icon">describe<wbr>Text<wbr>Quote<TChunk><span class="tsd-signature-symbol">(</span>target<span class="tsd-signature-symbol">: </span><a href="../interfaces/selector.chunkrange.html" class="tsd-signature-type" data-tsd-kind="Interface">ChunkRange</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">TChunk</span><span class="tsd-signature-symbol">></span>, scope<span class="tsd-signature-symbol">: </span><span [...]
+ </ul>
+ <ul class="tsd-descriptions">
+ <li class="tsd-description">
+ <aside class="tsd-sources">
+ </aside>
+ <div class="tsd-comment tsd-typography">
+ <div class="lead">
+ <p>Returns a <a href="../interfaces/selector.textquoteselector.html">TextQuoteSelector</a> that points at the target quote in the
+ given text.</p>
+ </div>
+ <p>The selector will contain the exact target quote. In case this quote appears
+ multiple times in the text, sufficient context around the quote will be
+ included in the selector’s <code>prefix</code> and <code>suffix</code> attributes to disambiguate.
+ By default, more prefix and suffix are included than strictly required; both
+ in order to be robust against slight modifications, and in an attempt to not
+ end halfway a word (mainly for human readability).</p>
+ <p>This is an abstract implementation of the function’s logic, which expects a
+ generic <a href="../interfaces/selector.chunker.html">Chunker</a> to represent the text, and a <a href="../interfaces/selector.chunkrange.html">ChunkRange</a> to
+ represent the target.</p>
+ <p>See <a href="dom.html#describetextquote">dom.describeTextQuote</a> for a wrapper around this
+ implementation which applies it to the text of an HTML DOM.</p>
+ </div>
+ <h4 class="tsd-type-parameters-title">Type parameters</h4>
+ <ul class="tsd-type-parameters">
+ <li>
+ <h4>TChunk<span class="tsd-signature-symbol">: </span><a href="../interfaces/selector.chunk.html" class="tsd-signature-type" data-tsd-kind="Interface">Chunk</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">TChunk</span><span class="tsd-signature-symbol">></span></h4>
+ </li>
+ </ul>
+ <h4 class="tsd-parameters-title">Parameters</h4>
+ <ul class="tsd-parameters">
+ <li>
+ <h5>target: <a href="../interfaces/selector.chunkrange.html" class="tsd-signature-type" data-tsd-kind="Interface">ChunkRange</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">TChunk</span><span class="tsd-signature-symbol">></span></h5>
+ <div class="tsd-comment tsd-typography">
+ <p>The range of characters that the selector should describe</p>
+ </div>
+ </li>
+ <li>
+ <h5>scope: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><a href="../interfaces/selector.chunker.html" class="tsd-signature-type" data-tsd-kind="Interface">Chunker</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">TChunk</span><span class="tsd-signature-symbol">></span></h5>
+ <div class="tsd-comment tsd-typography">
+ <p>The text containing the target range; or, more accurately, a
+ function that produces <a href="../interfaces/selector.chunker.html">Chunker</a>s corresponding to this text.</p>
+ </div>
+ <ul class="tsd-parameters">
+ <li class="tsd-parameter-signature">
+ <ul class="tsd-signatures tsd-kind-type-literal">
+ <li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/selector.chunker.html" class="tsd-signature-type" data-tsd-kind="Interface">Chunker</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">TChunk</span><span class="tsd-signature-symbol">></span></li>
+ </ul>
+ <ul class="tsd-descriptions">
+ <li class="tsd-description">
+ <h4 class="tsd-returns-title">Returns <a href="../interfaces/selector.chunker.html" class="tsd-signature-type" data-tsd-kind="Interface">Chunker</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">TChunk</span><span class="tsd-signature-symbol">></span></h4>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ </li>
+ <li>
+ <h5><span class="tsd-flag ts-flagOptional">Optional</span> options: <a href="../interfaces/selector.describetextquoteoptions.html" class="tsd-signature-type" data-tsd-kind="Interface">DescribeTextQuoteOptions</a></h5>
+ <div class="tsd-comment tsd-typography">
+ <p>Options to fine-tune the function’s behaviour.</p>
+ </div>
+ </li>
+ </ul>
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/selector.textquoteselector.html" class="tsd-signature-type" data-tsd-kind="Interface">TextQuoteSelector</a><span class="tsd-signature-symbol">></span></h4>
+ <p>The <a href="../interfaces/selector.textquoteselector.html">TextQuoteSelector</a> that describes <code>target</code>.</p>
+ </li>
+ </ul>
+ </section>
+ <section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter">
+ <a name="makerefinable" class="tsd-anchor"></a>
+ <h3>make<wbr>Refinable</h3>
+ <ul class="tsd-signatures tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter">
+ <li class="tsd-signature tsd-kind-icon">make<wbr>Refinable<TSelector, TScope, TMatch><span class="tsd-signature-symbol">(</span>matcherCreator<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span>selector<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">TSelector</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><a href="../interfaces/selector.matcher.html" class="tsd- [...]
+ </ul>
+ <ul class="tsd-descriptions">
+ <li class="tsd-description">
+ <aside class="tsd-sources">
+ </aside>
+ <div class="tsd-comment tsd-typography">
+ <div class="lead">
+ <p>Wrap a matcher creation function so that it supports refinement of selection.</p>
+ </div>
+ <p>See <a href="https://www.w3.org/TR/2017/REC-annotation-model-20170223/#refinement-of-selection" class="external">§4.2.9 Refinement of Selection</a> in the Web Annotation Data Model.</p>
+ </div>
+ <h4 class="tsd-type-parameters-title">Type parameters</h4>
+ <ul class="tsd-type-parameters">
+ <li>
+ <h4>TSelector<span class="tsd-signature-symbol">: </span><a href="../interfaces/selector.selector-1.html" class="tsd-signature-type" data-tsd-kind="Interface">Selector</a><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-symbol">{ </span>refinedBy<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">TSelector</span><span class="tsd-signature-symbol"> }</span></h4>
+ </li>
+ <li>
+ <h4>TScope</h4>
+ </li>
+ <li>
+ <h4>TMatch</h4>
+ </li>
+ </ul>
+ <h4 class="tsd-parameters-title">Parameters</h4>
+ <ul class="tsd-parameters">
+ <li>
+ <h5>matcherCreator: <span class="tsd-signature-symbol">(</span>selector<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">TSelector</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><a href="../interfaces/selector.matcher.html" class="tsd-signature-type" data-tsd-kind="Interface">Matcher</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">TScope</span><span class="tsd-signatu [...]
+ <div class="tsd-comment tsd-typography">
+ <p>The function to wrap; it will be executed both for
+ <a href="../interfaces/selector.selector-1.html">Selector</a>s passed to the returned wrapper function, and for any
+ refining Selector those might contain (and any refinement of that, etc.).</p>
+ </div>
+ <ul class="tsd-parameters">
+ <li class="tsd-parameter-signature">
+ <ul class="tsd-signatures tsd-kind-type-literal">
+ <li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>selector<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">TSelector</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/selector.matcher.html" class="tsd-signature-type" data-tsd-kind="Interface">Matcher</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">TScope</span><span [...]
+ </ul>
+ <ul class="tsd-descriptions">
+ <li class="tsd-description">
+ <h4 class="tsd-parameters-title">Parameters</h4>
+ <ul class="tsd-parameters">
+ <li>
+ <h5>selector: <span class="tsd-signature-type">TSelector</span></h5>
+ </li>
+ </ul>
+ <h4 class="tsd-returns-title">Returns <a href="../interfaces/selector.matcher.html" class="tsd-signature-type" data-tsd-kind="Interface">Matcher</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">TScope</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">TMatch</span><span class="tsd-signature-symbol">></span></h4>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">(</span>selector<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">TSelector</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><a href="../interfaces/selector.matcher.html" class="tsd-signature-type" data-tsd-kind="Interface">Matcher</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">TScope</span><span cl [...]
+ <ul class="tsd-parameters">
+ <li class="tsd-parameter-signature">
+ <ul class="tsd-signatures tsd-kind-type-literal">
+ <li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>selector<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">TSelector</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/selector.matcher.html" class="tsd-signature-type" data-tsd-kind="Interface">Matcher</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">TScope</span><span cl [...]
+ </ul>
+ <ul class="tsd-descriptions">
+ <li class="tsd-description">
+ <h4 class="tsd-parameters-title">Parameters</h4>
+ <ul class="tsd-parameters">
+ <li>
+ <h5>selector: <span class="tsd-signature-type">TSelector</span></h5>
+ </li>
+ </ul>
+ <h4 class="tsd-returns-title">Returns <a href="../interfaces/selector.matcher.html" class="tsd-signature-type" data-tsd-kind="Interface">Matcher</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">TScope</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">TMatch</span><span class="tsd-signature-symbol">></span></h4>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ </section>
+ <section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-module">
+ <a name="textpositionselectormatcher" class="tsd-anchor"></a>
+ <h3>text<wbr>Position<wbr>Selector<wbr>Matcher</h3>
+ <ul class="tsd-signatures tsd-kind-function tsd-parent-kind-module">
+ <li class="tsd-signature tsd-kind-icon">text<wbr>Position<wbr>Selector<wbr>Matcher<span class="tsd-signature-symbol">(</span>selector<span class="tsd-signature-symbol">: </span><a href="../interfaces/selector.textpositionselector.html" class="tsd-signature-type" data-tsd-kind="Interface">TextPositionSelector</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><TChunk><span class="tsd-signature-symbol">(</span>scope<span class="tsd-signat [...]
+ </ul>
+ <ul class="tsd-descriptions">
+ <li class="tsd-description">
+ <aside class="tsd-sources">
+ </aside>
+ <div class="tsd-comment tsd-typography">
+ <div class="lead">
+ <p>Find the range of text corresponding to the given <a href="../interfaces/selector.textpositionselector.html">TextPositionSelector</a>.</p>
+ </div>
+ <p>This is an abstract implementation of the function’s logic, which expects a
+ generic <a href="../interfaces/selector.chunker.html">Chunker</a> to represent the text, and returns an (async)
+ generator producing a single <a href="../interfaces/selector.chunkrange.html">ChunkRange</a> to represent the match.
+ (unlike e.g. TextQuoteSelector, it cannot result in multiple matches).</p>
+ <p>See <a href="dom.html#createtextpositionselectormatcher">dom.createTextPositionSelectorMatcher</a> for a
+ wrapper around this implementation which applies it to the text of an HTML
+ DOM.</p>
+ <p>The function is curried, taking first the selector and then the text.</p>
+ <dl class="tsd-comment-tags">
+ <dt>example</dt>
+ <dd><pre><code><span style="color: #0000FF">const</span><span style="color: #000000"> </span><span style="color: #0070C1">selector</span><span style="color: #000000"> = { </span><span style="color: #001080">type:</span><span style="color: #000000"> </span><span style="color: #A31515">'TextPositionSelector'</span><span style="color: #000000">, </span><span style="color: #001080">start:</span><span style="color: #000000"> </span><span style="color: #098658">702</span><s [...]
+<span style="color: #0000FF">const</span><span style="color: #000000"> </span><span style="color: #0070C1">matches</span><span style="color: #000000"> = </span><span style="color: #795E26">textPositionSelectorMatcher</span><span style="color: #000000">(</span><span style="color: #001080">selector</span><span style="color: #000000">)(</span><span style="color: #001080">textChunks</span><span style="color: #000000">);</span>
+<span style="color: #0000FF">const</span><span style="color: #000000"> </span><span style="color: #0070C1">match</span><span style="color: #000000"> = (</span><span style="color: #AF00DB">await</span><span style="color: #000000"> </span><span style="color: #001080">matches</span><span style="color: #000000">.</span><span style="color: #795E26">next</span><span style="color: #000000">()).</span><span style="color: #001080">value</span><span style="color: #000000">;</span>
+<span style="color: #001080">console</span><span style="color: #000000">.</span><span style="color: #795E26">log</span><span style="color: #000000">(</span><span style="color: #001080">match</span><span style="color: #000000">);</span>
+<span style="color: #008000">// ⇒ { startChunk: { … }, startIndex: 64, endChunk: { … }, endIndex: 98 }</span>
+</code></pre>
+ </dd>
+ </dl>
+ </div>
+ <h4 class="tsd-parameters-title">Parameters</h4>
+ <ul class="tsd-parameters">
+ <li>
+ <h5>selector: <a href="../interfaces/selector.textpositionselector.html" class="tsd-signature-type" data-tsd-kind="Interface">TextPositionSelector</a></h5>
+ <div class="tsd-comment tsd-typography">
+ <p>the <a href="../interfaces/selector.textpositionselector.html">TextPositionSelector</a> to be anchored</p>
+ </div>
+ </li>
+ </ul>
+ <h4 class="tsd-returns-title">Returns <TChunk><span class="tsd-signature-symbol">(</span>scope<span class="tsd-signature-symbol">: </span><a href="../interfaces/selector.chunker.html" class="tsd-signature-type" data-tsd-kind="Interface">Chunker</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">TChunk</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span> [...]
+ <p>a <a href="../interfaces/selector.matcher.html">Matcher</a> function that applies <code>selector</code> to a given text</p>
+ <ul class="tsd-parameters">
+ <li class="tsd-parameter-signature">
+ <ul class="tsd-signatures tsd-kind-type-literal tsd-has-type-parameter">
+ <li class="tsd-signature tsd-kind-icon"><TChunk><span class="tsd-signature-symbol">(</span>scope<span class="tsd-signature-symbol">: </span><a href="../interfaces/selector.chunker.html" class="tsd-signature-type" data-tsd-kind="Interface">Chunker</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">TChunk</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span> [...]
+ </ul>
+ <ul class="tsd-descriptions">
+ <li class="tsd-description">
+ <h4 class="tsd-type-parameters-title">Type parameters</h4>
+ <ul class="tsd-type-parameters">
+ <li>
+ <h4>TChunk<span class="tsd-signature-symbol">: </span><a href="../interfaces/selector.chunk.html" class="tsd-signature-type" data-tsd-kind="Interface">Chunk</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></h4>
+ </li>
+ </ul>
+ <h4 class="tsd-parameters-title">Parameters</h4>
+ <ul class="tsd-parameters">
+ <li>
+ <h5>scope: <a href="../interfaces/selector.chunker.html" class="tsd-signature-type" data-tsd-kind="Interface">Chunker</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">TChunk</span><span class="tsd-signature-symbol">></span></h5>
+ </li>
+ </ul>
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">AsyncGenerator</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/selector.chunkrange.html" class="tsd-signature-type" data-tsd-kind="Interface">ChunkRange</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">TChunk</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">void</span> [...]
+ </li>
+ </ul>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ </section>
+ <section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-module">
+ <a name="textquoteselectormatcher" class="tsd-anchor"></a>
+ <h3>text<wbr>Quote<wbr>Selector<wbr>Matcher</h3>
+ <ul class="tsd-signatures tsd-kind-function tsd-parent-kind-module">
+ <li class="tsd-signature tsd-kind-icon">text<wbr>Quote<wbr>Selector<wbr>Matcher<span class="tsd-signature-symbol">(</span>selector<span class="tsd-signature-symbol">: </span><a href="../interfaces/selector.textquoteselector.html" class="tsd-signature-type" data-tsd-kind="Interface">TextQuoteSelector</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><TChunk><span class="tsd-signature-symbol">(</span>scope<span class="tsd-signature-symbo [...]
+ </ul>
+ <ul class="tsd-descriptions">
+ <li class="tsd-description">
+ <aside class="tsd-sources">
+ </aside>
+ <div class="tsd-comment tsd-typography">
+ <div class="lead">
+ <p>Find occurrences in a text matching the given <a href="../interfaces/selector.textquoteselector.html">TextQuoteSelector</a>.</p>
+ </div>
+ <p>This performs an exact search the selector’s quote (including prefix and
+ suffix) within the given text.</p>
+ <p>Note the match is based on strict character-by-character equivalence, i.e.
+ it is sensitive to whitespace, capitalisation, etc.</p>
+ <p>This is an abstract implementation of the function’s logic, which expects a
+ generic <a href="../interfaces/selector.chunker.html">Chunker</a> to represent the text, and returns an (async)
+ generator of <a href="../interfaces/selector.chunkrange.html">ChunkRange</a>s to represent the matches.</p>
+ <p>See <a href="dom.html#createtextquoteselectormatcher">dom.createTextQuoteSelectorMatcher</a> for a
+ wrapper around this implementation which applies it to the text of an HTML
+ DOM.</p>
+ <p>The function is curried, taking first the selector and then the text.</p>
+ <p>As there may be multiple matches for a given selector (when its prefix and
+ suffix attributes are not sufficient to disambiguate it), the matcher will
+ return an (async) generator that produces each match in the order they are
+ found in the text.</p>
+ <dl class="tsd-comment-tags">
+ <dt>example</dt>
+ <dd><pre><code><span style="color: #0000FF">const</span><span style="color: #000000"> </span><span style="color: #0070C1">selector</span><span style="color: #000000"> = { </span><span style="color: #001080">type:</span><span style="color: #000000"> </span><span style="color: #A31515">'TextQuoteSelector'</span><span style="color: #000000">, </span><span style="color: #001080">exact:</span><span style="color: #000000"> </span><span style="color: #A31515">'banana� [...]
+<span style="color: #0000FF">const</span><span style="color: #000000"> </span><span style="color: #0070C1">matches</span><span style="color: #000000"> = </span><span style="color: #795E26">textQuoteSelectorMatcher</span><span style="color: #000000">(</span><span style="color: #001080">selector</span><span style="color: #000000">)(</span><span style="color: #001080">textChunks</span><span style="color: #000000">);</span>
+<span style="color: #AF00DB">for</span><span style="color: #000000"> </span><span style="color: #AF00DB">await</span><span style="color: #000000"> (</span><span style="color: #001080">match</span><span style="color: #000000"> </span><span style="color: #0000FF">of</span><span style="color: #000000"> </span><span style="color: #001080">matches</span><span style="color: #000000">) </span><span style="color: #001080">console</span><span style="color: #000000">.</span><span style="color: #79 [...]
+<span style="color: #008000">// ⇒ { startChunk: { … }, startIndex: 187, endChunk: { … }, endIndex: 193 }</span>
+<span style="color: #008000">// ⇒ { startChunk: { … }, startIndex: 631, endChunk: { … }, endIndex: 637 }</span>
+</code></pre>
+ </dd>
+ </dl>
+ </div>
+ <h4 class="tsd-parameters-title">Parameters</h4>
+ <ul class="tsd-parameters">
+ <li>
+ <h5>selector: <a href="../interfaces/selector.textquoteselector.html" class="tsd-signature-type" data-tsd-kind="Interface">TextQuoteSelector</a></h5>
+ <div class="tsd-comment tsd-typography">
+ <p>The <a href="../interfaces/selector.textquoteselector.html">TextQuoteSelector</a> to be anchored</p>
+ </div>
+ </li>
+ </ul>
+ <h4 class="tsd-returns-title">Returns <TChunk><span class="tsd-signature-symbol">(</span>scope<span class="tsd-signature-symbol">: </span><a href="../interfaces/selector.chunker.html" class="tsd-signature-type" data-tsd-kind="Interface">Chunker</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">TChunk</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span> [...]
+ <p>a <a href="../interfaces/selector.matcher.html">Matcher</a> function that applies <code>selector</code> to a given text</p>
+ <ul class="tsd-parameters">
+ <li class="tsd-parameter-signature">
+ <ul class="tsd-signatures tsd-kind-type-literal tsd-has-type-parameter">
+ <li class="tsd-signature tsd-kind-icon"><TChunk><span class="tsd-signature-symbol">(</span>scope<span class="tsd-signature-symbol">: </span><a href="../interfaces/selector.chunker.html" class="tsd-signature-type" data-tsd-kind="Interface">Chunker</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">TChunk</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span> [...]
+ </ul>
+ <ul class="tsd-descriptions">
+ <li class="tsd-description">
+ <h4 class="tsd-type-parameters-title">Type parameters</h4>
+ <ul class="tsd-type-parameters">
+ <li>
+ <h4>TChunk<span class="tsd-signature-symbol">: </span><a href="../interfaces/selector.chunk.html" class="tsd-signature-type" data-tsd-kind="Interface">Chunk</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></h4>
+ </li>
+ </ul>
+ <h4 class="tsd-parameters-title">Parameters</h4>
+ <ul class="tsd-parameters">
+ <li>
+ <h5>scope: <a href="../interfaces/selector.chunker.html" class="tsd-signature-type" data-tsd-kind="Interface">Chunker</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">TChunk</span><span class="tsd-signature-symbol">></span></h5>
+ </li>
+ </ul>
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">AsyncGenerator</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/selector.chunkrange.html" class="tsd-signature-type" data-tsd-kind="Interface">ChunkRange</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">TChunk</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">void</span> [...]
+ </li>
+ </ul>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ </section>
+ </section>
+ </div>
+ <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
+ <nav class="tsd-navigation primary">
+ <ul>
+ <li class=" ">
+ <a href="../index.html">Exports</a>
+ </li>
+ <li class=" tsd-kind-module">
+ <a href="dom.html">dom</a>
+ </li>
+ <li class="current tsd-kind-module">
+ <a href="selector.html">selector</a>
+ </li>
+ </ul>
+ </nav>
+ <nav class="tsd-navigation secondary menu-sticky">
+ <ul class="before-current">
+ <li class=" tsd-kind-interface tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="../interfaces/selector.chunk.html" class="tsd-kind-icon">Chunk</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="../interfaces/selector.chunkrange.html" class="tsd-kind-icon">Chunk<wbr>Range</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="../interfaces/selector.chunker.html" class="tsd-kind-icon">Chunker</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module">
+ <a href="../interfaces/selector.cssselector.html" class="tsd-kind-icon">Css<wbr>Selector</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module">
+ <a href="../interfaces/selector.describetextquoteoptions.html" class="tsd-kind-icon">Describe<wbr>Text<wbr>Quote<wbr>Options</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="../interfaces/selector.matcher.html" class="tsd-kind-icon">Matcher</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module">
+ <a href="../interfaces/selector.rangeselector.html" class="tsd-kind-icon">Range<wbr>Selector</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module">
+ <a href="../interfaces/selector.selector-1.html" class="tsd-kind-icon">Selector</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module">
+ <a href="../interfaces/selector.textpositionselector.html" class="tsd-kind-icon">Text<wbr>Position<wbr>Selector</a>
+ </li>
+ <li class=" tsd-kind-interface tsd-parent-kind-module">
+ <a href="../interfaces/selector.textquoteselector.html" class="tsd-kind-icon">Text<wbr>Quote<wbr>Selector</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module">
+ <a href="selector.html#chunkequals" class="tsd-kind-icon">chunk<wbr>Equals</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module">
+ <a href="selector.html#chunkrangeequals" class="tsd-kind-icon">chunk<wbr>Range<wbr>Equals</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="selector.html#describetextposition" class="tsd-kind-icon">describe<wbr>Text<wbr>Position</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="selector.html#describetextquote" class="tsd-kind-icon">describe<wbr>Text<wbr>Quote</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter">
+ <a href="selector.html#makerefinable" class="tsd-kind-icon">make<wbr>Refinable</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module">
+ <a href="selector.html#textpositionselectormatcher" class="tsd-kind-icon">text<wbr>Position<wbr>Selector<wbr>Matcher</a>
+ </li>
+ <li class=" tsd-kind-function tsd-parent-kind-module">
+ <a href="selector.html#textquoteselectormatcher" class="tsd-kind-icon">text<wbr>Quote<wbr>Selector<wbr>Matcher</a>
+ </li>
+ </ul>
+ </nav>
+ </div>
+ </div>
+ </main>
+ <script src="../assets/js/main.js"></script>
+</div>
+<footer class="ui bottom attached segment">
+ <div class="ui container">
+ <div class="ui equal height divided stackable grid">
+ <div class="four wide column">
+ <a class="ui left floated medium image" href="https://apache.org/" target="_blank">
+ <img src="https://incubator.apache.org/images/incubator_feather_egg_logo_sm.png" alt="logo of the Apache Incubator" />
+ </a>
+ <p>
+ <em>Copyright © 2016-2018 The Apache Software Foundation, Licensed under
+ the <a href="https://www.apache.org/licenses/LICENSE-2.0" rel="license external">Apache License, Version 2.0</a>.
+ |
+ <a rel="external" href="https://www.apache.org/foundation/policies/privacy">Privacy Policy</a>
+ </em>
+ </p>
+ </div>
+ <div class="nine wide column">
+ <p>
+ <em>Apache Annotator is an effort undergoing incubation at <a target="_blank" href="https://apache.org/">The Apache Software Foundation (ASF)</a> sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completen [...]
+ <p><em>Apache®, the names of Apache projects, and the feather logo are either <a rel="external" href="https://www.apache.org/foundation/marks/list/">registered trademarks or trademarks</a> of the Apache Software Foundation in the United States and/or other countries.</em></p>
+ </div>
+ <div class="three wide column">
+ <h4 class="header">The <abbr title="Apache Software Foundation">ASF</abbr></h4>
+ <div class="ui link list">
+ <a class="item" rel="external" href="https://incubator.apache.org/">Apache Incubator</a>
+ <a class="item" rel="external" href="https://www.apache.org/">About the ASF</a>
+ <a class="item" rel="external" href="https://www.apache.org/events/current-event">Events</a>
+ <a class="item" rel="external" href="https://www.apache.org/foundation/thanks.html">Thanks</a>
+ <a class="item" rel="external" href="https://www.apache.org/foundation/sponsorship.html">Become a Sponsor</a>
+ <a class="item" rel="external" href="https://www.apache.org/security/">Security</a>
+ <a class="item" rel="external" href="https://www.apache.org/licenses/">License</a>
+ </div>
+ </div>
+ </div>
+ </div>
+</footer>
+</body>
+</html>
\ No newline at end of file
diff --git a/content/docs/getting-started/index.html b/content/docs/getting-started/index.html
index 8294fc5..fc5a842 100644
--- a/content/docs/getting-started/index.html
+++ b/content/docs/getting-started/index.html
@@ -26,69 +26,71 @@
</head>
<body>
- <div class="ui borderless stackable top attached main menu">
- <div class="ui container">
- <a class="item" href="/" style="color: rgba(0,0,0,.87);">
- <img class="ui small image" src="/images/annotator-logo.svg" alt="Apache Annotator (incubating)" />
- </a>
-
- <div class="right menu">
- <a class="item" href="/demo"><span class="ui positive button">Demo!</span></a>
- <a class="item" rel="external" href="https://www.npmjs.com/package/apache-annotator">NPM</a>
- <a class="item" rel="external" href="https://github.com/apache?q=annotator#org-repositories">Code</a>
- <a class="item" rel="external" href="https://github.com/apache/incubator-annotator/issues">Issues</a>
- <span class="active item"><strong>Docs</strong></span>
- <a class="item" rel="external" href="https://mail-archives.apache.org/mod_mbox/incubator-annotator-dev/">Mailing List</a>
+ <div class="ui borderless stackable top attached main menu">
+ <div class="ui container">
+ <a class="item" href="/" style="color: rgba(0,0,0,.87);">
+ <img class="ui small image" src="/images/annotator-logo.svg" alt="Apache Annotator (incubating)" />
+ </a>
+
+ <div class="right menu">
+ <a class="item" href="/demo/"><span class="ui positive button">Demo!</span></a>
+ <a class="item" rel="external" href="https://www.npmjs.com/package/apache-annotator">NPM</a>
+ <a class="item" rel="external" href="https://github.com/apache?q=annotator#org-repositories">Code</a>
+ <a class="item" rel="external" href="https://github.com/apache/incubator-annotator/issues">Issues</a>
+ <a class="active item" href="/docs/">Docs</a>
+ <a class="item" rel="external" href="https://mail-archives.apache.org/mod_mbox/incubator-annotator-dev/">Mailing List</a>
+ </div>
+ </div>
</div>
- </div>
- </div>
-
<div class="ui basic segment container">
- <div class="ui grid">
+ <div class="ui grid">
<div class="three wide column">
- <div class="ui vertical secondary menu"><div class="item"><a href="/docs/">Documentation</a></div><div class="active item"><a href="/docs/getting-started/">Getting Started</a></div></div>
+ <div class="ui vertical secondary menu">
+ <div class="active item"><a href="/docs/getting-started/">Getting Started</a></div>
+ <div class="item"><a href="/docs/">Documentation</a></div>
+ </div>
</div>
<div class="nine wide column">
<p>Please checkout the <a href="/demo/">demo</a> for now, but we'll explain it here soon.</p>
</div>
</div>
- </div>
- <footer class="ui bottom attached segment">
- <div class="ui container">
- <div class="ui equal height divided stackable grid">
- <div class="four wide column">
- <a class="ui left floated medium image" href="https://apache.org/" target="_blank">
- <img src="https://incubator.apache.org/images/incubator_feather_egg_logo_sm.png" alt="logo of the Apache Incubator" />
- </a>
- <p>
- <em>Copyright © 2016-2018 The Apache Software Foundation, Licensed under
- the <a href="https://www.apache.org/licenses/LICENSE-2.0" rel="license external">Apache License, Version 2.0</a>.
- |
- <a rel="external" href="https://www.apache.org/foundation/policies/privacy">Privacy Policy</a>
- </em>
- </p>
- </div>
- <div class="nine wide column">
- <p>
- <em>Apache Annotator is an effort undergoing incubation at <a target="_blank" href="https://apache.org/">The Apache Software Foundation (ASF)</a> sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the [...]
- <p><em>Apache®, the names of Apache projects, and the feather logo are either <a rel="external" href="https://www.apache.org/foundation/marks/list/">registered trademarks or trademarks</a> of the Apache Software Foundation in the United States and/or other countries.</em></p>
- </div>
- <div class="three wide column">
- <h4 class="header">The <abbr title="Apache Software Foundation">ASF</abbr></h4>
- <div class="ui link list">
- <a class="item" rel="external" href="https://incubator.apache.org/">Apache Incubator</a>
- <a class="item" rel="external" href="https://www.apache.org/">About the ASF</a>
- <a class="item" rel="external" href="https://www.apache.org/events/current-event">Events</a>
- <a class="item" rel="external" href="https://www.apache.org/foundation/thanks.html">Thanks</a>
- <a class="item" rel="external" href="https://www.apache.org/foundation/sponsorship.html">Become a Sponsor</a>
- <a class="item" rel="external" href="https://www.apache.org/security/">Security</a>
- <a class="item" rel="external" href="https://www.apache.org/licenses/">License</a>
+ </div>
+ <footer class="ui bottom attached segment">
+ <div class="ui container">
+ <div class="ui equal height divided stackable grid">
+ <div class="four wide column">
+ <a class="ui left floated medium image" href="https://apache.org/" target="_blank">
+ <img src="https://incubator.apache.org/images/incubator_feather_egg_logo_sm.png" alt="logo of the Apache Incubator" />
+ </a>
+ <p>
+ <em>Copyright © 2016-2018 The Apache Software Foundation, Licensed under
+ the <a href="https://www.apache.org/licenses/LICENSE-2.0" rel="license external">Apache License, Version 2.0</a>.
+ |
+ <a rel="external" href="https://www.apache.org/foundation/policies/privacy">Privacy Policy</a>
+ </em>
+ </p>
+ </div>
+ <div class="nine wide column">
+ <p>
+ <em>Apache Annotator is an effort undergoing incubation at <a target="_blank" href="https://apache.org/">The Apache Software Foundation (ASF)</a> sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of [...]
+ <p><em>Apache®, the names of Apache projects, and the feather logo are either <a rel="external" href="https://www.apache.org/foundation/marks/list/">registered trademarks or trademarks</a> of the Apache Software Foundation in the United States and/or other countries.</em></p>
+ </div>
+ <div class="three wide column">
+ <h4 class="header">The <abbr title="Apache Software Foundation">ASF</abbr></h4>
+ <div class="ui link list">
+ <a class="item" rel="external" href="https://incubator.apache.org/">Apache Incubator</a>
+ <a class="item" rel="external" href="https://www.apache.org/">About the ASF</a>
+ <a class="item" rel="external" href="https://www.apache.org/events/current-event">Events</a>
+ <a class="item" rel="external" href="https://www.apache.org/foundation/thanks.html">Thanks</a>
+ <a class="item" rel="external" href="https://www.apache.org/foundation/sponsorship.html">Become a Sponsor</a>
+ <a class="item" rel="external" href="https://www.apache.org/security/">Security</a>
+ <a class="item" rel="external" href="https://www.apache.org/licenses/">License</a>
+ </div>
+ </div>
</div>
</div>
- </div>
- </div>
- </footer>
+ </footer>
</body>
</html>
diff --git a/content/docs/index.html b/content/docs/index.html
index 0989eea..73ff931 100644
--- a/content/docs/index.html
+++ b/content/docs/index.html
@@ -26,27 +26,29 @@
</head>
<body>
- <div class="ui borderless stackable top attached main menu">
- <div class="ui container">
- <a class="item" href="/" style="color: rgba(0,0,0,.87);">
- <img class="ui small image" src="/images/annotator-logo.svg" alt="Apache Annotator (incubating)" />
- </a>
-
- <div class="right menu">
- <a class="item" href="/demo"><span class="ui positive button">Demo!</span></a>
- <a class="item" rel="external" href="https://www.npmjs.com/package/apache-annotator">NPM</a>
- <a class="item" rel="external" href="https://github.com/apache?q=annotator#org-repositories">Code</a>
- <a class="item" rel="external" href="https://github.com/apache/incubator-annotator/issues">Issues</a>
- <span class="active item"><strong>Docs</strong></span>
- <a class="item" rel="external" href="https://mail-archives.apache.org/mod_mbox/incubator-annotator-dev/">Mailing List</a>
+ <div class="ui borderless stackable top attached main menu">
+ <div class="ui container">
+ <a class="item" href="/" style="color: rgba(0,0,0,.87);">
+ <img class="ui small image" src="/images/annotator-logo.svg" alt="Apache Annotator (incubating)" />
+ </a>
+
+ <div class="right menu">
+ <a class="item" href="/demo/"><span class="ui positive button">Demo!</span></a>
+ <a class="item" rel="external" href="https://www.npmjs.com/package/apache-annotator">NPM</a>
+ <a class="item" rel="external" href="https://github.com/apache?q=annotator#org-repositories">Code</a>
+ <a class="item" rel="external" href="https://github.com/apache/incubator-annotator/issues">Issues</a>
+ <a class="active item" href="/docs/">Docs</a>
+ <a class="item" rel="external" href="https://mail-archives.apache.org/mod_mbox/incubator-annotator-dev/">Mailing List</a>
+ </div>
+ </div>
</div>
- </div>
- </div>
-
<div class="ui basic segment container">
- <div class="ui grid">
+ <div class="ui grid">
<div class="three wide column">
- <div class="ui vertical secondary menu"><div class="active item"><a href="/docs/">Documentation</a></div><div class="item"><a href="/docs/getting-started/">Getting Started</a></div></div>
+ <div class="ui vertical secondary menu">
+ <div class="item"><a href="/docs/getting-started/">Getting Started</a></div>
+ <div class="active item"><a href="/docs/">Documentation</a></div>
+ </div>
</div>
<div class="nine wide column">
<p>We're working on some initial documentation for getting started with Apache
@@ -55,42 +57,42 @@ Annotator, and to help folks understand how it fits in their projects.</p>
</div>
</div>
- </div>
- <footer class="ui bottom attached segment">
- <div class="ui container">
- <div class="ui equal height divided stackable grid">
- <div class="four wide column">
- <a class="ui left floated medium image" href="https://apache.org/" target="_blank">
- <img src="https://incubator.apache.org/images/incubator_feather_egg_logo_sm.png" alt="logo of the Apache Incubator" />
- </a>
- <p>
- <em>Copyright © 2016-2018 The Apache Software Foundation, Licensed under
- the <a href="https://www.apache.org/licenses/LICENSE-2.0" rel="license external">Apache License, Version 2.0</a>.
- |
- <a rel="external" href="https://www.apache.org/foundation/policies/privacy">Privacy Policy</a>
- </em>
- </p>
- </div>
- <div class="nine wide column">
- <p>
- <em>Apache Annotator is an effort undergoing incubation at <a target="_blank" href="https://apache.org/">The Apache Software Foundation (ASF)</a> sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the [...]
- <p><em>Apache®, the names of Apache projects, and the feather logo are either <a rel="external" href="https://www.apache.org/foundation/marks/list/">registered trademarks or trademarks</a> of the Apache Software Foundation in the United States and/or other countries.</em></p>
- </div>
- <div class="three wide column">
- <h4 class="header">The <abbr title="Apache Software Foundation">ASF</abbr></h4>
- <div class="ui link list">
- <a class="item" rel="external" href="https://incubator.apache.org/">Apache Incubator</a>
- <a class="item" rel="external" href="https://www.apache.org/">About the ASF</a>
- <a class="item" rel="external" href="https://www.apache.org/events/current-event">Events</a>
- <a class="item" rel="external" href="https://www.apache.org/foundation/thanks.html">Thanks</a>
- <a class="item" rel="external" href="https://www.apache.org/foundation/sponsorship.html">Become a Sponsor</a>
- <a class="item" rel="external" href="https://www.apache.org/security/">Security</a>
- <a class="item" rel="external" href="https://www.apache.org/licenses/">License</a>
+ </div>
+ <footer class="ui bottom attached segment">
+ <div class="ui container">
+ <div class="ui equal height divided stackable grid">
+ <div class="four wide column">
+ <a class="ui left floated medium image" href="https://apache.org/" target="_blank">
+ <img src="https://incubator.apache.org/images/incubator_feather_egg_logo_sm.png" alt="logo of the Apache Incubator" />
+ </a>
+ <p>
+ <em>Copyright © 2016-2018 The Apache Software Foundation, Licensed under
+ the <a href="https://www.apache.org/licenses/LICENSE-2.0" rel="license external">Apache License, Version 2.0</a>.
+ |
+ <a rel="external" href="https://www.apache.org/foundation/policies/privacy">Privacy Policy</a>
+ </em>
+ </p>
+ </div>
+ <div class="nine wide column">
+ <p>
+ <em>Apache Annotator is an effort undergoing incubation at <a target="_blank" href="https://apache.org/">The Apache Software Foundation (ASF)</a> sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of [...]
+ <p><em>Apache®, the names of Apache projects, and the feather logo are either <a rel="external" href="https://www.apache.org/foundation/marks/list/">registered trademarks or trademarks</a> of the Apache Software Foundation in the United States and/or other countries.</em></p>
+ </div>
+ <div class="three wide column">
+ <h4 class="header">The <abbr title="Apache Software Foundation">ASF</abbr></h4>
+ <div class="ui link list">
+ <a class="item" rel="external" href="https://incubator.apache.org/">Apache Incubator</a>
+ <a class="item" rel="external" href="https://www.apache.org/">About the ASF</a>
+ <a class="item" rel="external" href="https://www.apache.org/events/current-event">Events</a>
+ <a class="item" rel="external" href="https://www.apache.org/foundation/thanks.html">Thanks</a>
+ <a class="item" rel="external" href="https://www.apache.org/foundation/sponsorship.html">Become a Sponsor</a>
+ <a class="item" rel="external" href="https://www.apache.org/security/">Security</a>
+ <a class="item" rel="external" href="https://www.apache.org/licenses/">License</a>
+ </div>
+ </div>
</div>
</div>
- </div>
- </div>
- </footer>
+ </footer>
</body>
</html>
diff --git a/content/index.html b/content/index.html
index 53bfa65..d0730d9 100644
--- a/content/index.html
+++ b/content/index.html
@@ -26,25 +26,24 @@
</head>
<body>
- <div class="ui borderless stackable top attached main menu">
- <div class="ui container">
- <a class="item" href="/" style="color: rgba(0,0,0,.87);">
- <img class="ui small image" src="images/annotator-logo.svg" alt="Apache Annotator (incubating)" />
- </a>
-
- <div class="right menu">
- <a class="item" href="demo/"><span class="ui positive button">Demo!</span></a>
- <a class="item" rel="external" href="https://www.npmjs.com/package/apache-annotator">NPM</a>
- <a class="item" rel="external" href="https://github.com/apache?q=annotator#org-repositories">Code</a>
- <a class="item" rel="external" href="https://github.com/apache/incubator-annotator/issues">Issues</a>
- <a class="item" href="docs">Docs</a>
- <a class="item" rel="external" href="https://mail-archives.apache.org/mod_mbox/incubator-annotator-dev/">Mailing List</a>
+ <div class="ui borderless stackable top attached main menu">
+ <div class="ui container">
+ <a class="item" href="/" style="color: rgba(0,0,0,.87);">
+ <img class="ui small image" src="/images/annotator-logo.svg" alt="Apache Annotator (incubating)" />
+ </a>
+
+ <div class="right menu">
+ <a class="item" href="/demo/"><span class="ui positive button">Demo!</span></a>
+ <a class="item" rel="external" href="https://www.npmjs.com/package/apache-annotator">NPM</a>
+ <a class="item" rel="external" href="https://github.com/apache?q=annotator#org-repositories">Code</a>
+ <a class="item" rel="external" href="https://github.com/apache/incubator-annotator/issues">Issues</a>
+ <a class="item" href="/docs/">Docs</a>
+ <a class="item" rel="external" href="https://mail-archives.apache.org/mod_mbox/incubator-annotator-dev/">Mailing List</a>
+ </div>
+ </div>
</div>
- </div>
- </div>
-
<div class="ui basic segment container">
- <div class="ui divided grid">
+ <div class="ui divided grid">
<div class="ten wide column">
<h3>
Apache Annotator provides annotation enabling code for browsers, servers, and humans.
@@ -183,44 +182,43 @@
</div>
</div>
</div>
- </div>
+ <script async defer src="index.js"></script>
- <footer class="ui bottom attached segment">
- <div class="ui container">
- <div class="ui equal height divided stackable grid">
- <div class="four wide column">
- <a class="ui left floated medium image" href="https://apache.org/" target="_blank">
- <img src="https://incubator.apache.org/images/incubator_feather_egg_logo_sm.png" alt="logo of the Apache Incubator" />
- </a>
- <p>
- <em>Copyright © 2016-2018 The Apache Software Foundation, Licensed under
- the <a href="https://www.apache.org/licenses/LICENSE-2.0" rel="license external">Apache License, Version 2.0</a>.
- |
- <a rel="external" href="https://www.apache.org/foundation/policies/privacy">Privacy Policy</a>
- </em>
- </p>
- </div>
- <div class="nine wide column">
- <p>
- <em>Apache Annotator is an effort undergoing incubation at <a target="_blank" href="https://apache.org/">The Apache Software Foundation (ASF)</a> sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the [...]
- <p><em>Apache®, the names of Apache projects, and the feather logo are either <a rel="external" href="https://www.apache.org/foundation/marks/list/">registered trademarks or trademarks</a> of the Apache Software Foundation in the United States and/or other countries.</em></p>
- </div>
- <div class="three wide column">
- <h4 class="header">The <abbr title="Apache Software Foundation">ASF</abbr></h4>
- <div class="ui link list">
- <a class="item" rel="external" href="https://incubator.apache.org/">Apache Incubator</a>
- <a class="item" rel="external" href="https://www.apache.org/">About the ASF</a>
- <a class="item" rel="external" href="https://www.apache.org/events/current-event">Events</a>
- <a class="item" rel="external" href="https://www.apache.org/foundation/thanks.html">Thanks</a>
- <a class="item" rel="external" href="https://www.apache.org/foundation/sponsorship.html">Become a Sponsor</a>
- <a class="item" rel="external" href="https://www.apache.org/security/">Security</a>
- <a class="item" rel="external" href="https://www.apache.org/licenses/">License</a>
+ </div>
+ <footer class="ui bottom attached segment">
+ <div class="ui container">
+ <div class="ui equal height divided stackable grid">
+ <div class="four wide column">
+ <a class="ui left floated medium image" href="https://apache.org/" target="_blank">
+ <img src="https://incubator.apache.org/images/incubator_feather_egg_logo_sm.png" alt="logo of the Apache Incubator" />
+ </a>
+ <p>
+ <em>Copyright © 2016-2018 The Apache Software Foundation, Licensed under
+ the <a href="https://www.apache.org/licenses/LICENSE-2.0" rel="license external">Apache License, Version 2.0</a>.
+ |
+ <a rel="external" href="https://www.apache.org/foundation/policies/privacy">Privacy Policy</a>
+ </em>
+ </p>
+ </div>
+ <div class="nine wide column">
+ <p>
+ <em>Apache Annotator is an effort undergoing incubation at <a target="_blank" href="https://apache.org/">The Apache Software Foundation (ASF)</a> sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of [...]
+ <p><em>Apache®, the names of Apache projects, and the feather logo are either <a rel="external" href="https://www.apache.org/foundation/marks/list/">registered trademarks or trademarks</a> of the Apache Software Foundation in the United States and/or other countries.</em></p>
+ </div>
+ <div class="three wide column">
+ <h4 class="header">The <abbr title="Apache Software Foundation">ASF</abbr></h4>
+ <div class="ui link list">
+ <a class="item" rel="external" href="https://incubator.apache.org/">Apache Incubator</a>
+ <a class="item" rel="external" href="https://www.apache.org/">About the ASF</a>
+ <a class="item" rel="external" href="https://www.apache.org/events/current-event">Events</a>
+ <a class="item" rel="external" href="https://www.apache.org/foundation/thanks.html">Thanks</a>
+ <a class="item" rel="external" href="https://www.apache.org/foundation/sponsorship.html">Become a Sponsor</a>
+ <a class="item" rel="external" href="https://www.apache.org/security/">Security</a>
+ <a class="item" rel="external" href="https://www.apache.org/licenses/">License</a>
+ </div>
+ </div>
</div>
</div>
- </div>
- </div>
- </footer>
-
- <script async defer src="index.js"></script>
+ </footer>
</body>
</html>
[incubator-annotator-website] 01/06: Include TypeDoc-generated API
docs
Posted by ge...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
gerben pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-annotator-website.git
commit 6c6dcc297b6b4504ad327e753da4b27ebb1d3479
Author: Gerben <ge...@treora.com>
AuthorDate: Sat May 8 17:15:13 2021 +0200
Include TypeDoc-generated API docs
With our own theme
---
.eleventy.js | 2 ++
package.json | 6 +++---
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/.eleventy.js b/.eleventy.js
index 3b3fbaa..b5878db 100644
--- a/.eleventy.js
+++ b/.eleventy.js
@@ -8,6 +8,8 @@ module.exports = function(eleventyConfig) {
// '...relative to this file': '...relative to `dir.output` below'
// Built demo content gets copied in verbatim
'annotator/web/dist/': 'demo/',
+ // Built API docs for each module get copied in verbatim
+ 'annotator/docs': 'docs/api',
// also the images, css, and non-11ty js files
'src/.htaccess': '.htaccess',
'src/annotator-icon.svg': 'annotator-icon.svg',
diff --git a/package.json b/package.json
index e1f1ff4..6ce24f1 100644
--- a/package.json
+++ b/package.json
@@ -5,9 +5,9 @@
"private": true,
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
- "build": "yarn run build:demo && eleventy",
- "build:demo": "cd annotator && yarn run web:build",
- "serve": "yarn run build:demo && eleventy --serve",
+ "build": "yarn run build:submodule && eleventy",
+ "build:submodule": "cd annotator && yarn run web:build && yarn run docs --theme ../typedoc_theme",
+ "serve": "yarn run build:submodule && eleventy --serve",
"postinstall": "cd annotator && yarn install"
},
"repository": {
[incubator-annotator-website] 04/06: Remix TypeDoc into our
templates
Posted by ge...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
gerben pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-annotator-website.git
commit 69735230fcef1470a3b288b197a032d5ddb5a102
Author: Gerben <ge...@treora.com>
AuthorDate: Sat May 8 23:48:30 2021 +0200
Remix TypeDoc into our templates
Copying some pieces from: https://github.com/TypeStrong/typedoc-default-themes
---
src/_layouts/default.hbs | 7 ++++-
typedoc_theme/layouts/default.hbs | 38 ++++++++++++++++++++++++
typedoc_theme/partials/page_footer.hbs | 1 +
typedoc_theme/partials/page_header.hbs | 1 +
typedoc_theme/partials/typedoc_breadcrumbs.hbs | 12 ++++++++
typedoc_theme/partials/typedoc_h1_title.hbs | 21 +++++++++++++
typedoc_theme/partials/typedoc_main_content.hbs | 28 +++++++++++++++++
typedoc_theme/partials/typedoc_search_widget.hbs | 18 +++++++++++
typedoc_theme/partials/website_default.hbs | 1 +
9 files changed, 126 insertions(+), 1 deletion(-)
diff --git a/src/_layouts/default.hbs b/src/_layouts/default.hbs
index c139d2e..56c2f1b 100644
--- a/src/_layouts/default.hbs
+++ b/src/_layouts/default.hbs
@@ -28,7 +28,12 @@
<body>
{{> page_header}}
<div class="ui basic segment container">
- {{{content}}}
+ {{!-- This template is used both in our TypeDoc theme, and in 11ty --}}
+ {{!-- For TypeDoc, we get the content as a handlebars partial block --}}
+ {{#> @partial-block}}
+ {{!-- For 11ty, we get the content as a variable --}}
+ {{{content}}}
+ {{/@partial-block}}
</div>
{{> page_footer}}
</body>
diff --git a/typedoc_theme/layouts/default.hbs b/typedoc_theme/layouts/default.hbs
new file mode 100644
index 0000000..fd92fa5
--- /dev/null
+++ b/typedoc_theme/layouts/default.hbs
@@ -0,0 +1,38 @@
+{{#> website_default isDocs=true}}
+ <link rel="stylesheet" href="{{relativeURL "assets/css/main.css"}}">
+ <script async src="{{relativeURL "assets/js/search.js"}}" id="search-script"></script>
+
+ <aside>
+ <style>
+ #tsd-search {
+ position: relative;
+ }
+ #tsd-search input {
+ border: 1px solid grey;
+ border-radius: 2px;
+ padding: 0.2em;
+ }
+ #tsd-search .results {
+ z-index: 1;
+ position: absolute;
+ }
+ </style>
+ {{> typedoc_search_widget}}
+ </aside>
+
+ <header style="margin: 2em 0;" id="typedoc-title">
+ <style>
+ #typedoc-title h1 {
+ margin-top: 0;
+ }
+ </style>
+ {{> typedoc_breadcrumbs}}
+ {{> typedoc_h1_title}}
+ </header>
+
+ <main>
+ {{> typedoc_main_content }}
+ </main>
+
+ <script src="{{relativeURL "assets/js/main.js"}}"></script>
+{{/website_default}}
diff --git a/typedoc_theme/partials/page_footer.hbs b/typedoc_theme/partials/page_footer.hbs
new file mode 120000
index 0000000..96d50ef
--- /dev/null
+++ b/typedoc_theme/partials/page_footer.hbs
@@ -0,0 +1 @@
+../../src/_includes/page_footer.hbs
\ No newline at end of file
diff --git a/typedoc_theme/partials/page_header.hbs b/typedoc_theme/partials/page_header.hbs
new file mode 120000
index 0000000..9992a34
--- /dev/null
+++ b/typedoc_theme/partials/page_header.hbs
@@ -0,0 +1 @@
+../../src/_includes/page_header.hbs
\ No newline at end of file
diff --git a/typedoc_theme/partials/typedoc_breadcrumbs.hbs b/typedoc_theme/partials/typedoc_breadcrumbs.hbs
new file mode 100644
index 0000000..990efca
--- /dev/null
+++ b/typedoc_theme/partials/typedoc_breadcrumbs.hbs
@@ -0,0 +1,12 @@
+{{!--
+Copyright (c) 2015 Sebastian Lenz.
+Copyright (c) 2016-2020 TypeDoc Contributors.
+Licensed under the Apache License 2.0.
+From: https://github.com/TypeStrong/typedoc-default-themes
+--}}
+
+{{#if model.parent}} {{! Don't show breadcrumbs on main project page, it is the root page. !}}
+ <ul class="tsd-breadcrumb">
+ {{#with model}}{{> breadcrumb}}{{/with}}
+ </ul>
+{{/if}}
diff --git a/typedoc_theme/partials/typedoc_h1_title.hbs b/typedoc_theme/partials/typedoc_h1_title.hbs
new file mode 100644
index 0000000..bfa8832
--- /dev/null
+++ b/typedoc_theme/partials/typedoc_h1_title.hbs
@@ -0,0 +1,21 @@
+{{!--
+Copyright (c) 2015 Sebastian Lenz.
+Copyright (c) 2016-2020 TypeDoc Contributors.
+Licensed under the Apache License 2.0.
+From: https://github.com/TypeStrong/typedoc-default-themes
+--}}
+
+<h1>{{#compact}}
+ {{#ifCond model.kindString "!==" "Project" }}
+ {{model.kindString}}
+ {{/ifCond}}
+ {{model.name}}
+ {{#if model.typeParameters}}
+ <
+ {{#each model.typeParameters}}
+ {{#if @index}}, {{/if}}
+ {{name}}
+ {{/each}}
+ >
+ {{/if}}
+{{/compact}}</h1>
diff --git a/typedoc_theme/partials/typedoc_main_content.hbs b/typedoc_theme/partials/typedoc_main_content.hbs
new file mode 100644
index 0000000..e1199d2
--- /dev/null
+++ b/typedoc_theme/partials/typedoc_main_content.hbs
@@ -0,0 +1,28 @@
+{{!--
+Copyright (c) 2015 Sebastian Lenz.
+Copyright (c) 2016-2020 TypeDoc Contributors.
+Licensed under the Apache License 2.0.
+From: https://github.com/TypeStrong/typedoc-default-themes
+--}}
+<div class="row">
+ <div class="col-8 col-content">
+ {{{contents}}}
+ </div>
+ <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
+ <nav class="tsd-navigation primary">
+ <ul>
+ {{#each navigation.children}}
+ {{> navigation}}
+ {{/each}}
+ </ul>
+ </nav>
+
+ <nav class="tsd-navigation secondary menu-sticky">
+ <ul class="before-current">
+ {{#each toc.children}}
+ {{> toc.root}}
+ {{/each}}
+ </ul>
+ </nav>
+ </div>
+</div>
diff --git a/typedoc_theme/partials/typedoc_search_widget.hbs b/typedoc_theme/partials/typedoc_search_widget.hbs
new file mode 100644
index 0000000..59cebaa
--- /dev/null
+++ b/typedoc_theme/partials/typedoc_search_widget.hbs
@@ -0,0 +1,18 @@
+{{!--
+Copyright (c) 2015 Sebastian Lenz.
+Copyright (c) 2016-2020 TypeDoc Contributors.
+Licensed under the Apache License 2.0.
+From: https://github.com/TypeStrong/typedoc-default-themes
+--}}
+
+<div id="tsd-search" data-index="{{relativeURL "assets/js/search.json"}}" data-base="{{relativeURL "./"}}">
+ <div>
+ <label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
+ <input id="tsd-search-field" type="text" />
+ </div>
+
+ <ul class="results">
+ <li class="state loading">Preparing search index...</li>
+ <li class="state failure">The search index is not available</li>
+ </ul>
+</div>
diff --git a/typedoc_theme/partials/website_default.hbs b/typedoc_theme/partials/website_default.hbs
new file mode 120000
index 0000000..4c5a7fc
--- /dev/null
+++ b/typedoc_theme/partials/website_default.hbs
@@ -0,0 +1 @@
+../../src/_layouts/default.hbs
\ No newline at end of file